This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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.