[jboss-user] [JBoss Seam] - Why must the ID begin with /

bvdberg do-not-reply at jboss.com
Tue Jan 8 06:23:07 EST 2008


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

anonymous wrote : 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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117856#4117856

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117856



More information about the jboss-user mailing list