In struts-html.tld, the page attribute allows run-time expressions:
attribute
namepage/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
However, in struts-html-el, the page attribute does not allow run-time
expressions:
attribute
namepage/name
requiredfalse/required
Does this work:
c:forEach var=js items=${scriptList}
script type=text/javascript
src=c:url value=${js}/
/script
/c:forEach
None of the EL tags should have rtexprvalue set to true, right? That's for JSP
expressions, not EL expressions.
Quoting Raible, Matt [EMAIL PROTECTED]:
In
Hm, although JSP 2.0 may actually use it for EL-based tags as well. I'm not that
familiar with the details of 2.0, so that might actually be the problem. You
should be able to verify that by trying to use an EL expression in any of the
Struts-EL tags. Which means you'd also need to make sure
Users Mailing List
Subject: Re: html-el: page attribute doesn't accept run-time expressions
Does this work:
c:forEach var=js items=${scriptList}
script type=text/javascript
src=c:url value=${js}/
/script
/c:forEach
None of the EL tags should have rtexprvalue set to true, right? That's
PROTECTED]
Sent: Thursday, July 17, 2003 9:59 AM
To: Struts Users Mailing List
Subject: Re: html-el: page attribute doesn't accept run-time expressions
Does this work:
c:forEach var=js items=${scriptList}
script type=text/javascript
src=c:url value=${js}/
/script
17, 2003 12:42 PM
To: Struts Users Mailing List
Subject: RE: html-el: page attribute doesn't accept run-time expressions
Yup, that should be just fine, except maybe if you're using modules. I think
html:rewrite treats the value of the page attribute as module-relative
so it
does a little extra
6 matches
Mail list logo