wicket extensions: Palette

2009-02-19 Thread Vasily Vasilkov
Hi I use the Palette component and I need to fill both palette's lists when I create palette. For example, a have ListString availableValues = new ArrayListString(); // add 5 strings into this list ListString selectedValues = new ArrayListString(); // add 3 strings creating palette (this is

Re: wicket extensions: Palette

2009-02-19 Thread Vasily Vasilkov
I've done it! Two reasons why it didn't work: 1) Select list has to be sub-list of available list (thank you, Igor and Nino) 2) idExpression parameter has not to be null (e.g. new ChoiceRenderer(blah-blah-blah, null) didn't work correctly)

The same *.css and *.js on multiple pages

2009-02-06 Thread Vasily Vasilkov
Hi I have a few *.css and javascript files. These files are used by all pages of my application. Sometimes, I need to change (add/remove) files in header of my pages. So, what is the easiest way to do this? P.S. Will HeaderContributor help me?