Only component high-level changes and component-specific functionality removal/changes mentioned there. For common attributes names changes follow the Core components standartized attributes
RichFaces 3.3.3 | RichFaces 4.x | Changes |
---|---|---|
actionparam | param | listener attribute removed(functionality moved to separate a4j:actionListener tag).All the other functionality kept. |
form | removed | n/a |
AjaxListener | removed | |
region | region | Works in the same way as for 3.3.x. Attributes removed/not implemented:
|
support | ajax | Implemented as a behavior according to JSF specification. So
Important: consider that JSF 2 standartized behaviors mechanism and there are next points that should be remembered:
|
commandButton | commandButton | not changed. Notice that default value for execute is @form. (JSF 2 declares @this as default) |
commandLink | commandLink | see commandButton |
poll | poll | not changed |
push | push | Component completelly redesigned from architectural point of view. Now it JMS-based, COMET-based, uses atmosphere framework and more minor chagnes. So please follow announcement, component reference and checkout example. Do not try to perform blind migration for the component. |
queue | queue | in JSF 2 all the request going throug the same single queue. So tag functionality changed. It just allows bulk queue options definitions. |
attachQueue | allows to attach concrete ajax component/behavior to some queue by name redefining the parameters. Should be defined as a child tag for ajax component/behavior. | |
status | status | definition changed. Now do not attached to region. Attachment now:
error facet and event handlers added. |
jsFunction | jsFunction | works the same. |
log | log | works the same. popup attribute changed to mode (values popup/inline). |
mediaOutput | mediaOutput | works the same. |
outputPanel | outputPanel | works the same in general. none layout not implemented. |
repeat | repeat | works the same in general. partial updates rules changed, ajaxKeys not present anymore. so check reference! |
keepAlive | - | JSF 2 view scope should be used instead. |
- | actionListener | new tag. allow to register action listener for the component. Additionally to JSF standard tag allows to registering using simple method expression(should be evaluated the same as actionListner attribute of the component itself) using listener attribute. |
Comments