• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RAD 7.5 and AJAX question

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As Bauke mentioned this can be easily implemented by using richFaces.
 
I'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic