Only component high-level changes and component-specific functionality removal/changes mentioned there. For common attributes names changes follow the [Rich components standartized attributes| link ]
RichFaces 3.3.3 | RichFaces 4.x | Changes |
---|---|---|
modalPanel | popupPanel | Most noticeable - added with non-modal state. Other functionality kept.
|
paint2D | removed | and not going to be implemented in near time without requests and discussions. JSF 2 provides dynamic resources for that. |
panel | panel | not changed. |
panelBar panelBarItem | accordion/accordionItem | Added with server and ajax mode. In those modes fires server event(ItemChangeEvent) and provides listener(itemChangeListener attribute). Provides icons set for headers and set of customization attributes. Added with switching JS API. Panel Should be wrapped with form in server and ajax mode! |
panelMenu panelMenuGroup panelMenuItem | panelMenu panelMenuGroup panelMenuItem | Added with additional event for current selection change(ItemChangeEvent) and listener attribute(itemchangeListener at panelMenu) instead of ValueChangeListner. Added with bubling selection feature. Allows to send actions either for items selection or for groups selection. Added with switching/selections JS API. Menu Should be wrapped with form in server and ajax mode! Demos moved from panels to menus group. |
progressBar | progressBar | not changed. |
separator | removed | and not going to be there as has no server side functionality so could be replaced just with <hr/> with needed styles in markups. (or use composite component) |
simpleTogglePanel | collapsiblePanel | Added with header icons. actionEvent changed to custom PanelToggleEvent. Added with switching JS API. opened attribute which allows to manage state renaimed to expanded |
spacer | removed | and not going to be implemented because spacer.gif usafe does not satisfies the semantic markups principles. use composite component with custom spacer.gif image if need. |
tabPanel/tab | tabPanel/tab | replaced ValueChangeEvent and valueChangeListener attribute with custom ItemChangeEvent event and corresponding itemChangeListener attribute. Added with switching JS API. Panel should be wrapped with formin server and ajax mode! label atrtributes for tab renaimed to header and now the same as facet name. |
togglePanel facets toggleControl | togglePanel togglePanelItem toggleControl | replaced ValueChangeEvent and valueChangeListener attribute with custom ItemChangeEvent and corresponding itemChangeListener attribute. Added with switching JS API. Notice that new togglePanelItem component should be used instead of facets. So switch ordering attributes removed and just order of definition used on cycled switching. Also some attributes moved/duplicated at item level. Notice that toggleControl changed from component (link) to behavior. So could be attached to any component to be used for switching. Panel Should be wrapped with formin server and ajax mode! |
toolBar/toolBarGroup | toolbar/toolbarGroup | Notice name change! Not chaged functionaly. |
toolTip | tooltip | Notice name change! Not chaged functionaly. |
Comments