I have the following JSF binding code working for a modal panel wizard . A Factory does the job succesfully. Hope it helps
The Seam bean component
@Factory(value="featureValueHome_ajax4jsf_Include", autoCreate=true) public Include createInclude() { if (include == null) { include = new Include(); } return include; } public Include getInclude() { return include; } public void setInclude(Include include) { this.include = include; }
The View
<rich:modalPanel id="#{MP_ID}" autosized="false" moveable="true" height="400" width="400"> <a:include ajaxRendered="true" viewId="/tickler/task/wizard/TaskAttributeEditStepOne.xhtml" binding="#{featureValueHome_ajax4jsf_Include}" /> </rich:modalPanel>
first, you need to use event context for bindings when using seam. that being said, you need to ask this in the richfaces forum. did you check to make sure you imported the correct Include class?