1 2 Previous Next 16 Replies Latest reply on Jan 21, 2010 8:29 PM by nathandennis Go to original post
      • 15. Re: Any Seam example using JSF binding attribute?
        rogermorituesta.rogermori.yahoo.com

        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>
        


        • 16. Re: Any Seam example using JSF binding attribute?
          nathandennis

          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?

          1 2 Previous Next