aspose file tools*
The moose likes Struts and the fly likes Editable Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Editable Table" Watch "Editable Table" New topic
Author

Editable Table

vaduganathan kumarasamy
Greenhorn

Joined: Oct 26, 2009
Posts: 8
Hi i am new in struct. I want know how to get input from table. is it possible in strut..
vaduganathan kumarasamy
Greenhorn

Joined: Oct 26, 2009
Posts: 8
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Oct 14, 2009
Posts: 21


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

vaduganathan kumarasamy
Greenhorn

Joined: Oct 26, 2009
Posts: 8
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Oct 26, 2009
Posts: 8
Hi thanks for replied. I solved that problem for using YUI tool kit.
Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
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

Joined: Sep 29, 2008
Posts: 12617

YUI is a JS framework that includes a bunch of controls.
vaduganathan kumarasamy
Greenhorn

Joined: Oct 26, 2009
Posts: 8
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Editable Table