[richfaces-issues] [JBoss JIRA] Created: (RF-2447) List Shuttle: problem while calling JS api

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Mar 10 14:59:57 EDT 2008


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