-
1. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 11, 2008 6:41 PM (in response to julien1)what needs to be done in the short term:
1/ extend encoder/decoder to implement resource serving urls
2/ extend encoder/decoder to implement public navigational state changes
3/ extends PortalObjectCommandFactory and PortalObjectURLFactory to take in account the InvokePortletWindowResourceCommand
4/ implement handling of resource invocation response in InvokeWindowCommand and return a StreamResponse to the controller.
with that we should have support for resource serving and basic support for page render parameters. -
2. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 11, 2008 7:12 PM (in response to julien1)I am looking at the encoder/decoder thing, it's not trivial.
-
3. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 12, 2008 11:00 AM (in response to julien1)this is now experimentally implemented
"julien@jboss.com" wrote:
what needs to be done in the short term:
1/ extend encoder/decoder to implement resource serving urls
2/ extend encoder/decoder to implement public navigational state changes
3/ extends PortalObjectCommandFactory and PortalObjectURLFactory to take in account the InvokePortletWindowResourceCommand
4/ implement handling of resource invocation response in InvokeWindowCommand and return a StreamResponse to the controller.
with that we should have support for resource serving and basic support for page render parameters. -
4. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 13, 2008 3:43 PM (in response to julien1)I have added support for public render parameters with implicit sharing. The matching strategy uses the "same qname" strategy.
There is an example that I added in basic samples that show portlet sharing parameters with various option to manipulate them.
I have also added back support for the app-id feature that was making some of our samples not work correctly. I added an app-id element in jboss-portlet.xml and am in favor of deprecating jboss-app.xml (but keep support for it in 2.7 with a warn on the console). -
5. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 13, 2008 4:23 PM (in response to julien1)I just did the implicit event distribution that use also the same event qname distribution strategy.
-
6. Re: JBoss Portlet Container integration into 2.7
julien1 Apr 13, 2008 7:17 PM (in response to julien1)I have adapted the content provider framework for rendering to use public render parameters as it was planned.
In order to be content driven a portlet needs to declare and manage the public render parameter "uri" with the namespace "urn:jboss:portal:content".
At runtime the portal will set the declared parameter with the window contained URI.
What is remaining to be done in that area is :
1/ update of the faces portlet component to handle a portlet generated event as a JSF event
2/ implement a special event that signals the end of the configuration activity during content edition using the same "urn:jboss:portal:content" namespace with an appropriate name. When this event is received it should tells the JSF admin portlet that content is configured. Today that already exists but relies on a special action parameter which is the previous way to communicate.
I experienced the impossibility to use the portlet content editor in the admin due to stack traces, so that should be solved asap. -
7. Re: JBoss Portlet Container integration into 2.7
theute Apr 16, 2008 8:01 AM (in response to julien1)"julien@jboss.com" wrote:
I experienced the impossibility to use the portlet content editor in the admin due to stack traces, so that should be solved asap.
It is partially solved. I solved an issue, but a new one popped out. At least now you should be able to use most of the admin portlet (except the content editor), i'm still working on it (like on a big steak) -
8. Re: JBoss Portlet Container integration into 2.7
theute Apr 16, 2008 9:15 AM (in response to julien1)The bugs are now fixed in SVN.
Still, as you said:
What is remaining to be done in that area is :
1/ update of the faces portlet component to handle a portlet generated event as a JSF event
2/ implement a special event that signals the end of the configuration activity during content edition using the same "urn:jboss:portal:content" namespace with an appropriate name. When this event is received it should tells the JSF admin portlet that content is configured. Today that already exists but relies on a special action parameter which is the previous way to communicate.