how can cha开发者_Python百科nge the style (css) of the Wicket extension Wizard (org.apache.wicket.extensions.wizard)? Is there a common way?
Thanks
There is Wizard.css next to Wizard.java. Just override org.apache.wicket.extensions.wizard.Wizard.addDefaultCssStyle(IHeaderResponse) so that it uses your own .css and it should work.
we can disable the default css by overriding the Wizard constructor in your sub class of the wizard. ex:
public class MyWizard extends Wizard {
public MyWizard(String id)
super(id,false)// by passing the false we can disable the default css
}
精彩评论