[jboss-user] [JBoss Seam] - Re: Wildcards for no-conversation-view-id

iradix do-not-reply at jboss.com
Thu Nov 9 13:48:47 EST 2006


I've got an idea for revamping pages.xml.  What if Page objects had a parent child relationship with each other, less specific matches parenting more specific children.  For attributes that can only have a single value (no-conversation-id for instance) if the value isn't defined directly on the child, it will call through to it's parent until a value is found.  For multiple values, like Page Parameters, the collections for each page in the hierarchy are combined, least specific first.

Actions would be treated like page parameters, and if I make this change I'd actually like add a nested  element as well so that more than one action can be defined per page.  I think this will be very useful for generic validations.

I also think an inheritFromParent flag would be useful in situations like the one I outlined above.  If you want to explicitly define the ordering of your page actions, you could just set it to true and redifine within the specific page.

What do you think?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984622



More information about the jboss-user mailing list