Hello, stackoverflow world!
I have h:panelGrid, containing some elements.
I want to trigger an action when user clicks it and I want to trigger another action when use double clicks it.
I have the following code now:
<h:panelGrid ...>
<a4j:support event="ondblclick" actionListener="#{page.doubleClicked}"/>
<a4j:support event="onc...
Hi,
I've been using jsFunctions where I specify a queue name, but haven't been delcaring the a4j:queue's themselves. The queuing functionality seems to be working just fine, but should I be creating the a4j:queue tags?
Thanks!
...
hello !
I have this code:
<richfaces:comboBox value="#{ChoixContratBean.selectedFormule"} suggestionValues="#{ChoixContratBean.formules}">
<a4j:support event="onmouseover"action="#{ChoixContratBean.getDescriptionFormule}"
reRender="reponse" /> </richfaces:comboBox>
I would like that when the user hovers with ...
Hello,
From now on, I have this :
.....
<a4j:commandButton action="#{ChoixContratBean.Submit1}" reRender="suite" value="valider" > </a4j:commandButton>
</a4j:outputPanel>
<a4j:outputPanel display="none" id="suite">
<jsf:outputText id="reponseeFormule"............
which works. the suite panel is rerendered. But I wo...
Hi,
On selecting radio button ive to hide/show the input calendar but the problem is entire page getting refreshed.
could any one help or suggest me with the code i can use it for input calendar to hide/show using a4j
<h:selectOneRadio id="radio1Id" value="#{bean.displayDate}"><f:selectItem itemLabel="Yes" itemValue="Yes" /><f:selec...
I am trying to use <a4j:commandLink> in my JSP and I get the following error that I don't understand at all:
Exception while calling encodeBegin on component : { Component-Path :
[Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /pages/clienteAM.jsp]
[Class: javax.faces.component.html.HtmlForm,Id: clientesForm]
[Class: jav...
Hello,
I have a jsFunction that I am running, and would like javascript to be performed after re-rendering is finished. I'm guessing that the javascript in "oncomplete" is called -after- re-rendering takes place, but don't know for sure. Any thoughts?
Thanks.
...
Hi All,
I've a problem when i select option in selectonemenu it should populate the information next selectonemenu but the thing when i use a4j support it is calling second selectonemenu thrice using this code plz any one suggest me
<h:form><h:selectOneMenu value="#{testBean.item}" validator="#{testBean.checkItem}"><f:selectItems va...
Hi Everyone,
In the code below, a4j:commandLink (with id id="account-link") does not work for me all the time.
Fail Scenario (happens 1 out of approx 10 clicks) : Its clicked, the a4j:status tag (we show a moving wait bar) is invoked but the backing bean is not called. Below is the entire code. The backing bean is conversation scope....
Hey guys, i have this code below
<rich:tab id="tabProcessos" label="Processos">
<a4j:outputPanel id="processos">
<h:form>
<rich:dataTable width="800px" value="#{reservaGeralController.lstProcessos}" rendered="#{!empty reservaGeralController.lstProcessos}" var="processoHistorico" id="processosTabela">
...
Hello,
While I am working with this code:
<rich:menuItem value="AND Search" onclick="addTagAND('#{tagElement.tag}')" id="and_search">
FUNCTION:
<a4j:jsFunction name="addTagAND"
actionListener="#{interfaceContainer.documentFormActions.addTagAND}" reRender="navigation, ..."
ignoreDupResponses="true"
data="#{searchResults.graphJ...
Hello,
I try to make draggable components and to do this I am based on this example:
http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf
and i started with this example but the component does not give any indication that is draggable:
<!---------------- Indicator -------->
<rich:dragIndicator id="indicator" />
...
Click "LINK1" --> modal popsup --> enter value in text-box --> click Submit/Process
Click another link "update/cancel" --> same modal popsup --> I see the value in the text box (This is fine and if I reload the page and click the link again, the modal appears with values intact)
Click "LINK1" --> same modal popsup --> I see the value ...
Does anybody know how to intercept a a4j request using a javax.servlet.Filter?
The interception must occur before FacesServlet be called (it's why I'm planing to do it using Filter).
I'd like to know wich method will be executed on my backbean, cause I need to do a dynamic control first.
Tks!
...
I want to render 6 blocks on a page asynchronously using richfaces a4j support.
To accomplish this I have defined 6 a4j:region components and an a4j:commandLink for manual refreshing of the components.
Here is the relevant code:
<ui:define name="body">
<h:form id="dashboardform">
<div class="table_container" style="width:99%">...
Hi!
For a while now, I've been working on a JAVA-based web project, and have found this website to be very helpful on numerous occasions.
So, 'got some problems of my own now - and would appreciate if you help out!
Ok, so Here's the thing -
I'm trying to render a list of messages, each of which consists of a message title and a message...
Hello,
Let's consider this simple code:
<h:form id="myForm">
<h:inputText id="myInput">
<a4j:support event="onchange" actionListener="#{myBean.doSomething}"/>
</h:inputText>
</h:form>
this will generate the following HTML code:
<input id="myForm:myInput" type="text" name="myForm:myInput" onchange="A4J.AJAX.Submit(......
Can A4J handle a situation in which ajax call to a server ends with an exception? By handle I mean can it for instance present user with a dialog box stating that an exception has occured? The default behaviour of A4J in presence of a server side exception is to just do nothing which is somewhat misleading.
...
It seems to me that the most of the time you'd want to have ignoreDupResponse set to true on your a4j:support, a4j:commandLink, a4j:commandButton, etc. components. In which scenario it can be useful to have ignoreDupResponse set to false? Is there any performance cost of having ignoreDupResponse set to true? If not, why isn't ignoreDupRe...
The exception i'm getting is :
Caused by: java.lang.NullPointerException
at org.ajax4jsf.renderkit.AjaxRendererUtils.buildEventOptions(AjaxRendererUtils.java:267)
at org.ajax4jsf.renderkit.AjaxRendererUtils.buildEventOptions(AjaxRendererUtils.java:251)
at org.ajax4jsf.renderkit.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:220...