Hi, this seems to be a frequent use case, wouldn't there be a good fit
for some shorthand method?
Like
/getRequestCycle().onAjax(t-> {});/
boolean getRequestCycle().isAjax();
?
Vit
On 4/4/20 11:51 PM, Sven Meier wrote:
Hi,
you can test for the appropriate request handler:
getRequestCycle
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,
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!
This is WebSocketAwareCsrfPreventionRequestCycleListener who is unhappy :(
Thanks for the hint :))
On Sat, 4 Apr 2020 at 20:07, Maxim Solodovnik wrote:
> As usual everything works in test :(
> Going to check what is the difference
>
> Shall I commit basic test to master?
>
> On Sat, 4 Apr 2020 a
As usual everything works in test :(
Going to check what is the difference
Shall I commit basic test to master?
On Sat, 4 Apr 2020 at 17:32, Sven Meier wrote:
> Hi Maxim,
>
> > lastRendered page === 'null' after submit
> > Maybe I'm doing something wrong?
>
> it seems so. Check the log output
Hi Maxim,
> lastRendered page === 'null' after submit
> Maybe I'm doing something wrong?
it seems so. Check the log output and/or provide a testcase please.
Have fun
Sven
On 04.04.20 07:35, Maxim Solodovnik wrote:
Hello All,
I'm trying to to test Wizard with WicketTester
Wizard is the compo
Jquery-ui WYSIWYG editor do clean-up of html on server
Custom js before submit is possible (the simpliest way is to store result
of such function in hidden field onchange)
On Sat, Apr 4, 2020, 16:00 Korbinian Bachl
wrote:
> Hello Maxim,
>
> thank you for the list. However, beside that tinymce3
Hello Maxim,
thank you for the list. However, beside that tinymce3 + 4 are quite outdated
isn't there anything non html-wysiwyg existing so far?
My problem is that, after we use tinymce in another part of the project we made
the experience that letting non-tech people write HTML (even in WYSIWY