[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1858) Ability to avoid view path repetition in pages.xml

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 11 10:15:59 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-1858?page=all ]

Pete Muir updated JBSEAM-1858:
------------------------------

    Component/s: JSF Integration

> Ability to avoid view path repetition in pages.xml
> --------------------------------------------------
>
>                 Key: JBSEAM-1858
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1858
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Integration
>            Reporter: Matt Drees
>            Priority: Minor
>
> It would be fantastic if instead of this:
> <page view-id="/admin/modules/additionalExpenses/registrantTypeSettings.xhtml">
>    <navigation from-action="#{additionalExpensesAdminManager.newExpense}">
>       <redirect view-id="/admin/modules/additionalExpenses/editExpense.xhtml"/>
>    </navigation>
>    <navigation from-action="#{additionalExpensesAdminManager.newSectionHeader}">
>       <redirect view-id="/admin/modules/additionalExpenses/editSectionHeader.xhtml"/>
>    </navigation>
> </page>
> I could do this:
> <pages view-scope="/admin/modules/additionalExpenses/">
>    <page view-id="registrantTypeSettings.xhtml">
>       <navigation from-action="#{additionalExpensesAdminManager.newExpense}">
>          <redirect view-id="editExpense.xhtml"/>
>       </navigation>
>       <navigation from-action="#{additionalExpensesAdminManager.newSectionHeader}">
>          <redirect view-id="editSectionHeader.xhtml"/>
>       </navigation>
>    </page>
> </pages>
> It would be best if <pages> could be nested in other <pages>, but there are probably some other ramifications of that, so maybe it'd be better to introduce another element.  Maybe <view-scope> or something.

-- 
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

        



More information about the seam-issues mailing list