stateless pages don't use redirect_to_buffer anyway
Redirect to buffer is only used when you click on a none
bookmarkable link or submit a form.

So bookmarkable url is by default one_pass_render already.
And if you don't a redirect to happen (to buffer) after a
link click.. Then you could do setRedirect(false) in the
onClick of a link right before or after you set the response
page.
Then it is also one_pass_render.
So you have all the options you want.

johan


On 4/11/06, SourceForge.net <[EMAIL PROTECTED] > wrote:
Feature Requests item #1468173, was opened at 2006-04-11 03:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1468173&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Priority: 5
Submitted By: Blake Day (blakeday)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow per-page render strategy specification

Initial Comment:
Wicket currently only allows us to set the render strategy for the entire
application.

I would like the ability to set a render strategy per page.  This is a
requirement for me to use stateless pages properly.  Imagine an online
store.  There is no reason to have sessions for the home page, category
pages, or product display pages.  Unfortunately, I cannot use the default
render strategy (REDIRECT_TO_BUFFER) for these pages because it
requires a session.

So I need to use ONE_PASS_RENDER for the simple stateless pages in my
application and REDIRECT_TO_BUFFER for the more complex pages (such
as checkout, order status, etc).

Thanks!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1468173&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



Reply via email to