-
1. is ajaxSingle still available in richfaces 4?
ilya40umov Jan 9, 2011 2:19 PM (in response to senthilnz)Look at the following article:
http://community.jboss.org/wiki/A4jCoreComponentsRequirements
It clearly explains a4j in RF 4.0.
ajaxSingle ~~~ execute="@this"
-
2. is ajaxSingle still available in richfaces 4?
senthilnz Jan 9, 2011 6:30 PM (in response to ilya40umov)Hi Illya,
Thanks a lot!! that's really the one I was looking for. I'm very much thankful for you and to this forum which is very well interactive forum.
Regards,
SK
-
3. Re: is ajaxSingle still available in richfaces 4?
fuchs82 Sep 19, 2011 9:16 AM (in response to senthilnz)In RF 3.3 there was a ajaxSingle attribute available on a form tag which is no longer available in RF 4.x.
The solution with execute="@this" does not work here, as there is no execute attribute on a form tag.
I could imagine a solution where I add execute="@this" to all subsequent ajax controls inside the form. But that's not a good solution in my case, as I got some bigger ui:includes inside the form.
Is there a better solution or did I miss something?
Second Question: What about the bypassUpdates attribute on a form tag? It was supported by the a4j:form in 3.3.
Thanks very much,
Felix
-
4. Re: is ajaxSingle still available in richfaces 4?
ilya_shaikovsky Sep 19, 2011 12:47 PM (in response to fuchs82)form tag in 3.3 was introduced to enable ajax communication for components which are not supports Ajax through a4j:support addition(t:dataScroller). Now when the behaviors standartized - it's not the case. So form is removed from library.
I could imagine a solution where I add execute="@this" to all subsequent ajax controls inside the form. But that's not a good solution in my case, as I got some bigger ui:includes inside the form.
wrap all of them via single ajax instead of addition of the subsequent behaviors to every component.
-
5. Re: is ajaxSingle still available in richfaces 4?
fuchs82 Sep 20, 2011 4:29 AM (in response to ilya_shaikovsky)Thank you for your fast reply.
Here is my code. Is this what you meant?
Old code:
<h:form ajaxSingle="true" bypassUpdates="true">
<ui:include src="./subpage.xhtml"/>
</h:form>
New Code:
<h:form>
<a4j:ajax bypassUpdates="true">
<ui:include src="./subpage.xhtml"/>
</a4j:ajax>
</h:form>
Thank you,
Felix
-
6. Re: is ajaxSingle still available in richfaces 4?
ilya_shaikovsky Sep 30, 2011 3:38 PM (in response to fuchs82)no..
<a4j:ajax execute="@this">
but in that case all the controls inside will be "ajax single" or define at every behavior where need.