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]

Reply via email to