Re: Jahia API
Stéphane Croisier <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
If you do not plan to modify Jahia, the most easiest (and clean) way to deploy additional classes would be to package them within your set of templates (so that they do not mix with the Jahia code itself). Documented here in chapter 7 - p.45: http://www.jahia.org/jahia/webdav/site/jahia_org/shared/documentation/template/Draft_Jahia_Template_Developer_Guide_v0.31.pdf Cheers, Stéphane At 16:09 24.05.2005, you wrote: >Hi Stéphane, > >thanks for answer my question. >But I'm a newbie in Jahia/Java and a didn't understand how I can deploy a >webapp within the Jahia context. Could you explain this or send me an example? > >Thanks, > >Márcio Ferreira ><http://www.garimpar.com>Garimpar.com - Informação é tudo!!! >Tel: (13) 3216-1967 Ramal 202 >Rua do Comércio 44 sala 02 >Centro - Santos - SP > > >Stéphane Croisier wrote: >> >>Hi, >> >>You can't access to the Jahia API from another webapp context. This is a >>classloader issue. Please check the webapp doc: >>http://www.jahia.org/jahia/webdav/site/jahia_org/shared/documentation/WebAppGuideDRAFT1.pdf >>page 23 of the pdf or the Tomcat doc about classloading and seggregation >>of contexts. >> >>So if you want to develop a webapp which accesses all the Jahia API, you >>need to deploy it within the Jahia context itself. >> >>Cheers >>Stéphane >> >>At 21:43 23/05/2005, you wrote: >>>Hi, >>> >>>My name is Marcio, I'm from Brazil. >>>I'm using Jahia about a few mounths and I'm trying to use Jahia API in a >>>webapp (portlet) without success. >>>How can I import Jahia API? (Jahia was installed from source.) >>> >>>Thanks, >>> >>>Marcio Ferreira >>><http://www.garimpar.com>Garimpar.com >>> >>>