Hi, you can test for the appropriate request handler:
getRequestCycle().find(IPartialPageRequestHandler.class).ifPresent(target -> /* do things on partial page update */));
Have fun Sven On 04.04.20 23:43, Vilius Vaivada wrote:
Hey guys, I'm pretty sure I'm missing something obvious here, but I can't figure out a simple way for a component to contribute slightly different Javascript based on whether it's being rendered for a full page load or a partial Ajax response. Any clues? Thanks a lot!
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org