Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

RAD 7.5 and AJAX question

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Bauke mentioned this can be easily implemented by using richFaces.
 
That feels good. Thanks. Here's a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic