struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <sreekanth.n...@egovernments.org>
Subject Re: Please help me in resolving the problem(dojo + struts 2)
Date Mon, 07 Jul 2014 11:19:09 GMT
Have you tried using jquery plugin, dojo is outdated plugin for strust2
latest. Fyi :
https://cwiki.apache.org/confluence/display/S2PLUGINS/jQuery+plugin+-+Easy+AJAX+and+Widget+Integration

-- 
Thanks & Regards
Srikanth
Software Developer
--------------------------------
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
--------------------------------


On Mon, Jul 7, 2014 at 4:37 PM, Ratna Kar <ratnakarb.tech@gmail.com> wrote:

> I am trying to do a sample ajax application(Struts 2.3 latest) which is
> based on dojo.
>
> but the ajax functionality not working for me. I have included the
> necessary dojo plugin in
> the classpath.
>
> but still the ajax functionality is not working..
>
> getting the following errors while testing my action. .. pls help
>
> *Error 1*
>
> TypeError: "$Rev$".match(...) is null
>
> revision: Number("$Rev$".match(/[0-9]+/)[0]),
>
>
> *Error 2*
>
> TypeError: dojo.require is not a function
>
> dojo.hostenv.writeIncludes(true);
>
> Please help me in resolving the issue.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message