• Post Reply Bookmark Topic Watch Topic
  • New Topic

Portlet Preferences  RSS feed

 
Krishna Tota
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to know what are preferences in portlets please explain in brief.



thanks
 
purni sri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

To provide a customized behaviour for different users, portelts are configured using portlet prefernces.
Portlet Prefernces are name,value pairs which are configured in the portlet.xml deployment descriptor.
To understand indepth you can read the Portlet Prefernces chapter in JSR 168 specifications. It is explained clearly.


<portlet>
--------------
-------------


<portlet-preferences>
<preference>
<name>PreferredStockSymbols</name>
<value>FOO</value>
<value>XYZ</value>
</preference>
<preference>
<name>quotesFeedURL</name>
<value>http://www.foomarket.com/quotes</value>
</preference>
</portlet-preferences>

</portlet>


Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!