« Return to Thread: Struts2 - dojo anchor error

Re: Struts2 - dojo anchor error

by DNewfield :: Rate this Message:

Reply to Author | View in Thread

Kishan G. Chellap Paandy wrote:
> Here is what I'm doing.

> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
> <sx:head debug="true" cache="false" compressed="false" />

OK, this looks like a jsp page...

> <@s.url id="sort" namespace="${parameters.nameSpace}" action="Sort">
>   <@s.param name="id" value="${tmpIdVal}"/>
> </@s.url>
> <@sx.a href="${sort}" key="app.sort" targets="content">
>   <img src="<@s.url value="/images/icon_delete.gif"/>" alt="<@s.text name="app.sort"/>" title="<@s.text name="app.sort"/>" border="0" width="14" height="15"/>
> </@sx.a>

But this does not.

Those "@FOO." bits should be "FOO:", then you have to change the JSTL
expressions to OGNL because rtexprvalue is false for the struts tags (to
avoid a security issue).

http://struts.apache.org/2.1.6/docs/tag-reference.html
http://struts.apache.org/2.1.6/docs/tag-syntax.html

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Struts2 - dojo anchor error