Hi all,

First off, sorry if this is a dumb question to be asking.  I always have the
worst of luck with finding struts-related info, and the tag library is no
better.

Basically, I have an s:select list with a list of activities, which gets its
content from the database, delivered via struts.  I also have a s:textfield
with the number of hours each activity takes up.  What I'd like is for the
text field to no longer be editable once an activity is chosen, and be
filled with the number of hours that the activity takes up.  If making the
text uneditable doesn't do it already, it'd also be nice to have it grayed
out or something so it doesn't get mistaken for a bug by the end user. 
Assuming I get things taken care of on the backend, could someone tell me
how to do this on the frontend?  I would probably be able to do it with HTML
and Javascript, no problem, but I'm working with the big boys now and am
stuck with the struts tags, which I have little experience with.  I know how
Struts works and all, but I'm horrible with the tag library.

Thanks!
Brian
-- 
View this message in context: 
http://www.nabble.com/Struts-Tag-Library---Can-I-have-a-dropbox-option-disable-a-text-field--tp23437093p23437093.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to