try <html:text property="userID"  readonly="true"/>

Feky

----- Original Message -----
From: "Jakkampudi, ChandraseKhar" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 6:38 PM
Subject: RE: Struts tag for label


> Is there a way to have display only properties on a form? For example, I
> want to display UserID as non-editable field and address as editable. I
> cannot use the "disabled" attribute on text tag because these values are
not
> passed to the server and I need the userID to edit proper values.
>
> I am doing something weird like using both
> <html:text property="userID"  disabled="true"/>
> <html:hidden property="userID"/>
>
> The text tag is used to display the data and the hidden variable passes
the
> data to the action form. Seems kludey but it works. Is there a better way.
> Maybe a tag that can store additional information about a form that is not
> an "input" field.
>
> Maris: Try my suggetion and see if that works for you.
>
> JC
>
> -----Original Message-----
> From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 11:35 AM
> To: Struts Users Mailing List
> Subject: Struts tag for label
>
>
>
> hello
>
> What if I want to just display some property of form bean (without any
> input field) ?
> Is there a tag for it ?
>
>
> thanx in advance
>
> Maris Orbidans
> Data Pro
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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

Reply via email to