フォーラム

ホーム » Alloy UI » English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Drew Blessing
aui:panel and aui:tool issue
2012/10/08 17:01
答え

Drew Blessing

ランク: Junior Member

投稿: 79

参加年月日: 2011/01/27

最近の投稿

I am testing the following code to try and get an AUI panel with some tools in the panel bar. According to what I've seen, such as in JIRA ticket 5935 this is the proper way to use the tags together:

1<aui:panel collapsible="<%=true %>" id="sample-panel-1" label="my-panel-1">
2    <aui:tool icon="info" id="info-tool" handler="this.set('bodyContent', defaultText);" ></aui:tool>
3    My panel content1!
4</aui:panel>


However, this results in an exception:
123:57:01,776 ERROR [http-bio-8080-exec-12][IncludeTag:253] Current URL /web/guest/what-we-do generates exception: com.liferay.taglib.aui.ToolTag cannot be cast to com.liferay.taglib.aui.ToolTag
223:57:01,788 ERROR [http-bio-8080-exec-12][IncludeTag:154] java.lang.ClassCastException: com.liferay.taglib.aui.ToolTag cannot be cast to com.liferay.taglib.aui.ToolTag

Can anyone suggest some reasons this may be happening? I'm using SDK 6.1.1 and Liferay Portal 6.1.1.

Thanks for your help.