[jboss-user] [JBoss Seam] - Natural conversation for wildcard view-id

jacob.orshalick do-not-reply at jboss.com
Fri Feb 8 12:38:27 EST 2008


Is there any interest in being able to specify a natural conversation for a wildcard view-id?  When a natural conversation spans a number of pages you currently have to explicitly state the named conversation for each view-id.  It would be nice to simply specify the natural conversation for a wildcard view-id.

For example, if my conversation spans the following:

<conversation name="Checkout"
  |                   parameter-name="cart"
  |                   parameter-value="#{cart.cartId}"/>
  | 
  | <page view-id="/checkout/checkout1.jsp" conversation="Checkout" />
  | <page view-id="/checkout/checkout2.jsp" conversation="Checkout" />
  | <page view-id="/checkout/checkout3.jsp" conversation="Checkout" />
  | <page view-id="/checkout/confirm.jsp" conversation="Checkout" />

Instead I would prefer to use:

<page view-id="/checkout/*" conversation="Checkout" />

This is also especially useful for free navigation situations within the conversation that do not have navigation rules (i.e. the conversation spans many pages but can access any page at any time) to avoid specifying each view-id in pages.xml.

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

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



More information about the jboss-user mailing list