Hi, I'm looking for an easy way to call a bean's method that will take no parameters and return a string in JSF. The thing that I don't really need is that the method returns an action result and then uses the whole JSF life-cycle to do get me to another view. I need to do that from JavaScript so that I can put together some client-side parts of the application and going over the A4J part of RichFaces has brought me nothing so far.
So here's the scenario again in a step-by-step form:
- from JS issue a GET on some address
- on the server process that GET and return JSON or HTML (basically a string)
- once the request is sent back to the client I want to be able to process it further with JS.
Thanks!