Re: dinamic name for textfield

2011-06-21 Thread Chris Pratt
According to what you showed, the type attribute is taken from the page parameters at run time, which is what I showed, if you don't want to evaluate the myField portion yet, try: (*Chris*) On Mon, Jun 20, 2011 at 1:25 PM, k3v1n wrote: > Thanks for reply. > > but "Type" field is evaluated t

Re: dinamic name for textfield

2011-06-21 Thread k3v1n
My example: I have master JSP: and included page: In my Action I have 2 object: private MyObject myObject1 = new MyObject(); private MyObject myObject2 = new MyObject(); then both have myMethod attribute How can I manage this? Thanks -- View this message

Re: dinamic name for textfield

2011-06-21 Thread k3v1n
Thanks for reply. but "Type" field is evaluated to run time for me! -- View this message in context: http://struts.1045723.n5.nabble.com/dinamic-name-for-textfield-tp4506481p4507886.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: dinamic name for textfield

2011-06-20 Thread Chris Pratt
While you can't nest tags like that, you can use OGNL to get the data you want. It would look something like: (*Chris*) On Mon, Jun 20, 2011 at 6:58 AM, k3v1n wrote: > Hi all, > > I need pass dinamic name at textfield tag. > > For example: > name="<%=request.getParameter("ty