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:

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

Currently, the FacesManager asks the Page instance directly for a description 
rather than looking at the page stack (as the login-required, 
no-conversation-view-id, etc does).  This means that every view-id under 
/section/* must have a description (even if they all have the same page 
definition).  The behavior I require can be accomplished by accessing protected 
methods (which is certainly not desirable for backwards compatibility), but it 
is possible.

Would there be interest in having this supported directly by Seam?  If so, I 
would be happy to provide a JIRA issue with the patch.  Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115726
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to