I like it, it's simple and easy to use.
a couple of questions:
1/ are you able to test it ?
2/ it would be part of the next minor wci release ?
On Jan 11, 2012, at 8:37 PM, Matt Wringe wrote:
There have been a couple of issues arising from the ordering of
portlets
and servlets being out of sync. For example see
https://issues.jboss.org/browse/GTNPC-76
This isn't really a bug, since the ordering of when portlets and
servlets are initialized is not suppose to be guaranteed. But I have a
couple of changes to wci which will allow for this behaviour (see patch
attached to GTNPC-76)
Basically there are 2 new features which when used together will provide
ordering between portlets and servlets.
1) by using a context-parameter in the web.xml, we can tell the native
wci implementation to not register the specific webapp.
2) you can now manually add an application to the wci native
implementation.
To control ordering:
- add in the context-parameter so the native implementation doesn't
register the webapplication (and therefor PC doesn't know about it)
- specify the generic GateInServlet in the web.xml and use the
load-on-startup value to control ordering against other servlets. The
GateInServlet will manually register itself to the native
implementation.
Any objections?
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev