those are factory methods, not meant to be called by you. if you want
to customize the behavior you should instead override those methods...

-igor

On Mon, Aug 4, 2008 at 12:20 PM, Edbay <[EMAIL PROTECTED]> wrote:
>
> This code does not override the list headers. I'm using 1.3.4 - what am I
> doing wrong?
>
> public class MyPalette extends Palette
> {
>        private static final long serialVersionUID = 1L;
>        public MyPalette(String wicketId, Model toEntriesModel, Model
> fromEntriesModel, ChoiceRenderer choiceRenderer, int maxRows, boolean
> allowOrder)
>        {
>                super(wicketId, toEntriesModel, fromEntriesModel, 
> choiceRenderer, maxRows,
> allowOrder);
>                this.newAvailableHeader("Available for Assigning");
>                this.newSelectedHeader("Assigned to User");
>        }
> }
>
> Thanks.
> --
> View this message in context: 
> http://www.nabble.com/Palette-header-tp12673870p18817811.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to