Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

RAD 7.5 and AJAX question  RSS feed

 
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.
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!