[
http://jira.jboss.com/jira/browse/JBSEAM-2432?page=all ]
Jacob Orshalick updated JBSEAM-2432:
------------------------------------
Attachment: JBSEAM-2432-v1.patch
Patch for supporting wildcard description. Follows the same approach as the current check
for description to maintain consistency.
Note: Performance could be improved by a second option where the getDescription(viewId)
is called by the FacesManager then a null check is performed on the retrieved description.
This avoids 2 traversals of the page stack if a description is found. If performance is
preferred over consistency, I would be happy to provide the alternate version of the patch
as well.
Wildcard view-id descriptions for conversation switcher
-------------------------------------------------------
Key: JBSEAM-2432
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2432
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.0.1.CR1
Reporter: Jacob Orshalick
Priority: Minor
Attachments: JBSEAM-2432-v1.patch
I have recently run into a requirement where it would be nice to have descriptions
applied to wildcard view-ids. For example, if I have the following:
Code:
...
<page view-id="/section/*" conversation-required="true">
<description>Section 1</description>
...
</page>
...
Section 1 would be the description for all pages in /section/* unless specified otherwise
in a higher precedence page definition.
--
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