I find myself using p:remoteCommand as a means for one panel to trigger changes in another, e.g. picking a row on one panel triggers a save and switch on another. This generally results in a second transaction, but I think it allows for a more controlled interaction between panels.
What I could do with is to switch these p:remoteCommand items on and off, according to the state of the panel on the receiving end, thus saving an unecessary transaction. It would be pretty easy to implement, just generate everything except the content of the javascript function when the enable evaluates to false.
How about an enable on p:remoteCommand
-
- Information
-
Who is online
Users browsing this forum: No registered users and 63 guests