I want to have a checkbox checked when a given request attribute is true.
The attribute value is not a bean, it is a Boolean object (which makes sense
for an on/off control). Is there any way to do this?
thx
andy
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
JavaScript... ;-}
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 4:18 PM
To: 'Struts Users Mailing List'
Subject: any way to turn a checkbox on based on a request value?
I want to have a checkbox checked when a given request attribute is
I want to have a checkbox checked when a given request attribute is true.
The attribute value is not a bean, it is a Boolean object (which makes
sense for an on/off control). Is there any way to do this?
So the boolean value is not a property of an ActionForm? It's just a
Boolean object
Since this is a Struts ML, I mean with Struts tags. The form itself is a
DynaActionForm and whether the checkbox is turned on or not depends on the
Action that preceeds the form display. Looking at the src, it appears that
html:checkbox only work with beans (a shortcoming of the tag, imho). To get
4 matches
Mail list logo