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
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 t
What do you mean by "access those attribute values in the requested
action class."?
By the time the custom tag is executing, the action class was already executed.
2008/9/26 ManiKanta G <[EMAIL PROTECTED]>:
>>
>> Put it as a hidden variable in the template??? Wont it work.
>>
>
> Thanks for the t
>
> Put it as a hidden variable in the template??? Wont it work.
>
Thanks for the tip. But it doesn't suites my requirement. I need to specify
that as the attribute. I've to access total of 6 attributes in the action
class.
Is there any other solution?
ManiKanta
Put it as a hidden variable in the template??? Wont it work.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: ManiKanta G [mailto:[EMA
5 matches
Mail list logo