试图做到这一点编程JSF - 如何运行代码
<a4j:commandLink ... onclick="#{rich:component('modalPanelID')}.show()"/>
这不起作用JavaScript表达式:
HtmlAjaxCommandLink commandLinkObject = new HtmlAjaxCommandLink();
...
commandLinkObject.setOnClick("#{rich:component('modalPanelID')}.show()");
任何想法,为什么和如何使它发挥作用?
Thanx。
_how_它不起作用?什么HTML生成?日志中的任何内容? – Bozho 2010-05-25 15:52:44