Powered By Blogger

Friday, February 4, 2011

Refreshing the richlist

If I want to reset the data then use the binding parameter.
In the startworkflowwizard,you can see one component by name packageRichnamelist,which is getting nullified.
Since its been binded to the richlist,whenever you make the value of this
component null then that portion will get refreshed.

Ex:

JSP code :
binding="#{WizardManager.bean.packageItemsRichList}"
styleClass="recordSet" headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow"
altRowStyleClass="recordSetRowAlt" width="100%" pageSize="10"
initialSortColumn="name" initialSortDescending="true">


Java code :

// reset the rich list so it re-renders
this.packageItemsRichList.setValue(null);


Refer to the class StartWorkflowWizard

No comments:

Post a Comment