A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How can I dynamically disable html:radio?
Joined: Jul 17, 2001
Dec 15, 2006 12:56:00
How can I disable a
radio button with a form property that maintains the state? e.g.
<html:radio property="foo " value="own" diabled="???"
Joined: Feb 08, 2006
Dec 15, 2006 14:15:00
Maybe like this:
<bean:define id="disabledValue" name="myForm" property="disabled" /> <html:radio property="foo " value="own" diabled="<%= disabledValue %>"
[ December 15, 2006: Message edited by: Brent Sterling ]
It is sorta covered in the
JavaRanch Style Guide
subject: How can I dynamically disable html:radio?
How to set default value for a radio button?
dynamically checked radio button in struts1.3
How to find to which row is selected?
problem with "html:radio"
How to disable html:checkbox based on html:radio selection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015