-
1. Re: a4j:ajax in richfaces 4
ilya40umov Jan 5, 2011 4:20 PM (in response to senthilnz)1) a4j:ajax does not have the attribute reRender in RF 4.0. It has render instead.
2) I think that the following article can help you with JSF 2.0 features
http://mkblog.exadel.com/2010/04/learning-jsf-2-ajax-in-jsf-using-fajax-tag/
-
2. Re: a4j:ajax in richfaces 4
senthilnz Jan 5, 2011 5:05 PM (in response to ilya40umov)Its still its not working after changing reRender to render.
-
3. Re: a4j:ajax in richfaces 4
ilya40umov Jan 6, 2011 2:27 AM (in response to senthilnz)1) Are you sure that version of RF 4.0 you are using supports rich:dropDownMenu tag?
2) Which version of RF 4.0 are you using?
3) RF 4.0 doesn't have any completed documentation but it has very well designed "show case" application. You can always look at this app when you need to find out about tag usage. I suppose that if some tag is not present in showcase it means that it's not present in library yet.
-
4. Re: a4j:ajax in richfaces 4
senthilnz Jan 6, 2011 6:05 AM (in response to ilya40umov)Yes, the dropDownMenu is available in richfaces 4(I've seen the tag exists in the jar). The version I'm using is snapshot as of 31.12.2010. The jar file name is richfaces-components-ui-4.0.0-SNAPSHOT.jar.
-
5. Re: a4j:ajax in richfaces 4
ilya40umov Jan 6, 2011 6:21 AM (in response to senthilnz)I guess it can be very unstable if it was done too little time ago. So you should wait for an answer from RF developers team.
-
6. Re: a4j:ajax in richfaces 4
abelevich Jan 17, 2011 3:39 AM (in response to senthilnz)this should be :
<rich:dropDownMenu xmlns="http://www.w3.org/1999/xhtml"xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
hideDelay="0" mode="client">
<f:facet name="label">#{mr.ui.get('MR_USER')}</f:facet>
<rich:menuItem label="Add #{mr.ui.get('MR_USER')}">
<a4j:ajax event="click" oncomplete="#{rich:component('AddUser') )}.show()" render="User" >
</a4j:ajax>
</rich:menuItem>
</rich:dropDownMenu>
value attribute was renamed to label attribute in drop down menu,
also you can see more details on developer demo page https://anonsvn.jboss.org/repos/richfaces/trunk/examples/output-demo/src/main/webapp/examples/dropDownMenu.xhtml
-
7. Re: a4j:ajax in richfaces 4
saini.sushant Oct 21, 2013 10:27 AM (in response to abelevich)Hi,
I have a question about JSF/Richfaces 4 which is driving me crazy. If you look at the 1 port in this tread there is an action="#{mr.reset()}" on a4j:support in Richfaces 3. When you switched to
Richfaces 4, how do we specify what action or action listener needs to be invoked on the ajax call?
-
8. Re: a4j:ajax in richfaces 4
bleathem Oct 24, 2013 9:34 PM (in response to saini.sushant)Use the listener attribute of a4j:ajax.