struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srinivas" ...@intensit.de>
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 [mailto:days_81@lycos.com]
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
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201
/splash.asp

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message