Platform:RSA 7.0 Using IBM-JSF Implementation ( JSF 1.1) Uses Extended ibm jsf components
Problem:I need to call a managed bean action() when input box event changes ,I need to output a text based on some business logic. Tag I am working with:<hx:ajaxRefreshSubmit>
Currently I know a method to call setter method of property i want to change,but my aim is to call an arbitary function in my managed bean,so us to update the output text.Input box has an hx:behaviour attached to it.And output box is inside a panelbox(for ajax updates enabling).
You cannot call an arbitrary method in a JSF backing bean from a web client, because the architecture doesn't support it. JSF web pages aren't some sort of magic, they're HTML, transferred via HTTP and subject to the restrictions of HTTP. The server-side framework is designed to respond to the HTTP requests in a certain way and according to a specific request lifecycle desfinition.
However, you can do an awful lot within that framework. While the only logic methods you can invoke are listeners and action processors, you can specify what parts of the client page will be sampled and updated when a server method is invoked. I've done some pretty powerful things with just basic property mutations and action methods.
I don't know anything about how IBM manages this capability, but the RichFaces tag framework makes it quite easy, so I know it can be done. Like I said, I've done it. I could definitely do what you're trying to do.
An IDE is no substitute for an Intelligent Developer.
Joined: Dec 30, 2007
Tim the problem is that IBM RSA 7.0 is not supporting RichFaces
So inorder to call ajax functions.
Lead me through this
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Calling a backing bean function when inputtext value changes