Hi Marieke, in a similar situation I chose to send the components that should be presented in the modal window in the markup, hidden by the page CSS, and to create a modal window to show them using purely javascript.
cheers Pedro Santos On Thu, Jun 29, 2017 at 11:33 AM, Marieke Vandamme <marieke.vanda...@tvh.com > wrote: > Hi, > > This is working. Thanks ! > Do you also have a solution for the ModalWindow, or isn't that possible. > > > 2017-06-29 16:06 GMT+02:00 Andrea Del Bene <an.delb...@gmail.com>: > > > Hi, > > > > try to override getStatelessHint also for the internal behavior used by > > AutoCompleteTextField. you have to override > > AutoCompleteTextField#newAutoCompleteBehavior and make it return > something > > like this: > > > > return new AutoCompleteBehavior<T>(renderer, settings) > > { > > private static final long serialVersionUID = 1L; > > > > @Override > > protected Iterator<T> getChoices(final String input) > > { > > return AutoCompleteTextField.this.getChoices(input); > > } > > > > @Override > > protected void updateAjaxAttributes(AjaxRequestAttributes > > attributes) > > { > > super.updateAjaxAttributes(attributes); > > > > AutoCompleteTextField.this.updateAjaxAttributes( > > attributes); > > } > > > > @Override > > protected boolean getStatelessHint(Component component) > > { > > return true; > > } > > }; > > > > On Thu, Jun 29, 2017 at 12:19 PM, Marieke Vandamme < > > marieke.vanda...@tvh.com > > > wrote: > > > > > And maybe even a more difficult one, is it possible to make ModalWindow > > > stateless? > > > Thanks again ! > > > > > > > > > Met vriendelijke groeten, Salutations distinguées, Kind Regards, > > > > > > > > > *MARIEKE VANDAMMECORPORATE SERVICES* • *Domain Coordinator* > > > T +32 56 43 42 45 <+3256434245> • F +32 56 43 44 46 • > > > marieke.vanda...@tvh.com > > > > > > *TVH GROUP NV* > > > Brabantstraat 15 • BE-8790 WAREGEM > > > T +32 56 43 42 11 <+3256434211> • F +32 56 43 44 88 • www.tvh.com > > > View our company movies via downloads on our website. > > > > > > 2017-06-29 12:05 GMT+02:00 Marieke Vandamme <marieke.vanda...@tvh.com > >: > > > > > > > Hi, > > > > > > > > I'm using Apache Wicket 7.7.0. > > > > Is it possible to make AutoCompleteTextField Stateless? > > > > I'm using StatelessChecker in my application and @StatelessComponent > > on > > > > my Panel. > > > > I've overridden getStatelessHint for the AutoCompleteTextField to > > return > > > > true. > > > > But the StatelessChecker is complaining: > > > > java.lang.IllegalArgumentException: '[CategorySearchPanel [Component > > id > > > = > > > > searchPanel]]' claims to be stateless but isn't. Offending component: > > > > [AutoCompleteTextField [Component id = searchTxt]] > > > > > > > > Thanks ! Kind Regards, Marieke > > > > > > > > > > -- > > > > > > > > > **** DISCLAIMER **** > > > > > > http://www.tvh.com/glob/en/email-disclaimer > > > > > > "This message is delivered to all addressees subject to the conditions > > > set forth in the attached disclaimer, which is an integral part of this > > > message." > > > > > > > -- > > > **** DISCLAIMER **** > > http://www.tvh.com/glob/en/email-disclaimer > > "This message is delivered to all addressees subject to the conditions > set forth in the attached disclaimer, which is an integral part of this > message." >