Hi,
I have a form with a checkbox that sets a boolean property in one of my
classes. At a later page I display a msg if the user has selected the
checkbox and I get 'true' or 'false' displayed. What I am actually looking
for is a 'Yes' or 'No' to be displayed. Is there a clean way of getting the
: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 16:11
To: Struts
Subject: setting boolean to yes/no
Hi,
I have a form with a checkbox that sets a boolean property in one of my
classes. At a later page I display a msg if the user has selected the
checkbox and I get 'true' or 'false
Hi Alex,
You can use a logic:equal tag to check result stored in your form. Then a
bean:message to display the appropriate Yes or No message.
Jon.
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 16:11
To: Struts
Subject: setting boolean to yes
/NO. Let me know if
you need any further help.
Thanks,
Amalendu Biswas
From: Alex Colic [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Subject: setting boolean to yes/no
Date: Wed, 6 Jun 2001 11:10:44 -0400
Hi,
I have a form with a checkbox that sets a boolean
4 matches
Mail list logo