Meaningless Drivel is fun!
The moose likes JSF and the fly likes RAD 7.5 and AJAX question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "RAD 7.5 and AJAX question" Watch "RAD 7.5 and AJAX question" New topic

RAD 7.5 and AJAX question

Dan MacLeod
Ranch Hand

Joined: Mar 19, 2009
Posts: 30
I have RAD 7.5 with a JSF web app.

My page has an input field, comboBox and a button. The comboBox displays a list of values that are in a session variable. When the user enters a new value into the input field and clicks a button, I'd like to use AJAX to add the new variable to my session values. How can I get AJAX to call a server side method?


Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
RAD is just an IDE. A development tool. Like Notepad. This is irrelevant in this question.

So you just want to add Ajaxical powers to a JSF webapplication? I can recommend you to take a look for RichFaces or at least its 'sublibrary' Ajax4jsf. It enables seamless Ajax interaction using JSF components. You may find this developer's guide useful:
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

As Bauke mentioned this can be easily implemented by using richFaces.

My Blog SCJP 5 SCWCD 5
I agree. Here's the link:
subject: RAD 7.5 and AJAX question
It's not a secret anymore!