This content has been marked as final.
Show 2 replies
-
1. Re: How can i get portlet instance id
engela May 3, 2007 5:24 AM (in response to mohan_chaudhari)Do you really want a different processing to be dependant on the portlet instance id? Surely your portlet code should depend on a portlet instance.
Wouldn't it be better to add a property to your portlet and depending on the value of the property you have a different processing. That way you can create portlet instances with different processing. -
2. Re: How can i get portlet instance id
mohan_chaudhari May 3, 2007 6:45 AM (in response to mohan_chaudhari)
Thanks engela,
You suggest to add a property to portlet . Is that mean adding preferences to portlet-instance.xml ? or something else ?
If it is by setting preferences then i am currently doing the exact thing if it is different please let me know.