struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishan G. Chellap Paandy" <kishanchellapaand...@spanservices.com>
Subject RE: Struts2 - dojo anchor error
Date Mon, 06 Jul 2009 04:40:26 GMT
Hi,

I think I have missed something.

I have a JSP page and in that I have the <sx:head...... tag.

And I have written a S2 tag for which the template is ftl and in that ftl I have <@sx.a
href="${sort}".......

Now this is working fine in Mozilla but not in IE 7.

Thank you.
Regards,
Kishan.G
 
Team Leader.
www.spansystems.com



-----Original Message-----
From: Dale Newfield [mailto:dale@newfield.org] 
Sent: Friday, July 03, 2009 8:10 PM
To: Struts Users Mailing List
Subject: Re: Struts2 - dojo anchor error

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@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

DISCLAIMER:

This email message and all attachments are  confidential and may contain information that
is privileged,  confidential or exempt from  disclosure under applicable law.  If you are
not  the intended  recipient,  you  are notified  that any dissemination, distribution or

copying  of this email  is strictly prohibited. If you have received this email in error,

please notify us immediately by return email or to mailadmin@spanservices.com and destroy

the original message.

Opinions, conclusions, and other  information in  this message that  do not relate to the

official business of SPAN, shall be understood to be neither given nor endorsed by SPAN.


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


Mime
View raw message