[richfaces-issues] [JBoss JIRA] Commented: (RF-2447) List Shuttle: problem while calling JS api
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Tue Mar 11 11:18:09 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2447?page=comments#action_12402149 ]
Ilya Shaikovsky commented on RF-2447:
-------------------------------------
sorry. There is syntax error. Should be "$('form:ls')"
But in this case in firebug log:
copyAll is not a function.
Ordering List has the same problems.
Should be fixed in both components.
> List Shuttle: problem while calling JS api
> ------------------------------------------
>
> Key: RF-2447
> URL: http://jira.jboss.com/jira/browse/RF-2447
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Ilya Shaikovsky
> Assigned To: Vladimir Molotkov
> Fix For: 3.2.0
>
>
> <rich:listShuttle sourceValue="#{toolBar.freeItems}"
> targetValue="#{toolBar.items}" var="items" listHeight="300" listWidth="300"
> sourceCaptionLabel="Available Items"
> targetCaptionLabel="Currently Active Items"
> converter="listShuttleconverter" id="ls">
> <rich:column width="18">
> <h:graphicImage value="#{items.iconURI}"></h:graphicImage>
> </rich:column>
> <rich:column>
> <h:outputText value="#{items.label}"></h:outputText>
> </rich:column>
> <a4j:support event="onlistchanged" reRender="toolBar"/>
> </rich:listShuttle>
> <button type="button" id="buttonId" onclick="$('form.ls').component.copyAll(event);">
> Press
> </button>
> $("form.ls") has no properties
> http://localhost:8080/richfaces-demo/richfaces/listShuttle.jsf
> Line 1
> But if I add "$('form.ls').component to watch list - I'm able to see object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list