• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

struts2 tag lib and the _widget phenom!

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic