This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "RAD 7.5 and AJAX question" Watch "RAD 7.5 and AJAX question" New topic
Author

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?

thanks

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: http://www.jboss.org/jbossajax4jsf/docs/devguide/en/html/index.html
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: http://aspose.com/file-tools
 
subject: RAD 7.5 and AJAX question