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
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
,
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.
>
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.
> &
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
Hi,
I am populating JSP page with rows retrieved from the database and
represented as a List of Beans in forEach loop:
...
Completed
Pending
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
>
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.
Hi,
How can I access an ActionForm from my JSP in Struts 1.2-1.3 ?
Thank you,
Oleg.
JSP:
<%--html:select property='selectedFromIds' multiple="true"-->
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
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
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
13 matches
Mail list logo