This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have this issue i have been researching on for long and can not figure out what to do.
<display:table> - is used to display table of list of some Accont Objects.One column is rendered by a decorator and is a clickable link made usng < ah ref> tags.
Once clicked , its makes GET requuest and sends an id(specific to that object in row) as @RequestParam in its URL which is captures in Controller .
Now all i want to do is hide that @RequestParam from URL .
How can i do using hidden variables and POST data ,hiding id from user-visibility.
One alternative which is big change and doesnt seem a good idea was, send the list and send some encrypted id as RequestParam
and use it again in controller .
Well, it actually isn't a Spring solution. This is about how do you send the id as a hidden field. Well it is an HTML question. So, with that I am going to send this to the HTML forum.
In the end when you post a <form> in html the form values come over either as a bound object, if you bind a domain object, or just as hidden request params. Then you can use either your domain object or @RequestParam in your controller method, that is the only part that is Spring related to your question.
Moving this to html to show how you can add <form>s to your table.