[jboss-user] [JBoss Portal] - Re: 2 identical portlets in the same page
do-not-reply at jboss.com
Thu Mar 22 12:07:42 EDT 2007
You should not be storing any data in fields in the portlet class (instances of that class are created as needed, and possibly pooled, by the portlet container), you should be storing the data you are gathering into the preferences instead. Your doView method can then access the data from the preferences. Preferences have the added benefit that they are persistent so if the portal is restarted they are still there.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030696#4030696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030696
More information about the jboss-user