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
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
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
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
4 matches
Mail list logo