wood burning stoves 2.0*
The moose likes JSP and the fly likes JSTL .. Set Property to save values.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL .. Set Property to save values.." Watch "JSTL .. Set Property to save values.." New topic
Author

JSTL .. Set Property to save values..

luis Fernandez
Greenhorn

Joined: May 29, 2008
Posts: 16
Hi!!

i am doing pagination, and i would like to save records/values between pages.
But i cannot use setProperty tag to save into a Bean when i trigger it (onClick event in ex.).

The code always write the property (omits the onclick), i want it to do when i trigger it..
I think it happen because tags are server side, and onclick event, client side. right?

Some ideas how to solve this situation?
I need help please.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

"Between pages" there is a submission to the server. Is that not an opportunity to save the values somewhere? The session perhaps?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
luis Fernandez
Greenhorn

Joined: May 29, 2008
Posts: 16
Yes, i use to do it through request.getParameter and so on.

but this time i'm iterating with JSTL (forEach), and using pager-taglib,..it is a recursive callback url. and i cannot get any parameter

if there could be some way to store data in some structure.. i don't know
 
GeeCON Prague 2014
 
subject: JSTL .. Set Property to save values..