[jboss-user] [JBoss Portal] - Re: unable to see java portlet instence
piergiorgiolucidi
do-not-reply at jboss.com
Tue Mar 3 10:40:06 EST 2009
I think it could be depend on settings on your portlet-instances.xml file.
If you have declared "if-exists" tag for this portlet in your portlet-instances.xml in this way:
| <if-exists>overwrite</if-exists>
| <instance>
| <instance-id>YourPortletInstance</instance-id>
| <portlet-ref>yourApp.yourPortlet</portlet-ref>
| </instance>
|
You are telling the container to destroy any existing object and create a new one.
If would you like the container retains any existing copy and creates a new instance, then you must set "keep" as value of this tag, in this way:
| <if-exists>keep</if-exists>
| <instance>
| <instance-id>YourPortletInstance</instance-id>
| <portlet-ref>yourApp.yourPortlet</portlet-ref>
| </instance>
|
Try this ;)
Hope this helps
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214585#4214585
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214585
More information about the jboss-user
mailing list