Passing dynamic parameters to javascript function inside href link

2007-09-10 Thread Anna Simbirtsev
Hello I am trying to pass the value of i to a javascript but I can't seem to get it to pass the value. <% for (int i = 0;i < 5; i++) { %> value <%}%> What am I doing wrong? Thank you

Re: pass parameters to action

2007-09-07 Thread Anna Simbirtsev
> > And it can be important if you're trying to control how your user steps > through your application. > > > -- > Tim Slattery > [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] &

Re: pass parameters to action

2007-09-07 Thread Anna Simbirtsev
How do I do it? On 9/7/07, Rick Reumann <[EMAIL PROTECTED]> wrote: > > On 9/7/07, Anna Simbirtsev <[EMAIL PROTECTED]> wrote: > > > > Hello > > I have a link > paramName="map">Name and when a user clicks on it, it calls > > action myAc

pass parameters to action

2007-09-07 Thread Anna Simbirtsev
Hello I have a link Name and when a user clicks on it, it calls action myAction and passes parameters using HashMap. Those parameters are visible in the URL. Is there any way to pass parameters to the action other than through URL? Thank you

Re: 2 jsp files using the same form

2007-08-29 Thread Anna Simbirtsev
. Thank you On 8/28/07, Oleg Mikheev <[EMAIL PROTECTED]> wrote: > > Anna Simbirtsev wrote: > > Hello > > I have 2 screens that use the same form. The form class has a validate > > function. To distinguish which screen(jsp file) is using the form I do &g

2 jsp files using the same form

2007-08-28 Thread Anna Simbirtsev
Hello I have 2 screens that use the same form. The form class has a validate function. To distinguish which screen(jsp file) is using the form I do the following in jsp files: <% session.setAttribute("page", "add") %> <% session.setAttribute("page", "add_2") %> Then in the form class I grab that

Specify a name for a validate function

2007-08-27 Thread Anna Simbirtsev
Hello Does it call the validate function in the form class? Can I specify the name of validate the function to call? Thank you

Re: Passing variables in url

2007-08-27 Thread Anna Simbirtsev
I tried first assigning the value to a string and then sending it. <% String value_ = duf1.getValue(); %> Still does not work. On 8/27/07, Oleg Mikheev <[EMAIL PROTECTED]> wrote: > > Anna Simbirtsev wrote: > > > > > width="80" heig

Passing variables in url

2007-08-27 Thread Anna Simbirtsev
Hello I am trying to pass a variable in the url, but I can't seem to get the value to be passed. value is a bean in struts, that has get/set functions. I tried using paramName="${value_}" and pass a string, but it did not work. Thank you