Compare the code you are using:
<rich:effect event="onclick" for="modalPanelCDiv" type="BlindUp" params="duration:0.8" />
<rich:effect event="onclick" targetId="modalPanel" type="BlindUp" params="duration:0.8" />. I think that's the reason it's not working for the second case.
thanks for answering...but i beg to differ:
targets the modalPanel's inner div who's id ends with "CDiv". The CDiv suffix is added by richfaces renderer as this div is a framework's modalPanel inner element, not my own. This inner div should never be accessed directly by a developer as it is a subject to change to your likeing. The developer should not even know it exists...
is the id of the modalPanel given by the developer and this should be the right way to do it. The renderer can then redirect the effect to be applied on the "modalPanelCDiv" or on whatever component's div to make it work...
Yes, that's true. But the renderer is not able to decide what HTML element you are going to target: compare make the whole panel content fade in or just apply blind down to the content element.
Please feel free to comment the issue: https://jira.jboss.org/jira/browse/RF-6421