This content has been marked as final.
Show 4 replies
-
1. Re:
nbelaevski Feb 10, 2009 5:56 PM (in response to thomas.m)Hello,
Please check whether id='eventExportPanel' component exists in view and is rendered to the client. -
2. Re:
thomas.m Feb 10, 2009 7:29 PM (in response to thomas.m)Yes it is, I see it in the HTML output. And I see the panel being refreshed as I put breakpoints in the panel getters... Only the oncomplete part with the panel being shown is not working.
-
3. Re:
thomas.m Feb 10, 2009 9:31 PM (in response to thomas.m)I did a quick test and replaced oncomplete="#{rich:component('eventExportPanel')}.show() with oncomplete="alert('toto'); and it works...
Maybe it's the rich:component part that does not work well ? -
4. Re:
thomas.m Feb 10, 2009 11:00 PM (in response to thomas.m)I found the solution to this problem.
For those who are interested I replaced this code :#{rich:component('eventDrawingLotDetailPanel_10')}.show()
or#{rich:component('eventDrawingLotDetailPanel_10')}.hide()
by this oneRichfaces.showModalPanel('eventDrawingLotDetailPanel_10');
orRichfaces.hideModalPanel('eventDrawingLotDetailPanel_10');
on dataTable buttons and it works. I still don't know why the previous implementation did not work, since it worked on one of the two tabs...
Maybe this should be investigated.