Hi Alberto,

It is OK to override getStatelessHint() to return 'true'.
There is a comment in InlineFrame saying that it is stateful just "to be on
the safe side":
https://github.com/apache/wicket/blob/b728c69ad42dcac9f9920ee811bdf1cc7014d0bb/wicket-core/src/main/java/org/apache/wicket/markup/html/link/InlineFrame.java#L167-L172

Martin Grigorov
Wicket Training and Consulting
Looking for a remote position with Wicket ? Contact me!
https://twitter.com/mtgrigorov


On Fri, Mar 2, 2018 at 12:13 PM, Alberto Brosich <abros...@inogs.it> wrote:

>
> Hello,
>
> I have a page containing an InlineFrame component.
>
> This page should be stateless because the content of InlineFrame never
> change.
>
> Is it a good practice override getStatelessHint() method of InlineFrame
> component?
>
> Best regards
>
> Alberto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to