Foren
Portlet preferences
mohammad azaruddin, geändert vor 11 Jahren.
Portlet preferences
Expert Beiträge: 492 Beitrittsdatum: 17.09.12 Neueste Beiträge
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
mohammad azaruddin, geändert vor 11 Jahren.
RE: Portlet preferences
Expert Beiträge: 492 Beitrittsdatum: 17.09.12 Neueste Beiträge
HI
I solved it
I solved it
I stop the server,deleted two folders work and temp and restart the server
Is this exact solution for this problem.......?
Dont know why this error occured Can any one tel why this happened so that it may be helpfull to someone else