• 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

Editable Table

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i am new in struct. I want know how to get input from table. is it possible in strut..
 
vaduganathan kumarasamy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i am new in struct. I want know how to get input from table. is it possible in strut..

And also i want edit for particular row. so that table is editable...

 
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
This doesn't have much to do with Struts. Such functionality is available in many ways. Depending on what your requirements *really* are you may need to use JavaScript.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Take a look at displayTag.
If you wanna go JS route i would recommend ExtJS.

 
vaduganathan kumarasamy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply. Now i am working in strut 2 i need some example to retrieve the values from database to jsp, In that jsp i need one table for display that retrieved values. If i change that values for particular row it can be updated automatically in database also. is it possible in strut without using javascript.
 
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
No.

You *might* be able to do it with the *appearance* of not using JavaScript via the Dojo tags (which are deprecated as of Struts 2.1), but you'll still need a *little* JavaScript to hook up the events.
 
vaduganathan kumarasamy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi thanks for replied. I solved that problem for using YUI tool kit.
 
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey! what is that YUI toolkit and how did it help you solving it? I am using JS to solve tha same!!!
 
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
YUI is a JS framework that includes a bunch of controls.
 
vaduganathan kumarasamy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i want Datagrid on strut 2. The Grid is editable. Please send me any code or link. Let you know please help me.
Already i achieved it YUI but i need in strut2.
reply
    Bookmark Topic Watch Topic
  • New Topic