Re: Struts Tag Library - Can I have a dropbox option disable a text field?

2009-05-08 Thread Dave Newton
spongebue wrote: Thanks, Dave. I played around, and got MOST of what I want going. However, I'd like to be able to hide the label (I decided to hide the field altogether, rather than disable editing). This was no problem with the text field, but the label does not get an id assigned by struts,

Re: Struts Tag Library - Can I have a dropbox option disable a text field?

2009-05-08 Thread spongebue
editing). This was no problem with the text field, but the label does not get an id assigned by struts, so I can't really call it in the JS. Any way to have Struts add an id to the label or any other way I could hide it? Thanks again! --

Re: Struts Tag Library - Can I have a dropbox option disable a text field?

2009-05-07 Thread Dave Newton
spongebue wrote: 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

Struts Tag Library - Can I have a dropbox option disable a text field?

2009-05-07 Thread spongebue
27;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-dropb

disable a text field.

2005-04-13 Thread Srilatha Salla
Hi, I have a dropdownlist. When I select "fixedwidth" option I have to make the textfield mapSet.delimiter noneditable/readonly, if I select "delimiter" option I should be able to enter data. I wrote an onchange event but I cannot make the textfield readonly. How do I change the attribute read