try using single quotes the readonly attribute and double quotes inside the
scriptlet thus-
snip -
form:text
 readonly='<%="true" %>'
 property="kontofuehrung1data.knelimitregion1"
 styleClass="N100"
-snip

HTH
Jin
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 07, 2002 11:50 AM
Subject: RE: JSP scriptlet nested inside struts tag.


> I don't think you can nest the quote marks. The only way I could get
> something like that to work was to set the attribute to a boolean
variable,
> either created in a scriptlet or pulled from a bean.
>
> <%
> boolean myBooleanTest = true;
> %>
>
>
> <form:text
> readonly="<%=myBooleanTest%>"
> property="kontofuehrung1data.knelimitregion1"
> styleClass="N100"
> />
>
> Lee Torrence
>
>
> -----Original Message-----
> From: Hudayioglu, Fehmi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 07, 2002 6:25 AM
> To: '[EMAIL PROTECTED]'
> Subject: JSP scriptlet nested inside struts tag.
>
>
> hello,
> I know we had some similar questions. But I couldn't make it run.
> I know we can use scriptlets inside of any struts tag. here is what I
wrote:
>
> <form:text
> readonly="<%="true" %>"
> property="kontofuehrung1data.knelimitregion1"
> styleClass="N100"
> />
>
> And I got an error of JSPG0069E: Attribute true has no value. I am using
> Websphere4.0. I have tried some several permutations, but none of them
> worked (except when I exclude readonly part). please help me.
> Thanks,
> fehmi.
>
>
> --
> 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