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 <front...@gmail.com> 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. > ---------------------------------------------------------- > ---------------------------------------------> > front...@gmail.com > ---------------------------------------------------------------------------------------------> -- WBR Maxim aka solomax --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org