Re: [Trinidad] Cannot Add Item to SelectManyShuttle After Initial Rendering

2009-12-11 Thread Jakob Korherr
Hi Gregg, The problem is, that the SelectItem, which you add via javascript, is not included in SelectItemSupport.getSelectItemCount(component). Looking at the code of shuttle.js, I found out that addItem() also adds the new item to a hidden field in the form with name clientId:items. So the

Re: [Trinidad] Cannot Add Item to SelectManyShuttle After Initial Rendering

2009-12-11 Thread Rafa PĂ©rez
Maybe you can force an update of the SelectItems via PPR when the new item is added. This way, you can handle this element at server side. HTH, -- Rafa On Fri, Dec 11, 2009 at 11:14 AM, Jakob Korherr jakob.korh...@gmail.comwrote: Hi Gregg, The problem is, that the SelectItem, which you add

Re: [Trinidad] Cannot Add Item to SelectManyShuttle After Initial Rendering

2009-12-11 Thread Gregg Leichtman
I commented out the code shown below and the round trip worked perfectly, so should I conclude that it is necessary to drop this check in order to meet the contract, since I don't believe that the client programmer should have to override a package private method in order to use the addItem

[Trinidad] Cannot Add Item to SelectManyShuttle After Initial Rendering

2009-12-10 Thread gslaccts
I have a Select Many Ordered Shuttle working in a faces page. The tag documentation contract for the shuttle states: -- -- JavaScript proxies -- In some cases, developers will need to use JavaScript to manipulate or use the contents of the