Re: Accessing UIBean property value in action class

2008-09-27 Thread Gabriel Belingueres
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

Re: Accessing UIBean property value in action class

2008-09-27 Thread ManiKanta G
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

Re: Accessing UIBean property value in action class

2008-09-26 Thread Gabriel Belingueres
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

Re: Accessing UIBean property value in action class

2008-09-26 Thread ManiKanta G
> > 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

RE: Accessing UIBean property value in action class

2008-09-26 Thread Jishnu Viswanath
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