• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 Dojo autocompleter not working in Struts 2.0.14?

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
.

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's in the core.
 
Ashu Jain
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic