掲示板
Portlet preferences
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
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
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