jsFunction « RichFaces « JSF Q&A

1. jsFunction pass data to backingbean    stackoverflow.com

I have a javascript that is calling a function addData(param1,param2,param3,param4) which is calling addClip at the end And I need to pass those to a backing bean.

    <a4j:jsFunction name="addClip" ...

2. Calling another a4j:jsFunction in an a4j:jsFunction oncomplete event    stackoverflow.com

I define some java script function which will call the back-end functions using a4j:jsFunction.For example :

<a4j:jsFunction name="function1"  action="#{Bean1.action1}" oncomplete="function2();"/> 

<a4j:jsFunction name="function2"  action="#{Bean1.action2}" oncomplete="SomeJSFunc2();"/> 
Then in the a4j:commandButton , ...

3. Problem with richfaces a4j:jsFunction    stackoverflow.com

<h:selectManyCheckbox id="accountGroup" layout="pagedirection" 
   value="#{xxx.accountGroup}" style="FONT-SIZE: 11px;" 

   <f:selectItem itemValue="0" itemLabel="Select All" />
   <f:selectItems value="#{xxx.userGroup}" />

   <a4j:jsFunction name="fireAjax" action="#{xxx.groupChanged}" 

4. Sending a callback to JSF a4j:jsFunction oncomplete event    stackoverflow.com

I am trying to make call to JSF functions in my app more dynamic. Instead of static way of writing callback functions to oncomplete event by hand, I wish to send ...

5. How to pass return value of Java call out from     community.jboss.org

Suppose myJavaMethod() in Java code returns a String -- "Merry Christmas!", the same String should be passed to JavaScript to variable greeting. But I got undefined value.

7. Richfaces + jsFunction + radioButton    coderanch.com

Hello, I have an ajax form with radio, inputText and an ajax function (via jsFunction) inside it. This ajax function invokes a method (via action) from my backing bean to retrieve some data that I need (some data are within the form view, so the jsFunction must be inside the form too). The problem: when an ajax function is called for ...