Hi,
Your changes are really interesting.
Could you open a code review here: <http://code.nuxeo.org/> and assign
it to Thierry Delprat (tdelprat).
Thanks a lot for your contribution! :-)
See you,
EB.
On 8 janv. 08, at 18:55, Enrique Perez wrote:
We have modified the NuxeoPortlet structure. The class was
implemented to be used with Jahia and we think that NuxeoPortlet
class must not depend on the portlet container used.
The modifications are:
- The method getUIDForJahia from NuxeoPortlet class is now called
getUID and it's empty (returns null). We need to change every
reference to getUIDForJahia.
- We have created two new class that extends NuxeoPortlet:
NuxeoPortletForJBossPortal and NuxeoPortletForJahia. These classes
implement the method getUID in accordance with the portlet container
in question. With this structure, it's easier to add a new portlet
container.
- In JBoss Portal we need to add the following line in the methods
doView, doEdit and doHelp:
response.setContentType("text/html");
So we add it in the NuxeoPortlet class.
- In the methods doRestleCall from NuxeoPortlet we add the following
line:
initializeGlobalPreferences(preferencesKeyUID);
With this line, the portlet is initialized in accordance with the
portlet.xml file.
Now, when we want to design a new portlet we have to extend from the
corresponding NuxeoPortletForXXXX class.
If you think that these changes are useful we can submit it.
Regards.
--
Enrique Pérez Olivares.
Dpto I+D.
Yerbabuena Software.
[EMAIL PROTECTED]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Eric Barroca - Ex. VP of Operations - +33 6 21 74 77 64
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm