struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riyad Kalla <...@email.arizona.edu>
Subject Re: Setting html:text readonly attribute
Date Mon, 03 May 2004 20:28:34 GMT
Whats the diff between readonly and "disabled=true", I've been using the 
latter...

On Monday 03 May 2004 01:25 pm, John Moore wrote:
> At 21:07 03/05/2004, John Moore wrote:
> >At 16:09 03/05/2004, Paul McCulloch wrote:
> >>1) Use an html (rather than a jsp) tag:
> >>
> >>  <input type="text" name="licenceCount" value="<c:out
> >>value='${purchaseForm.licenceCount}'/>" size="3" readonly="<c:out
> >>value='${purchaseForm.newPurchase}'/>" maxlength="5"/>
> >
> >I've found that this, unfortunately doesn't work, at least with my current
> >browser of choice (Firefox), which insists on making the text field
> >read-only as long as there is a 'readonly' attribute present. I'm
> >exploring the other options next.
>
> LATER...
>
> Tweaking it so that it outputs only 'readonly' is, of course, the solution.
>
> John
>
>
> =============================================
> John Moore     -    Norwich, UK    -    john@jmsd.co.uk
> =============================================

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


Mime
View raw message