Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editable Table

 
vaduganathan kumarasamy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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
  • 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...

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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.
 
Niv Tyagi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi thanks for replied. I solved that problem for using YUI tool kit.
 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic