0 Replies Latest reply on Mar 2, 2007 11:32 PM by enazareno

    Expression support in page.xml

    enazareno

      Hi,

      I have defined a named edit.page.xml with the ff. content

       <page>
       <navigation from-action="#{userService.update}">
       <redirect view-id="/secured/user/list.xhtml"/>
       </navigation>
       </page>
      


      However sometimes I may need to change the directory which breaks my redirect view-id. Is there a way we can express the first portion of the view-id like

      /#{rootdir}/user/list.xhtml.
      .

      If yes, what is the best way to do this? Does this support a relative path? (It requires one to have "/" ). Store the property in a resource bundle? Define in components.xml or is there another way?

      I'm barely new to Seam. I have read the docs but I dont seem to find this topic there. Seam looks very promising though.

      Regards,

      Elmo