Re: How to add filter to palette component?

2009-06-23 Thread Rangel Preis
Thanks Fernando and Eyal. But it's not work. I try the code below, when I change the value of avaliable itens the itens in the screen became blank , and don't show the new value. Custem Palette class MyPalette extends Palette { private Component externalizedChoiceComponent;

Re: How to add filter to palette component?

2009-06-23 Thread Eyal Golan
It looks just like what I did. Did you break-point at public Object getObject() { return this.avaliableList; } ? or at avaliableList = getNewList(); Is the list full? Maybe you should try AjaxSubmitLink (Just a thought. I don't use it that often)? Eyal Golan

Re: How to add filter to palette component?

2009-06-23 Thread Rangel Preis
Golan... the object have the correct value in code, but in the page it's blank. 2009/6/23 Eyal Golan egola...@gmail.com: It looks just like what I did. Did you break-point at public Object getObject() {               return this.avaliableList;           } ? or at avaliableList =

Re: How to add filter to palette component?

2009-06-23 Thread Eyal Golan
BTW, here the whole code of the palette creationg: private CustomPalette newSelectedSection(final Form form) { final RolesCoverageDasboard rolesCoverageDasboard = (RolesCoverageDasboard) getModelObject(); final IChoiceRenderer choiceRenderer = new

How to add filter to palette component?

2009-06-22 Thread Rangel Preis
Hi, how can i filter the possible choices in the palette component i read the topics below put it not helpful for me. http://www.nabble.com/how-to-add-filter-for-Palette-choice-td23269578.html#a23269578 http://www.nabble.com/changing-choices-component-in-Palette-td23982514.html#a23982514 I have

Re: How to add filter to palette component?

2009-06-22 Thread Fernando Wermus
If I understood correctly you would want to do this (which It can be found at Palette comments at the begining) strongAjaxifying the palette/strong: The palette itself cannot be ajaxified because it is a panel and therefore does not receive any javascript events. Instead ajax behaviors can be

Re: How to add filter to palette component?

2009-06-22 Thread Rangel Preis
Sorry Fernando but it's not helpful. When i click in my search button (a button out of palette) i want to change all data from the left side of palette (Available itens). I don't want to interact with the palette buttons i want to use a button out of the component. Using PropertyModel