• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

struts2 tag lib and the _widget phenom!

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why-o-why have Struts decided to stick this _widget thing on the end of select dropdowns!?!??!

It's killing my work, because before if I had an object called Company with a param .id (Company.id in the JSP as company.id) struts tld could easy map the value from the dropdown (id) to the company id.
Now because of their wisdom, I get an error, why, because company.id isn't called company.id_widget!!!

Why have they done this and how do you adopt to this freakish behavour without a load of ActionContext.getContext().getParameters() hacks?

(Unhappy person)
 
Bartender
Posts: 9559
12
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you should take your complaint to the Struts Mailing Lists.
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please explain your problem clearly?



I thought you were doing something like this, What's happening, how you are expecting it supposed to work.
 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's the strurs-jquery 2.3.x.x

Using a List<Customer> customerList as follows...

Something like:


I't turns into:


Then I get an error:


This never used to happen until an upgrade in the struts jquery lib.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!