You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "reiern70 (via GitHub)" <gi...@apache.org> on 2023/06/05 11:06:16 UTC

[GitHub] [wicket] reiern70 commented on pull request #592: Improvement/ernestosemedt/wicket 7059

reiern70 commented on PR #592:
URL: https://github.com/apache/wicket/pull/592#issuecomment-1576585659

   > In my project, we usually do this when we don't want a page to be serialized after an ajax request:
   > 
   > ```java
   > private void untouchPage(Page page) {
   >   if (Session.exists()) {
   >      // Do not re-serialize page
   >      Session.get().getPageManager().untouchPage(page);
   >   }
   > }
   > ```
   > 
   > Did you consider this approach as well?
   
   No. You do this after each AJAX request?
   
   I just want to be able to mark some requests as "do not generate" a page serialization.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org