Re: Setting html:text readonly attribute

2004-05-04 Thread Mario Eckl
sage- From: John Moore [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:07 PM To: Struts Users Mailing List Subject: RE: Setting html:text readonly attribute I've found that this, unfortunately doesn't work, at least with my current browser of choice (Firefox), which

RE: Setting html:text readonly attribute

2004-05-04 Thread Takhar, Sandeep
maybe you need to use custom tags. sandeep -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:07 PM To: Struts Users Mailing List Subject: RE: Setting html:text readonly attribute At 16:09 03/05/2004, Paul McCulloch wrote: >1) Use an h

Re: Setting html:text readonly attribute

2004-05-04 Thread John Moore
At 16:08 03/05/2004, Jason Miller wrote: Actually, you can't use a tag as the value of another tag's attribute. Out of interest, does anyone know whether there are plans for this for a future JSP version? It seems quite an obvious requirement, and I can't see any technical reason why it should n

Re: Setting html:text readonly attribute

2004-05-03 Thread Riyad Kalla
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: > >> > >> > > > >I've found tha

Re: Setting html:text readonly attribute

2004-05-03 Thread Riyad Kalla
Ohhh hell. Chris thanks for the info, I have some serious code updates to make ;) Best, Riyad On Monday 03 May 2004 02:00 pm, Craig McClanahan wrote: > Riyad Kalla wrote: > >Whats the diff between readonly and "disabled=true", I've been using the > >latter... > > In the terminology of the HTML S

Re: Setting html:text readonly attribute

2004-05-03 Thread Craig McClanahan
Riyad Kalla wrote: Whats the diff between readonly and "disabled=true", I've been using the latter... In the terminology of the HTML Specification [1], a "disabled" control disallows user input *and* the field will not be "successful" on a form submit. In other words, there will be no corr

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
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: 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

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
At 16:09 03/05/2004, Paul McCulloch wrote: 1) Use an html (rather than a jsp) tag: 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 e

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
At 16:09 03/05/2004, Paul McCulloch wrote: You cannot use one jsp tag to supply another jsp tag with a value for an attribute. This certainly explains my problem. I could swear that I was doing so successfully with an integer attribute, though, as I mentioned in my original post. Trying it again

RE: Setting html:text readonly attribute

2004-05-03 Thread Paul McCulloch
[EMAIL PROTECTED] > Sent: Monday, May 03, 2004 2:30 PM > To: [EMAIL PROTECTED] > Subject: Setting html:text readonly attribute > > > I'm having a big problem trying to dynamically set a value > for the readonly > attribute of an tag. I'm using a JSTL core tag t

Re: Setting html:text readonly attribute

2004-05-03 Thread Jason Miller
Actually, you can't use a tag as the value of another tag's attribute. If you use the html-el taglib you can do something like this: John Moore wrote: I'm having a big problem trying to dynamically set a value for the readonly attribute of an tag. I'm using a JSTL core tag to try to set it

Setting html:text readonly attribute

2004-05-03 Thread John Moore
I'm having a big problem trying to dynamically set a value for the readonly attribute of an tag. I'm using a JSTL core tag to try to set it and whatever I do is ignored. In the example below, the newPurchase property is a boolean. If I use exactly this tag elsewhere on the page, it outputs tru