This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 Dojo autocompleter not working in Struts 2.0.14? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Dojo autocompleter not working in Struts 2.0.14?" Watch "Struts 2 Dojo autocompleter not working in Struts 2.0.14?" New topic
Author

Struts 2 Dojo autocompleter not working in Struts 2.0.14?

Ashu Jain
Ranch Hand

Joined: Feb 24, 2008
Posts: 73
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

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
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

It's in the core.
Ashu Jain
Ranch Hand

Joined: Feb 24, 2008
Posts: 73
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

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 Dojo autocompleter not working in Struts 2.0.14?