It'd be kind-of neat if there were a utility that'd take an action
bean, possibly populated with parameter values, and produce a URL
string that would be interpreted by the action resolver such that it'd
populate the action bean the same way.

In other words, if I had a bean class with properties "showSize" set
to "11" and "clownStyle" set to "classic", with a @UrlBinding
annotation of "/clownCheck/{shoeSize}", then this utility would return

    /clownCheck/11?clownStyle=classic

It'd be nice because it'd keep the relationship between the beean and
its URL details in one place - other code needing to create a URL to
invoke the bean wouldn't have to know the binding.

There's nothing that does that, right? I know I can get the binding
for a bean class from the resolver, but it's based on the bean class
and not a bean instance, right?


-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to