Norman,
Yes, that worked.
Thanks,
Michelle
----- Original Message -----
From: "Norman Timmler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Michelle Popovits"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 11:10 AM
Subject: Re: dynamically disable text field
> hi michelle,
>
> try this:
>
> <logic:equal name=\"personalInfoForm\"
> property=\"employeeBean.empInfoReadOnly\" scope=\"session\" value="true">
> <html:text property="employeeBean.fax" size="20" maxlength="10"
> disabled="true"/>
> </logic:equal>
> <logic:notEqual name=\"personalInfoForm\"
> property=\"employeeBean.empInfoReadOnly\" scope=\"session\" value="true">
> <html:text property="employeeBean.fax" size="20" maxlength="10"
> disabled="false"/>
> </logic:notEqual>
>
> hope this helps.
> norman
>
>
> ----- Original Message -----
> From: "Michelle Popovits" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 19, 2001 4:17 PM
> Subject: dynamically disable text field
>
>
> Hi,
>
> I would like to dynamically disable a text field based on a boolean
> property.
> I have tried the following but it does not work.
>
> <strutshtml:text property="employeeBean.fax" size="20" maxlength="10"
> disabled="<strutsbean:write name=\"personalInfoForm\"
> property=\"employeeBean.empInfoReadOnly\" scope=\"session\"/>"/>
>
>
> Any idea how to make this work?
>
> Thanks,
> Michelle
>
>
>