0 Replies Latest reply on Jun 25, 2007 7:38 AM by phantom

    a4j:include problem

    phantom

      Good day,

      I have one page with following code:

      <a4j:include viewId="#{mtmusermenu.viewId}" />
      


      That gives me ability to change inner page by changing the viewId property of mtmusermenu bean.
      All works correct until I drill down throw the commandLink in one inner page. After that if a try to change "viewId" the inner page is not changed.

      CommandLink line:

      <a4j:commandLink action="#{allcartypesfactory.select}" value="#{row.name}"/>
      


      corespondent record in pages.xml (I use Jboss Seam):

      <page view-id="/cartypes/cartypes.xhtml">
       <navigation from-action="#{allcartypesfactory.select}">
       <render view-id="/cartypes/editcartype.xhtml"/>
       </navigation>
       </page>
      

      As I know this record equals to this:

      <navigation-rule>
       <from-view-id>/cartypes/cartypes.xhtml</from-view-id>
       <navigation-case>
       <from-action>#{allcartypesfactory.select}</from-action>
       <to-view-id>/cartypes/editcartype.xhtml</to-view-id>
       </navigation-case>
       </navigation-rule>
      


      Where is a problem? Please help me!