Please help me in resolving the problem(dojo + struts 2)
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.
Re: Please help me in resolving the problem(dojo + struts 2)
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.t...@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.
Re: Please help me in resolving the problem(dojo + struts 2)
Thanks Srikanth.. Seems like there is a bug on the above issue.. https://issues.apache.org/jira/browse/WW-4349 Also seems like dojo plugin is going to be deprecated from the next major release 2.5.. Can any one confirm this.. One more question, in order to develop ajax based application... Which plugin is more suitable and popular at this point of time.. ? Is it jquery plugin ? Please help me in choosing the right plugin.. Thanks once again On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: 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.t...@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.
Re: Please help me in resolving the problem(dojo + struts 2)
Yes its, within my knowledge, jquery plugin is at the top priority now. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 7, 2014 at 5:08 PM, Ratna Kar ratnakarb.t...@gmail.com wrote: Thanks Srikanth.. Seems like there is a bug on the above issue.. https://issues.apache.org/jira/browse/WW-4349 Also seems like dojo plugin is going to be deprecated from the next major release 2.5.. Can any one confirm this.. One more question, in order to develop ajax based application... Which plugin is more suitable and popular at this point of time.. ? Is it jquery plugin ? Please help me in choosing the right plugin.. Thanks once again On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: 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.t...@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.
Re: Please help me in resolving the problem(dojo + struts 2)
Hi Ratna, For AJAX implementation JQuery is best as you can find lots of option and example to implement it. Re: Please help me in resolving the problem(dojo + struts 2) Ratna Kar to: Struts Users Mailing List 07/07/2014 05:11 PM Please respond to Struts Users Mailing List Thanks Srikanth.. Seems like there is a bug on the above issue.. https://issues.apache.org/jira/browse/WW-4349 Also seems like dojo plugin is going to be deprecated from the next major release 2.5.. Can any one confirm this.. One more question, in order to develop ajax based application... Which plugin is more suitable and popular at this point of time.. ? Is it jquery plugin ? Please help me in choosing the right plugin.. Thanks once again On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: 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.t...@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.
Re: Please help me in resolving the problem(dojo + struts 2)
Thanks srikanth and manoj. Please point me good documentation w.r.t jquery struts 2. I want to do some samples w.r.t ajax and i need to add the required jar's before doing the sample apps. (please suggest good documentation link to know these things.) On Mon, Jul 7, 2014 at 5:11 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Yes its, within my knowledge, jquery plugin is at the top priority now. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 7, 2014 at 5:08 PM, Ratna Kar ratnakarb.t...@gmail.com wrote: Thanks Srikanth.. Seems like there is a bug on the above issue.. https://issues.apache.org/jira/browse/WW-4349 Also seems like dojo plugin is going to be deprecated from the next major release 2.5.. Can any one confirm this.. One more question, in order to develop ajax based application... Which plugin is more suitable and popular at this point of time.. ? Is it jquery plugin ? Please help me in choosing the right plugin.. Thanks once again On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: 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.t...@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.
Re: Please help me in resolving the problem(dojo + struts 2)
Hi Ratna, Just go to Jquery Ajax API this url and you will find all ajax implementation. you just need to specify url, data, and type and on success what ever you want to do just do... Re: Please help me in resolving the problem(dojo + struts 2) Ratna Kar to: Struts Users Mailing List 07/07/2014 05:41 PM Please respond to Struts Users Mailing List Thanks srikanth and manoj. Please point me good documentation w.r.t jquery struts 2. I want to do some samples w.r.t ajax and i need to add the required jar's before doing the sample apps. (please suggest good documentation link to know these things.) On Mon, Jul 7, 2014 at 5:11 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Yes its, within my knowledge, jquery plugin is at the top priority now. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 7, 2014 at 5:08 PM, Ratna Kar ratnakarb.t...@gmail.com wrote: Thanks Srikanth.. Seems like there is a bug on the above issue.. https://issues.apache.org/jira/browse/WW-4349 Also seems like dojo plugin is going to be deprecated from the next major release 2.5.. Can any one confirm this.. One more question, in order to develop ajax based application... Which plugin is more suitable and popular at this point of time.. ? Is it jquery plugin ? Please help me in choosing the right plugin.. Thanks once again On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: 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.t...@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.