Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-14 Thread Oleg Konovalov
That worked for me: <% String str="form.action='action.do?command=notify&rowId="; %> onclick="<%= str%>'" /> And in Action: String rowId = request.getParameter("rowId"); Thank you all, Oleg. On 8/13/07, Frank W. Zammetti <[EMA

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Oleg Konovalov
vascript will get screwed up - will complain. And I will have to make all inside a scriplet, something like: onClick="<% form.rowId.value=<*c:out* *value=*'${list.rowId}/>; form.action='action.do?command=notify' %>" Is that better ? On 8/13/07, Frank W. Zammet

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Oleg Konovalov
, Oleg. On 8/12/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Oleg Konovalov wrote: > > I have a bunch of rows [ArrayList of ValueObject Classes], and a button > > corresponding to each row. > > I populate the data from each row in forEach loop. >

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-12 Thread Oleg Konovalov
gt; Java Web Parts - http://javawebparts.sourceforge.net > Supplying the wheel, so you don't have to reinvent it! > > Oleg Konovalov wrote: > > Dave, > > > > What am I doing wrong in that Javascript ? > > Honestly, I don't see it. > &

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-11 Thread Oleg Konovalov
Dave, What am I doing wrong in that Javascript ? Honestly, I don't see it. Please help ! Thank you, Oleg. On 8/10/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Oleg Konovalov <[EMAIL PROTECTED]> wrote: > > > As of now I am getting Javascript error

Passing value from Struts tag in JSP to Action class

2007-08-10 Thread Oleg Konovalov
Hi, I am populating JSP page with rows retrieved from the database and represented as a List of Beans in forEach loop: ... Completed   Pending

Re: Accessing ActionForm from JSP

2007-08-08 Thread Oleg Konovalov
How can I do that from the Scriplet ? TIA, Oleg. On 8/2/07, Aram Mkhitaryan <[EMAIL PROTECTED]> wrote: > > Try this > > ${actionFormName.propertyName} > > Best, > Aram > > Aram Mkhitaryan > > 52, 25 Lvovyan, Yerevan 375000, Armenia > > Mobile: +374 91 518456 >

Access Form property from JSP

2007-08-07 Thread Oleg Konovalov
Hi, I would like to access a Struts [1.3] Form property from the JSP page via scriplet. Is there a simple way of doing that ? TIA, Oleg.

Accessing ActionForm from JSP

2007-08-01 Thread Oleg Konovalov
Hi, How can I access an ActionForm from my JSP in Struts 1.2-1.3 ? Thank you, Oleg.

Re: Converting OptionsCollection to Options

2007-07-30 Thread Oleg Konovalov
JSP: <%--html:select property='selectedFromIds' multiple="true"-->

Converting OptionsCollection to Options

2007-07-30 Thread Oleg Konovalov
Hi, I wrote a simple screen with 2 html:selects [fromList, toList] and 2 buttons Add & Remove using html:optionscollection tag and now need to rework the code using "html:options collection=" to something like [that is a piece of my existing application which I have to follow]: wher

Manipulating Collection in Struts Tag libs (options)

2007-07-25 Thread Oleg Konovalov
Hi, I am relatively new to Struts [using 1.3]. I need to create a form using Struts tag libs with 2 HTML select's [lists], connected to 2 DB tables, say allUsers and Admins, which would allow to select Administrators from the list of AllUsers. So I will have 3 buttons: Add, Remove and Update. A

Using Struts tag libs

2007-07-23 Thread Oleg Konovalov
Hi, I am relatively new to Struts [using 1.3]. I need to create a form using Struts tag libs with 2 HTML select's [lists], connected to 2 DB tables, say allUsers and Admins, which would allow to select Administrators from the list of AllUsers. So I will have 3 buttons: Add, Remove and Update. A