I started porting over the existing URLTag to work in WebWork 2 and ran into
a slight problem. The URLTag supports using the "param" tag within it. The
current implementation of ParamTag uses the ValueStack to set the parameter
on the parent tag. If the ValueStack is null then no parameters get set on
the parent tag. This can occur whenever the "param" tag is used outside of
an action execution. The url/param tags should work correctly when accessing
a Jsp directly (for example on a page with a form on it).

I have attached a patch that will add the user specified name-value pair
parameter to the parent action when the ValueStack is null.

- Brock

Attachment: ParamTag.patch
Description: Binary data

Reply via email to