JSF portlet的顺序影响ice的渲染:inputRichText

时间:2013-04-19 07:18:40

标签: jsf liferay portlet icefaces

我有两个单独的JSF portlet战争,它们都有不同的版权库和配置。页面上的单个portlet工作正常,但是当我在同一页面上放置两个portlet时,如果首先放置使用ice:inputRichText的portlet,则RichText不会呈现并抛出js错误,如下所示:

Uncaught TypeError: Cannot call method 'updateValue' of undefined

虽然它的工作正常,但当使用richText的portlet放在最后时。

1 个答案:

答案 0 :(得分:1)

您使用的是什么版本的ICEfaces?

我使用ICEfaces很长一段时间,但我记得必须在facelet的根目录中包含<ice:portlet>标记,以确保每个portlet都正确命名,因此Javascript不会在不同的portlet之间发生冲突。页。