3 Replies Latest reply on Jan 1, 2011 2:46 PM by nbelaevski

    some of rich tags not supported in richfaces4?

    senthilnz

      Hi,

       

      I'm doing a migration from richfaces 3.3.3 to richfaces 4, where I find the below tags are not supported/available in richfaces4.

       

      rich:simpleToggelPanel

      rich:messages

      rich:contextMenu

      rich:modalPanel

      a4j:actionParam

       

      Is that true the above tags are not supported? also I extracted the richfaces-components-ui-4.0.0-SNAPSHOT.jar and searched for the above tags in rich.taglib.xml and a4j.taglib.xml files but didn't find any of the above tags in it.

       

      Thanks for your help!!

       

      Regards,

      SK

        • 1. Re: some of rich tags not supported in richfaces4?
          nbelaevski

          Hi,

           

          simpleTogglePanel -> collapsiblePanel

          messages -> message component will be available in M5, not sure about messages

          contextMenu -> not implemented yet

          modalPanel -> popupPanel

          actionParam -> a4j:param

          1 of 1 people found this helpful
          • 2. Re: some of rich tags not supported in richfaces4?
            senthilnz

            Hi Nick,

             

            Thank you very much for that!! that really helped me.

             

            There is a bit smaller issue I face there, while actionparam to param I get the below exception,


            Servlet.service() for servlet Faces Servlet threw exception: javax.el.ELException: /common/addProgram.xhtml @18,76 binding="#{manager.instanceId}": Cannot convert org.richfaces.component.UIParameter@e8be66 of type class org.richfaces.component.UIParameter to class java.lang.Integer

             

            The code usage is,
                    <a4j:commandLink action="#{manager.add()}" value="Add Program}">
                        <!--<a4j:actionparam value="#{parentId}" assignTo="#{manager.instanceId}" />-->
                        <a4j:param value="#{parentId}" binding="#{manager.instanceId}" />
                    </a4j:commandLink>

             

            Is the above usage is correct or am I doing something wrong here?

             

            also is there any equivalent tag for rich:spacer in richfaces 4? and for contextMenu can I make use of any other tag?

             

            Thank you very much for the help!!

             

            Regards,

            Senthil

            • 3. Re: some of rich tags not supported in richfaces4?
              nbelaevski

              Senthil,

               

              'binding' is not the equivalent of assignTo; assignTo is to be used. Use CSS styling instead of rich:spacer. I cannot suggest something as replacement for context menu from the top of my head... maybe check some jQuery plugins?