Persisting Tapestry Zone -


i have zone in tapestry displays results of search query in grid. when search item clicked redirected page. able hit button , still have search query there. sessionstorage best option? if how persist tapestry zone/grid such?

instead of persisting results (zone/grid, i'm not sure possible) better persist input: search parameters.

using session storage best option in terms of simplicity, has own drawbacks, i.e. search results page not bookmarkable. not mention over-use of mutable server state may lead other issues: ux (work 2 browsers tabs), performance (if have large user base and/or clustered deployment), etc.

i'd try serialise search parameters in url query string. if need support browser button -- use javascript history api.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -