[jboss-user] [JBoss Seam] - Re: conversation per view-id [natural convesation scope]
koenhandekyn
do-not-reply at jboss.com
Mon Dec 10 09:24:56 EST 2007
i've posted a proposal in JIRA
in short i propose to match * in a page view expression to a variable, for example named page and than alow EL expression in other elements.
<page
view-id="/up/admin/*.xhtml"
conversation="%{page}Conversation"
>
..
an alternative which is maybe cleaner is to have a context variabele "view" which is a seam generated object representing the view.
<page
view-id="/up/admin/*.xhtml"
conversation="%{view.name}Conversation"
>
..
view having properties like
view.id (example /app/path/name.ext)
view.fullPath ( example http://host/app/path/name.ext)
view.name ( example name )
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111635#4111635
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111635
More information about the jboss-user
mailing list