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 <[EMAIL PROTECTED]> wrote:
>
> Oleg Konovalov wrote:
> >> make each butto
Oleg Konovalov wrote:
make each button on the form a submit button
I can't do it, because button has to have image, so I use
Will that work ?
I believe so... best way to be sure would be to try it :) ... but I
don't see why it wouldn't.
Also, are you sure thisthis.form.rowId.value='${
>make each button on the form a submit button
I can't do it, because button has to have image, so I use
Will that work ?
Also, are you sure thisthis.form.rowId.value='${list.rowId}';
will work together with myform.action='action.do?command=notify'
I think, Javascript will get screwed up -
Oleg Konovalov wrote:
No, I am not using any AJAX.
On Submit it supposed to process that row, go to DB and refresh the whole
page,
so to come back on the same page.
Also, my form is declared as , so onClick I use
"form.action='action.do?command=notify'", I can't get rid of it,
but it doesn't wa
No, I am not using any AJAX.
On Submit it supposed to process that row, go to DB and refresh the whole
page,
so to come back on the same page.
Also, my form is declared as , so onClick I use
"form.action='action.do?command=notify'", I can't get rid of it,
but it doesn't want to coexist with any J
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.
User is supposed to click on one of these buttons [selecting one row to
process],
and onClick event I need to pass the rowId
--- Oleg Konovalov <[EMAIL PROTECTED]> wrote:
> As I mentioned in the original e-mail:
>
> Have hidden field:
>
Yeah, but... that's a form value, not a JavaScript
variable. The "onclick" attribute expects valid
JavaScript.
> I have a bunch of rows and a button corresponding to
> each row.
If
As I mentioned in the original e-mail:
Have hidden field:
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.
User is supposed to click on one of these buttons [selecting one row to
process],
and on
What is rowId? That's not a standard attribute of the tag,
hence the error makes sense I think, assuming it's being interpreted
equivalent to this.rowId... also, value doesn't have any context here, I
assume you mean to do this.value (which it may be interpreted as
anyway), but maybe not... w
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 "Object
> > doesn't support this
--- Oleg Konovalov <[EMAIL PROTECTED]> wrote:
> As of now I am getting Javascript error "Object
> doesn't support this property or method",
complaining
> about *rowId=value;*
The "onclick" attribute must have valid JavaScript.
d.
___
Hi,
I am populating JSP page with rows retrieved from the database and
represented as a List of Beans in forEach loop:
...
Completed
Pending
12 matches
Mail list logo