to make this work?
Regards
Vishnu
-Original Message-
From: Paweł Wielgus [mailto:poulw...@gmail.com]
Sent: 20 June 2009 10:40
To: Struts Users Mailing List
Subject: Re: Doubt with using check box
Hi Vishnu,
on the html page you will have a list of checkboxes with the same
Hi Vishnu
To do that, I use javaScript as follow:
First you must have an submit button with an event to fire that submit, like
this:
html:button property=actualizar
onclick=submitThis();Update/html:button
Second, you must write a javascript function that process the submit, like
this:
Hi Vishnu,
on the html page you will have a list of checkboxes with the same name
selectedEmployees and a value of an employee identificator. In the
action create settet setSelectedEmloyees(String[] selectedEmployees),
then in execute You can access this table of employee identificators.
Just as a
a action form for the some other elements in the same view.
Could you guys can through some light on how to make this work?
Regards
Vishnu
-Original Message-
From: Paweł Wielgus [mailto:poulw...@gmail.com]
Sent: 20 June 2009 10:40
To: Struts Users Mailing List
Subject: Re: Doubt with using
Can anybody help me on this issue?
-Original Message-
From: Vishnu Vyasan Nelliparmbil [mailto:vis...@mun.gov.bh]
Sent: 20 June 2009 13:21
To: Struts Users Mailing List
Subject: RE: Doubt with using check box
Pawel , can you expalin with a example. I am totally new to struts.
I
]
Sent: 20 June 2009 13:21
To: Struts Users Mailing List
Subject: RE: Doubt with using check box
Pawel , can you expalin with a example. I am totally new to struts.
I tried with another way.
Ie by adding a 'selected' field to the EmployeeBean.
logic:iterate id=EmployeeBean name
6 matches
Mail list logo