The ViewHandler getActionUrl() is doing it too, so the prefix is added
twice.. see point 7.5.2 of JSF 1.1 specs:
The getActionURL() method must fulfill the following responsibilities:
[...] If prefix mapping (such as /faces/*) is used for FacesServlet,
prepend the context path of the current
Mmm... when I use the source attribute of frame tag, it automatically
prefix the link with the current webapp context. Example
source=/faces/page.jspx - /webapp/faces/page.jspx.
getActionUrl again does this, but only if using a mapping like /faces/
(by JSF spec 1.1).
So using afh:frame
I get the point, thanks Adam. Probably it would be fine to have
af:frame do it automatically, at least with an option.
Cosma
2006/6/15, Adam Winer [EMAIL PROTECTED]:
Cosma,
What you'll need to do is change:
source=/faces/people/edit/top.jspx
to
source=#{...anELExpression..}
... where the