fragment attribute in pages.xml
-------------------------------
Key: JBSEAM-2749
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2749
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 2.1.0.A1
Reporter: Martin Sznapka
Priority: Minor
What about to have fragment identifier in pages.xml, I can imagine something like smart
help page which gives you the right chapter according to page where you are:
<page view-id="/*">
<rule if-outcome="help">
<redirect view-id="/help.xhtml"/>
</rule>
</page>
<page view-id="/applicationOne/*">
<rule if-outcome="help">
<redirect view-id="/help.xhtml" fragment="chapOne"/>
</rule>
</page>
<page view-id="/applicationTwo/*">
<rule if-outcome="help">
<redirect view-id="/help.xhtml" fragment="chapTwo"/>
</rule>
</page>
So the result link in the second application will be like:
/myApp/help.xhtml#chapTwo
It will be much easier than dynamically generate s:link's fragment attribute for each
xhtml page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira