Author
Struts 2 Dojo autocompleter not working in Struts 2.0.14?
Ashu Jain
Ranch Hand
Joined: Feb 24, 2008
Posts: 73
posted Sep 08, 2009 09:28:22
0
Hi,
I am able to implement autocompleter ( theme ajax) in struts 2.1 but unable to do so in 2.0.14
It says "struts-dogo-tags" not found. I am refering to http://struts.apache.org/2.0.14/docs/autocompleter.html
but there does not exist any jar for struts-dogo plugin in 2.0.14. Can you please suggest if it will work by including dogo plugin jar of 2.1. I can not change my application to struts 2.0
.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
posted Sep 08, 2009 19:13:46
0
That's because the Dojo tags (which are deprecated as of Struts 2.1) aren't a plugin in Struts 2.0.
Ashu Jain
Ranch Hand
Joined: Feb 24, 2008
Posts: 73
posted Sep 08, 2009 19:24:44
0
Does that mean that i can NOT use autocompleter theme ajax in 2.0.* at all.
I thought people used to implement autocompleter earlier as well. it is just dojo tags moved to another jar ( plugin of dojo tags ).
I want to implement autocompleter theme ajax in 2.0.*. How to do that without dojo??
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
posted Sep 08, 2009 20:41:04
0
It's in the core.
Ashu Jain
Ranch Hand
Joined: Feb 24, 2008
Posts: 73
posted Sep 08, 2009 23:16:57
0
But it does not seem to be working in 2.0.x
HelloWorld.java
ExampleSupport.java
struts.xml is as follows::
and HelloWorld.jsp
I have json plugin apart from struts core 2.0 in WEB-INF\lib
There is no error but it is still not working. What could be the problem.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
posted Sep 09, 2009 06:53:55
0
See ItDoesntWorkIsUseless .
Turn the Ajax debugging on, also see if it says anything in the Firebug console.
I also edited your question's subject to make sense. See UseAMeaningfulSubjectLine .
subject: Struts 2 Dojo autocompleter not working in Struts 2.0.14?