This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have two panelGroups in my page as shown below and a command button. On click of the button, I am trying to update both the panels. Which is not happening now.
If I give only one panel in the TargetAction of behaviour, it works fine but not with both the panel ids.
Can any one let me know why if there is anything obvious I am missing?
You;ll have to RTFM, I'm afraid. I don't know anything about that tagset.
Most likely you're using the wrong separator character between target names on your targetAction attribute, but since there's not only no standard for stuff like that, but cases I've seen where the standard varies depending on what you're working with....
All you can do is read the vendor's documentation.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jan 27, 2010
What does RTFM mean?
I am using IBM provided tagset for JSF. I am developing using RAD 7.5.4 , application running on IBM WebSphere Portal 6.1.2.
About the seperator, I have tried using comma, semi colon and space. None of them work.
RTFM is geek speak for Read The Fine Manual - or sometimes a less polite variation, but this is the JavaRanch.
Your use of IDE or appserver doesn't have any significance for this problem. The only thing that matters is that you use the hx tagset properly. And for that, you really will have to read the vendor docs, since I've never used it and don't know anything about it. So the only way I could answer would be if I RTFM'd.
Joined: Jan 27, 2010
I got this working now. The following is the piece of code that works. The changes I did are highlighted in bold.
If we are mentioning more than one targetAction's then we should mention the same numbr of behaviourActions. And also, only the first targetAction needs to be sumbitted to refresh the panel addressGroup, the other just needs to be refreshed to update the summaryGroup panel so the change of ajax request from submit to refresh.
Hope this helps to somebody over there.