掲示板

Portlet preferences

thumbnail
11年前 に mohammad azaruddin によって更新されました。

Portlet preferences

Expert 投稿: 492 参加年月日: 12/09/17 最新の投稿
HI
Initially i created one portlet with only view-mode..And now i want to add edit mode to set preferences.so i added below code in portlet.xml


<portlet-class>com.test.category.AddCategory</portlet-class>
<init-param>
<name>view-jsp</name>
<value>/html/addcategory/viewCategory.jsp</value>
</init-param>
<init-param>
<name>edit-jsp</name>
<value>/html/addcategory/edit.jsp</value>
</init-param>

<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-mode>edit</portlet-mode>
</supports>
<portlet-info>

after deploying only look and feel and configuration is available as before.
But if i create new portlet with both view and edit mode then preference option is available..

Thank you
thumbnail
11年前 に mohammad azaruddin によって更新されました。

RE: Portlet preferences

Expert 投稿: 492 参加年月日: 12/09/17 最新の投稿
HI
I solved itemoticon

I stop the server,deleted two folders work and temp and restart the server
Is this exact solution for this problem.......?emoticon


Dont know why this error occuredemoticon Can any one tel why this happened so that it may be helpfull to someone elseemoticon