Questions tagged [ajax4jsf]

Ajax4JSF is part of the RichFaces framework. It helps to add Ajax behaviour to JSF pages.

Ajax4JSF is part of the RichFaces framework. It helps to add Ajax behaviour to JSF pages.

It was initially developed as a standalone component library. Later it was taken over by RichFaces and integrated in RichFaces. The original Ajax4JSF components are still referenced by the <a4j:xxx> namespace.

Related tag info pages

505 questions
4
votes
2 answers

Duplicate Id. JSF

I have a problem with JSF. Can anyone say why this doesn't work?
mykola
  • 1,736
  • 5
  • 25
  • 37
4
votes
2 answers

Single f:viewParam fails validation on postback (ajax) requests on a ViewScoped bean

I'm passing one request parameter to a facelet page which is processed in the corresponding preRenderView event/listener :
fjnoguero
  • 41
  • 2
4
votes
2 answers

How to use a4j:commandLink with action attribute AND oncomplete attribute to fire some JavaScript?

I have some code that I have managed to get working in Chrome, IE8, but not FireFox. BTW: my a4j: namespace is a: The idea is simple, you want to be notified when item is out of stock so you enter your email and we replace the tiny form with a…
JoJo
  • 4,643
  • 9
  • 42
  • 65
4
votes
2 answers

Which event to use on a to cover all changes

I want to update an icon immediately while the user enters a value into a . I have the following makup:
cssdata
  • 153
  • 2
  • 9
3
votes
0 answers

Problems with page layout after migrating to JSF 2.0, RichFaces 4.1.0 Final

I have updated my project to richfaces 4.1.0 and JSF 2.0. I have abviously changed the maven dependencies, updated web.xml, faces-config.xml, swtiched from *.jsp files to *.xhtml files, updated all head,body,form to h:head, h:body, h:form. However,…
srd.pl
  • 571
  • 10
  • 22
3
votes
2 answers

Seam action resolved to null after validation in IE

For my current project I'm working with JSF, Seam and Hibernate and I have an issue with seam. I created an XHTML-file with an input field (for productionMonth) and I defined a validator on it to ensure the correct user-input. I also enabled ajax…
dirkvranckaert
  • 1,364
  • 1
  • 17
  • 30
3
votes
1 answer

Every time I make an Ajax request in JSF2 I am getting a new session bean,why?

Hi I am getting a new session bean for every ajax request made to this Bean... Can any of you tell me why ? ...... imports ...... @Named(value = "userController") @SessionScoped public class UserController implements Serializable { private User…
Cristiano Fontes
  • 4,920
  • 6
  • 43
  • 76
3
votes
2 answers

can a4j:support have more than one value in the event attribute?

can a4j:support have more than one value in the event attribute?
Ontonomo
  • 527
  • 1
  • 8
  • 12
3
votes
1 answer

Passing parameter to a4j:function

How can I pass parameter to a4j:jsFunction from javascript, I want to call categoryChanged and whatever I put there - even explicit String, parameter is not visible on bean side. Here is js code: $(function() { $( "#resizable" ).resizable(); …
Gadolin
  • 2,636
  • 3
  • 28
  • 33
3
votes
2 answers

Sending parameter to a Controller

I got this: Street And on my Bean, I got a method: public void…
Gondim
  • 3,038
  • 8
  • 44
  • 62
3
votes
2 answers

JSF session scope beans with Tabbed browsing

We have the following problem... Application's environment: JSF, Richfaces, a4J Consider having the following scenario: The user logs into the system The user navigates to a new page which consists of an a4j form containing a4j components, the user…
Ahmed Mounir
  • 1,322
  • 2
  • 12
  • 19
3
votes
1 answer

Why usage of any a4j element in jsf add to page code second body and head tags?

In my jsf page code I have a structure similiar to this one : …
Artur Skrzydło
  • 1,135
  • 18
  • 37
3
votes
1 answer

For a4j:jsFunction, does reRender or oncomplete happen first?

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…
Jon Onstott
  • 13,499
  • 16
  • 80
  • 133
3
votes
1 answer

Dynamically changing the visibility of the JSF components

My requirement is like this: I am having a text input and whenever a value change event occurs, a select many list box has to be populated. If there is no matching records found, then a text input has to appear instead of a select many list box. …
Suresh
  • 31
  • 1
  • 2
3
votes
1 answer
1 2
3
33 34