Spring mvc controller getting multiple rows values -
I have more than one input value, can be 1, 10, 20 or 100 or more rows and column 3 or More can be shown
Question:
1) How do I get the values of each row in the spring controller? I need exact values for all the relevant values. I.e .: Line 1 expense activities match the accounts and related details. Here are the expenditure activities, account drop-down boxes and the details are text fields.
2) I have another tab which is named expenditure which is similar to the salary shown in the income. How to get the value of multiple blocks
I am using Spring MVC with XP-JS because Front End Technology
Due to lack of detail about this, your questions are very difficult. Similarly in Spring-Amp Applications, I have written that I am using a restroom proxy supported store to return my Extruded Grid. This will give you some client-server communication for free. Try to read more on the Ext js side:
A good proxy It is not very difficult to extend it to use, which is how you set up your grid for a good client-server communication.
Then in your spring controller you can implement and annotate the methods for the CRUD functions that the XP proxy will send the requests.
An easy guide to start writing a cool web service with spring:
In my special case (and I'm guessing here Because I'm not 100% sure what you are asking) you will need a spring control method that is annotated with something:
@RequestMapping (value = "/ expense", method = RequestMethod.GET)
Whatever business logic you want to load the grid and the data structure as a JSN object Not used to have, take it back.
You will only do a spring control method for updates from the client, just anotated like this time:
@RequestMapping (value = "/ expense", method = RequestMethod.POST) For or
@RequestMapping (value = "/
Obviously if you have more data structures then JSON objects sent to the wire will be extremely complex.
/ P >Hopefully this will set you to pat. H.
Comments
Post a Comment