Yup, that's the way the spec says it should work :-) An attribute can be
*either* a static String *or* a Runtime Expression. You can't mix both,
so you have to make the any static text part of the RT as you showed.
L.
Frank W. Zammetti wrote:
I don't think so... if that was true you'd expect
ndered, the id attribute is rendered
> as:
>>
>> id='BLABLA<%=indexVal.intValue()%>'
>>
>> Harsh.
>>
>> -Original Message-
>> From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, February 27, 2007 6:09 PM
>> To:
: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Scriptlets in Struts tag
I believe your running into something I ran into the other day,
something
I didn't know... if you have an attribute:
someAttribute="123<%=someVar%>"
...the value of someVar isn
arsh wrote:
> I tried that. But in the HTML rendered, the id attribute is rendered as:
>
> id='BLABLA<%=indexVal.intValue()%>'
>
> Harsh.
>
> -Original Message-
> From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February
I tried that. But in the HTML rendered, the id attribute is rendered as:
id='BLABLA<%=indexVal.intValue()%>'
Harsh.
-Original Message-
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 6:09 PM
To: Struts Users Mailing List
Subject: R
hi,
try this code.
<%=indexVal.intValue()%>
Regards,
Nuwan.
- Original Message -
From: "Chaudhary, Harsh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, February 27, 2007 6:22 PM
Subject: Scriptlets in Struts tag
My code:
indexId="indexVal">
maxlength="35"
6 matches
Mail list logo