Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts 1 Form data in tabs

Status
Not open for further replies.

simasi

Programmer
Oct 1, 2009
20
US
I am using struts 1. I have Adobe SPRY tabs in my JSP.

There are two separate set of fields/ data in each tab. So suppose someone changes fields in Tab 2 only and save the JSP, I do not want to save the tab 1 fields also because those fields are not changed.

I was wondering if there is any way I can distinguish that only TAB 2 fields are changed so that I can process only those fields in action instead of processing all the JSP form fields.

I would appreciate some inputs!
 
I get you can do this with a little client-side javascript, setting a flag when something happens or at server-side comparing the values with the stored ones

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top