PROTECTED]]
Sent: Montag, 25. November 2002 19:52
To: Struts Users Mailing List
Subject: Re: set a html:checkbox checked
I think you should set the property of the form in an action, that will
forward to your JSP.
In this action, set the property corresponding to your check box at true:
MyForm myForm
Subject: RE: set a html:checkbox checked
Sorry, if i use this i get an NoSuchMethod Error.
But, even it schould work, how could i set the value other than on
true or false
_AND_ the checkbox checked?
in html like this
input type=checkbox value=99 checked
thx in advance
-Original
Mailing List
Subject: Re: set a html:checkbox checked
Hi Georg,
If you wish to utilize String value other than true, yes, or on...,
you can use the html:multibox tag.
Best regards
Patrice
- Original Message -
From: Mouratidis, Georg [EMAIL PROTECTED]
To: Struts Users Mailing List
.
Best regards
Patrice
- Original Message -
From: Mouratidis, Georg [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 12:00 PM
Subject: RE: set a html:checkbox checked
Thank all the people for response.
i have done it this way
-
From: Patrice [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 26. November 2002 12:27
To: Struts Users Mailing List
Subject: Re: set a html:checkbox checked
As I said, I think the html:multibox tag should be an alternative to your
javascript initialization:
If I anderstand, you have some checkboxes
PROTECTED]
Sent: Tuesday, November 26, 2002 1:28 PM
Subject: RE: set a html:checkbox checked
Hallo Patrice,
thank you,thank you,thank you,thank you,thank you,thank you,thank you
for the solution. this works excellent.
But, is there somethink like html:multibox for the html:radio tag.
Because
thx a lot
Georg
-Original Message-
From: Patrice [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 26. November 2002 14:07
To: Struts Users Mailing List
Subject: Re: set a html:checkbox checked
If only one catalogBuyerIDType can be selected, the easiest way is to use
radio buttons instead
Hi, Oliver
did you get any response. i'm looking for the same.
could you send me your solution please?
thx
Georg M.
-Original Message-
From: Oliver Kersten [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 21. November 2002 17:34
To: [EMAIL PROTECTED]
Subject: set a html:checkbox checked
In your Action class which forwards to the JSP, you have to have code which sets the
property associated with the checkbox to either true, yes, on, or the value set
in the value attribute.
-Original Message-
From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]]
Hi, Oliver
did you
any examples please. i do not understand how to do it.
thx
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Montag, 25. November 2002 17:34
To: Struts Users Mailing List
Subject: RE: set a html:checkbox checked
In your Action class which forwards to the JSP, you
. Hope this helps.
Edgar
-Original Message-
From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 11:25 AM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: set a html:checkbox checked
Hi, Oliver
did you get any response. i'm looking for the same
'
Subject: RE: set a html:checkbox checked
In your Action class which forwards to the JSP, you have to have code
which sets the property associated with the checkbox to either true,
yes, on, or the value set in the value attribute.
-Original Message-
From: Mouratidis, Georg [mailto:[EMAIL
: Mouratidis, Georg [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 11:25 AM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: set a html:checkbox checked
Hi, Oliver
did you get any response. i'm looking for the same.
could you send me your solution please?
thx
Georg M
: Mouratidis, Georg [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 11:25 AM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: set a html:checkbox checked
Hi, Oliver
did you get any response. i'm looking for the same.
could you send me your solution please?
thx
Georg
14 matches
Mail list logo