[richfaces-issues] [JBoss JIRA] Created: (RF-3740) componentControl: parameters cannot be passed to JS API function using "params" attribute or f:param.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Jun 18 10:53:37 EDT 2008


componentControl: parameters cannot be passed to JS API function using "params" attribute or f:param.
-----------------------------------------------------------------------------------------------------

                 Key: RF-3740
                 URL: http://jira.jboss.com/jira/browse/RF-3740
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: IE, FF, Opera, Safari(3.2.2)
            Reporter: Mikhail Vitenkov
         Assigned To: Nick Belaevski


Step 1. Add link on the page with progressBar component:
<a href="#" id="setLabelID">setLabel</a>
Step 2. Bind this link with rich:progressBar through the componentControl:
<rich:componentControl attachTo="setLabelID" event="onclick" for="progressBarID" operation="setLabel" params="{label:setLabel work!}">		
	</rich:componentControl>
or
<rich:componentControl attachTo="setLabelID" event="onclick" for="progressBarID" operation="setLabel">
	<f:param name="label" value="setLabel work!" />	
	</rich:componentControl>
Step 3. Navigate to the page.
Step 4. Run progressBar.
Step 5. Stop progressBar(set disabled="true").
Step 6. Click "setLabel" link.

Actual behavior:
Label isn't changed.

-- 
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