struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srinivas">
Subject RE: struts radio button
Date Sat, 06 Apr 2002 18:01:03 GMT
set the value of priorType in struts form to one of the values {"1", "2"}.
so always this value will be selected.

-----Original Message-----
From: days []
Sent: Saturday, April 06, 2002 8:45 PM
To: Struts Users Mailing List
Subject: struts radio button

Hi...anyone out there knows how to set one of the radio buttons to be
selected by default?
In HTML, we have set it using the "checked" attribute...however under the
struts form tag documentation, there isn't any "checked" attribute for the
radio button. Mine appears like the following:

<html:radio property="priorType" value="1"/>Important
<html:radio property="priorType" value="2"/>Urgent

Can any help? Thx in advance.

See Dave Matthews Band live or win a signed guitar

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message