GianLuca that attribute is in the tld <attribute> <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute>
cannot use rtexprvalue for tiles tags or for specifying the id http://issues.apache.org/struts/browse/STR-2527 Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sat, 27 Sep 2008 15:41:46 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: custom tags and struts > > > You can change the tag's rtexprvalue attribute to "true" to allow EL > > expressions in S2 tags. > > How to do this? > > Thanks > > Gianluca > > 2008/9/27 Gabriel Belingueres <[EMAIL PROTECTED]>: > > You can change the tag's rtexprvalue attribute to "true" to allow EL > > expressions in S2 tags. > > > > Or you can replace <s:property value="${property}"/> with <s:property > > value="#attr.property"/> > > > > 2008/9/27 Gianluca Musella <[EMAIL PROTECTED]>: > >> Thank you Dave, it's works using > >> > >> <almayer:dummy message="${currentPage.key}"/> > >> > >> But if I change my tag' s definition in this way: > >> > >> <%@ taglib prefix="s" uri="/struts-tags" %> > >> <[EMAIL PROTECTED] name="property"%> > >> <h2><s:property value="${property}"/></h2> > >> > >> incapsulating the use of the struts taglib into the tag, intending to > >> pass the property value as arguments, in this way: > >> > >> <almayer:dummy message="currentPage.key"/> > >> > >> I receive the error: > >> > >> According to TLD or attribute directive in tag file, attribute value > >> does not accepr any expression > >> > >> I remember that this is for security purpouse, but daoe exist a > >> workaround to hide the use of struts' taglib in the tag? > >> > >> Thanks > >> > >> Gianluca > >> > >> > >> 2008/9/27 Dave Newton <[EMAIL PROTECTED]>: > >>> --- On Sat, 9/27/08, Gianluca Musella wrote: > >>>> Buf I if use it in this way: > >>>> > >>>> <almayer:dummy message="<s:property value='currentPage.key'/>"/> > >>> > >>> You can't nest tags like that; that would imply double-evaluation of the > >>> page. > >>> > >>> <almayer:dummy message="$currentPage.key"/> > >>> > >>> Dave > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/