1 Reply Latest reply on Jan 8, 2008 6:30 AM by Pete Muir

    Why must the ID  begin with /

    Bas van den Berg Newbie

      I have a system with a frontend and a backend, which I separate by two different folders under the view folder, namely

      view/frontend
      view/admin


      Because I have to include the / sign as first character in a s:link I cannot use relative paths.
      For example I cannot use:
      <s:link view="login.xhtml" value="Login"/>

      but must use
      <s:link view="/Admin/login.xhtml" value="Login"/>

      This will be a problem when we want to change Admin into something else.

      Any insight would be helpfull.

      Bas