Hello everybody,

I want some of the fields in my <FORM> to be read-only. Usually, I
accomplished this by doing one of these:

(1) Use "disabled".

(2) Use readonly.

Now, I have a problem with this... I want to use Struts' XHTML tag. I
believe it's the cause for the failing of both alternatives above. I've also
tried JavaScript (you know, onfocus="javascript: this.blur()"), but that's a
half-way solution since someone can still paste some text into the field (in
that case, a "text" field) and have it submitted (since it's not disabled).

Is there a simple, XHTML-friendly way (if possible, Struts-independent) to
accomplish this ?

Regards,
Freddy.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to