Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-24 Thread ManiKanta G
Hi, Can I implement my tag logic in the UIBean or AbstractUITag sub classes? And as UIBean subclass will be provided with request and response references, I think I can implement my logic here. I mean is this a best practice to use these classes like this? ManiKanta

Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-24 Thread Kurniawan Kuga
hai On Tue, Nov 25, 2008 at 2:51 PM, ManiKanta G [EMAIL PROTECTED] wrote: Hi, Can I implement my tag logic in the UIBean or AbstractUITag sub classes? And as UIBean subclass will be provided with request and response references, I think I can implement my logic here. I mean is this a

Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-23 Thread ManiKanta G
Hi, I think you have it backwards, or I don't understand what you are trying to do. Depending on the value given for an attribute (say length) of my custom tag, I need to populate that many number of options in the select box (my custom tag will have one select box and few other controls).

Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-22 Thread Musachy Barroso
I think you have it backwards, or I don't understand what you are trying to do. Request-Struts2 Filter(etc,etc)-Action-View(ftl,jsp...)-Tags If you need to call an action from the view, then you can use the action tag. On Sat, Nov 22, 2008 at 12:17 AM, ManiKanta G [EMAIL PROTECTED] wrote: Hi,

S2 custom tag - Passing custom tag attribute into action class

2008-11-21 Thread ManiKanta G
Hi, I m struck with an issue with custom tag. And its kind of important for my project completion. I wrote a custom tag in S2 and of course related ftl file. It is just like wrapper around a select box and few other controls. And I need to populate the select box according to the attribute