Use logic tags, and check if in edit mode then display the value using bean write, 
else display the drop down

Ramachandran <[EMAIL PROTECTED]> wrote:If i make it as disable means, i was not able 
to retrieve the value na.

For me now, If a user goes for a Edit Page, what he chooses while add should
be displayed but in readonly mode...

So shall i can use disable here?

-----Original Message-----
From: Nguyen, Hien [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 9:14 PM
To: 'Struts Users Mailing List'
Subject: RE: How to make readonly in Select Box


But select has 'disabled' as an attribute
(http://www.w3.org/TR/html401/interact/forms.html#h-17.6) so I think you can
use 'disabled' to make it read-only.

-----Original Message-----
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 10:39 AM
To: 'Struts Users Mailing List'
Subject: RE: How to make readonly in Select Box


> I want to make readyonly in Select Box. If i gave
> readonly="true". There is no property called readonly..What i
> have to do for that one....

HTML Select groups don't have a "readonly" property, that's why the Struts
tag doesn't have it.

--
Tim Slattery
[EMAIL PROTECTED]


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

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



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



---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

Reply via email to