Thanks! On Wed, May 15, 2019 at 10:54 Maxim Solodovnik <[email protected]> wrote:
> Sure :) > > I would add some overridable method like `protected boolean > shouldAddJsCss`, returning `true` in base class > and controlling which header items will be rendered > > Or you can create separate method to render those js/css resources and > override it with empty method ... > > On Wed, 15 May 2019 at 09:01, ShengChe Hsiao <[email protected]> wrote: > > > > Dear Wicketers > > > > I have a basepage with headerpanel and footerpanel, every webpage were > > extends it. Now, I have a question, may I have a page extends basepage, > and > > without output extended js and css files? > > > > -------------------------------------------------------------------- > > -----------------------------------> > > To boldly go where no man has gone before. > > -------------------------------------------------------------------- > > -----------------------------------> > > We do this not because it is easy. We do this because it is hard. > > ----------------------------------------------------------------- > > --------------------------------------> > > If I have seen further it is by standing on the shoulders of giants. > > ---------------------------------------------------------- > > ---------------------------------------------> > > [email protected] > > > ---------------------------------------------------------------------------------------------> > > > > -- > WBR > Maxim aka solomax > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- -----------------------------------------------------------------------> We do this not because it is easy. We do this because it is hard. -----------------------------------------------------------------------> ShengChe Hsiao -----------------------------------------------------------------------> [email protected] [email protected] -----------------------------------------------------------------------> VoIP : 070-910-2450 ----------------------------------------------------------------------->
