• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Struts 2 s:select

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

i'm having trouble using the namespace of the s:select element.
I'm using the s:select to populate a list of objects which works fine.
My goal is when a specific value was set and submitted it should be put
on the getter method which i define on the namespace.
I have read that struts 2 somehow has trouble with the s:select making this.
Any recommandations ? Or is there maybe a working example with this specific scenario which i can lookup.

Thanks for your help in advance

regards

Kim
 
Kim Long
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no suggestions ?
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you have a getter method with the same name as your select name it will set that method with the selected value and then you can call getter method to get the value. it is all done auto matically, just define the get and set method int he action class.
reply
    Bookmark Topic Watch Topic
  • New Topic