This content has been marked as final.
Show 2 replies
-
1. Modal panel on If Condition Richface 3.3
ilya_shaikovsky Apr 18, 2011 4:33 AM (in response to jobmathew)1) should be
oncomplete="if(#{testcaseBean.showModalPanel}) Richfaces.showModalPanel('modalPanel')"
i guess.
2) that is not possible to call server side action from client event handler attribute.
see that example where modal getting hidden conditionally according to server side condition.
oncomplete="if (#{facesContext.maximumSeverity==null}) #{rich:component('editPanel')}.hide();"
you need to use something similar.
-
2. Modal panel on If Condition Richface 3.3
jobmathew Apr 19, 2011 4:16 AM (in response to ilya_shaikovsky)Thank you so much llya..
The problem is fixed by modifing the code like this as you mentioned
if(testcaseBean.showModalPanel==true)