« Return to Thread: Getting undefined error on ajax call

Re: Getting undefined error on ajax call

by newton.dave :: Rate this Message:

Reply to Author | View in Thread

Praveen.V.Kumar wrote:

> In ftl, I am making ajax call in <sx.a> tag as shown below.
>
> <@s.url id="sort" namespace="${parameters.nameSpace}" action="Sort">
> <@s.param name="sortBy">${tmpSortMethodName?trim}</@s.param>
>             <@s.param name="sortType">desc</@s.param>
> </@s.url>
> <@sx.a href="${sort}" key="${tmpColumnName}" targets="content">
> <@s.text name="${tmpColumnName}"/><img src="<@s.url value="/images/sortAsc.gif"/>" alt="<@s.text name="app.sortBy"/>: <@s.text name="${tmpColumnName}"/>"
> title="<@s.text name="app.sortBy"/>: <@s.text name="${tmpColumnName}"/>" class="arrowWhite" align="texttop"/>
> </@sx.a>
>
> I have added <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
> and   <sx:head debug="true" cache="false" compressed="false" />

You're adding that to what? A Freemarker page? That's JSP
syntax--meaningless to Freemarker.

http://struts.apache.org/2.x/docs/freemarker.html

Dave

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

 « Return to Thread: Getting undefined error on ajax call