
曾经写过一个6.1的弹出层的博客:《Liferay 6.1开发学习(十三):弹出层/弹出对话框的使用》。Liferay更新到6.2之后,在UI层采用了Bootstrap,所以很多写法有变化,弹出层的写法也是一样的。之前那篇博客里面的除了最后一个外,其他的都不能再使用。 在6.2里面如果要使用弹出层,需要使用如下的代码: AUI().use('aui-modal',function(A) { var modal = new A.Modal( { //bodyContent: '正文件', contentBox:'#bodyContent', //srcNode : '#bodyContent', centered: true, headerContent: '<h3>Modal header</h3>', modal: true...

