If I understood it correctly, inside the custom tag you can evaluate
an expression like "getRandomString(#attr.lengthAttr)" against the
ValueStack that will call the getRandomString(int) method on your
action, then you can render that returned string.

2008/9/27 ManiKanta G <[EMAIL PROTECTED]>:
> I've a custom tag's attribute. Based on that value, an action class need to
> generate a random string (this string length will be specified as the custom
> tag' attribute) which will be put in the cookie.
>
> So as I need to generate the random string based on the length specified for
> the attribute, is there any way to get that value in the action class?
>
> ManiKanta
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to