|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Jahia 6 community Edition : Adding a portlet in my page
Hello
I installed Jahia 6 community Edition but I can't figure out how to use portlets. I made a very simple "hello world" portlet and deployed it in Jahia 5 and 6. In Administration mode, it appears fine in the available portlets list with the right name and description in both versions. In Jahia 5 I can display this portlet on my page, using a box of type "portlet". But in Jahia 6, ACME template, I can not call my portlet on any page. There is no box of type "portlet". I thought I had to use the mashups manager but my portlet is not in the list of available mashups. Could you give me a hint ? _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageHello,
You can use the template "full" wich have a portlet container inside or add jnt:portletsBox as box property in your definition.cnd file in any box you want to add portlet for example, if you want it in the main column of the home template you will have : containerList columnA_box (jnt:box [addMixin="jmix:skinnable", availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"]) regards, David Amine Bousta a écrit : > Hello > > I installed Jahia 6 community Edition but I can't figure out how to > use portlets. > I made a very simple "hello world" portlet and deployed it in Jahia 5 > and 6. > In Administration mode, it appears fine in the available portlets list > with the right name and description in both versions. > In Jahia 5 I can display this portlet on my page, using a box of type > "portlet". > > But in Jahia 6, ACME template, I can not call my portlet on any page. > There is no box of type "portlet". > I thought I had to use the mashups manager but my portlet is not in > the list of available mashups. > > Could you give me a hint ? > ------------------------------------------------------------------------ > > _______________________________________________ > template_list mailing list > template_list@... > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageThanks
I tried with "full" template, portlet container, add portlet... I get a popup dialog but my portlet is still not in the list of available mashups. I tried to browse, to search, to add a new mashup but I can't find it. I can insert google mashups and rss but not my portlet. I had a similar problem with Jahia 5 before. The hint was to add <portlet-info><title>...</title></portlet-info> in portlet.xml in order to make it available for my pages. But in Jahia 6 it doesn't work this way. Do you think it's a problem like this or am I misunderstanding the new ui ? regards
|
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageHi Amine,
Did you succeed in creating a new mashup based on your portlet in the Mashup Manager Tool ? Regards, Mesdocs. 2009/3/19 amine <abousta@...>: > > Thanks > > I tried with "full" template, portlet container, add portlet... > I get a popup dialog but my portlet is still not in the list of available > mashups. > I tried to browse, to search, to add a new mashup but I can't find it. > I can insert google mashups and rss but not my portlet. > > I had a similar problem with Jahia 5 before. > The hint was to add <portlet-info><title>...</title></portlet-info> in > portlet.xml in order to make it available for my pages. > > But in Jahia 6 it doesn't work this way. Do you think it's a problem like > this or am I misunderstanding the new ui ? > > regards > > > david-137 wrote: >> >> Hello, >> >> You can use the template "full" wich have a portlet container inside >> or add jnt:portletsBox as box property in your definition.cnd file in >> any box you want to add portlet >> >> for example, if you want it in the main column of the home template you >> will have : >> containerList columnA_box (jnt:box [addMixin="jmix:skinnable", >> availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"]) >> >> >> regards, >> >> David >> >> Amine Bousta a écrit : >>> Hello >>> >>> I installed Jahia 6 community Edition but I can't figure out how to >>> use portlets. >>> I made a very simple "hello world" portlet and deployed it in Jahia 5 >>> and 6. >>> In Administration mode, it appears fine in the available portlets list >>> with the right name and description in both versions. >>> In Jahia 5 I can display this portlet on my page, using a box of type >>> "portlet". >>> >>> But in Jahia 6, ACME template, I can not call my portlet on any page. >>> There is no box of type "portlet". >>> I thought I had to use the mashups manager but my portlet is not in >>> the list of available mashups. >>> >>> Could you give me a hint ? >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> template_list mailing list >>> template_list@... >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >> >> _______________________________________________ >> template_list mailing list >> template_list@... >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> > > -- > View this message in context: http://www.nabble.com/Jahia-6-community-Edition-%3A-Adding-a-portlet-in-my-page-tp22595661p22596977.html > Sent from the Jahia - Template mailing list archive at Nabble.com. > > _______________________________________________ > template_list mailing list > template_list@... > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my page
Hi,
Did you had any exception during the deployment step? You can find here more information about deploying portlet into Jahia 6: http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration Regards. KT. MesDocs ParMail a écrit : Hi Amine, Did you succeed in creating a new mashup based on your portlet in the Mashup Manager Tool ? Regards, Mesdocs. 2009/3/19 amine abousta@...: _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageHello
@KT No exception during the deployment. The deployment seems ok by the way. My portlet is visible from the admin ui. Thank you for the link. I'v already read that wiki article but it concerns only deployment and not the insertion of an instance. @Mesdocs I didn't succeed in creating a new mashup based on a "hello world" portlet with the mashup tool. Did you?
|
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageHi,
If you click on the "portlet" (application) title in the admin ui, do you see the this list of portlets? If not, that means that the portlet is not well deployed or didn't start. If yes, is the user has read ACL on the portlet ? Regards. KT. amine a écrit : > Hello > > @KT > No exception during the deployment. The deployment seems ok by the way. > My portlet is visible from the admin ui. > Thank you for the link. I'v already read that wiki article but it concerns > only deployment and not the insertion of an instance. > > @Mesdocs > I didn't succeed in creating a new mashup based on a "hello world" portlet > with the mashup tool. > Did you? > > > > ktlili wrote: > >> Hi, >> >> Did you had any exception during the deployment step? >> >> You can find here more information about deploying portlet into Jahia 6: >> http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration >> >> Regards. >> KT. >> >> MesDocs ParMail a écrit : >> >>> Hi Amine, >>> >>> Did you succeed in creating a new mashup based on your portlet in the >>> Mashup Manager Tool ? >>> >>> Regards, >>> >>> Mesdocs. >>> >>> 2009/3/19 amine <abousta@...>: >>> >>> >>>> Thanks >>>> >>>> I tried with "full" template, portlet container, add portlet... >>>> I get a popup dialog but my portlet is still not in the list of >>>> available >>>> mashups. >>>> I tried to browse, to search, to add a new mashup but I can't find it. >>>> I can insert google mashups and rss but not my portlet. >>>> >>>> I had a similar problem with Jahia 5 before. >>>> The hint was to add <portlet-info><title>...</title></portlet-info> in >>>> portlet.xml in order to make it available for my pages. >>>> >>>> But in Jahia 6 it doesn't work this way. Do you think it's a problem >>>> like >>>> this or am I misunderstanding the new ui ? >>>> >>>> regards >>>> >>>> >>>> david-137 wrote: >>>> >>>> >>>>> Hello, >>>>> >>>>> You can use the template "full" wich have a portlet container inside >>>>> or add jnt:portletsBox as box property in your definition.cnd file in >>>>> any box you want to add portlet >>>>> >>>>> for example, if you want it in the main column of the home template you >>>>> will have : >>>>> containerList columnA_box (jnt:box [addMixin="jmix:skinnable", >>>>> availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"]) >>>>> >>>>> >>>>> regards, >>>>> >>>>> David >>>>> >>>>> Amine Bousta a écrit : >>>>> >>>>> >>>>>> Hello >>>>>> >>>>>> I installed Jahia 6 community Edition but I can't figure out how to >>>>>> use portlets. >>>>>> I made a very simple "hello world" portlet and deployed it in Jahia 5 >>>>>> and 6. >>>>>> In Administration mode, it appears fine in the available portlets list >>>>>> with the right name and description in both versions. >>>>>> In Jahia 5 I can display this portlet on my page, using a box of type >>>>>> "portlet". >>>>>> >>>>>> But in Jahia 6, ACME template, I can not call my portlet on any page. >>>>>> There is no box of type "portlet". >>>>>> I thought I had to use the mashups manager but my portlet is not in >>>>>> the list of available mashups. >>>>>> >>>>>> Could you give me a hint ? >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> template_list mailing list >>>>>> template_list@... >>>>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> template_list mailing list >>>>> template_list@... >>>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Jahia-6-community-Edition-%3A-Adding-a-portlet-in-my-page-tp22595661p22596977.html >>>> Sent from the Jahia - Template mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> template_list mailing list >>>> template_list@... >>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>> >>>> >>>> >>> _______________________________________________ >>> template_list mailing list >>> template_list@... >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> __________ Information from ESET NOD32 Antivirus, version of virus >>> signature database 3946 (20090318) __________ >>> >>> The message was checked by ESET NOD32 Antivirus. >>> >>> http://www.eset.com >>> >>> >>> >>> >>> >>> >> _______________________________________________ >> template_list mailing list >> template_list@... >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> >> > > _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageWhen I go to the admin ui, I can see my portlet well deployed.
In this list stand my portlet + googlegadget + html + rss About ACL, I gave rights to every roles for every permissions but it still doesn't work.
|
|
|
Re: Jahia 6 community Edition : Adding a portlet in my page
amine a écrit :
When you click on the RSS portlet (title or edit icon), there is a new popup that displays the portlets that belongs to this application, ie JahiaRSSPortlet. (See screenshot in att.)When I go to the admin ui, I can see my portlet well deployed. In this list stand my portlet + googlegadget + html + rss If you click on "myPortlet", is there a new popup? if yes is there a list of portlet taht belongs to this application? If not try to redeploy your portlet. Regards. KT. About ACL, I gave rights to every roles for every permissions but it still doesn't work. ktlili wrote: _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageYou should be able to create a mashup following these steps :
1/ In Edit mode , in the Tools drop-down list, you should find the Mashup Manager Tool 2/ With the current selected repository (your site), click on the new mashup button 3/ A new window appears with a list of available portlets. Select your portlet and click next. 4/ Give your mashup a title and click next. 5/ On the roles-permissions screen click next. 6/ On the modes-permissions screen select the views you want. 7/ Enter a text in the last screen and click finish. You mashup definition should appear in the mashup manager. 8/ Close the window. 9/ In a page based on the full template, in the portlet list, you should now see your mashup in the list of available portlets under your site folder. Select it and click ok. Regards Mesdocs. 2009/3/23 amine <abousta@...>: > > Hello > > @KT > No exception during the deployment. The deployment seems ok by the way. > My portlet is visible from the admin ui. > Thank you for the link. I'v already read that wiki article but it concerns > only deployment and not the insertion of an instance. > > @Mesdocs > I didn't succeed in creating a new mashup based on a "hello world" portlet > with the mashup tool. > Did you? > > > > ktlili wrote: >> >> Hi, >> >> Did you had any exception during the deployment step? >> >> You can find here more information about deploying portlet into Jahia 6: >> http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration >> >> Regards. >> KT. >> >> MesDocs ParMail a écrit : >>> Hi Amine, >>> >>> Did you succeed in creating a new mashup based on your portlet in the >>> Mashup Manager Tool ? >>> >>> Regards, >>> >>> Mesdocs. >>> >>> 2009/3/19 amine <abousta@...>: >>> >>>> Thanks >>>> >>>> I tried with "full" template, portlet container, add portlet... >>>> I get a popup dialog but my portlet is still not in the list of >>>> available >>>> mashups. >>>> I tried to browse, to search, to add a new mashup but I can't find it. >>>> I can insert google mashups and rss but not my portlet. >>>> >>>> I had a similar problem with Jahia 5 before. >>>> The hint was to add <portlet-info><title>...</title></portlet-info> in >>>> portlet.xml in order to make it available for my pages. >>>> >>>> But in Jahia 6 it doesn't work this way. Do you think it's a problem >>>> like >>>> this or am I misunderstanding the new ui ? >>>> >>>> regards >>>> >>>> >>>> david-137 wrote: >>>> >>>>> Hello, >>>>> >>>>> You can use the template "full" wich have a portlet container inside >>>>> or add jnt:portletsBox as box property in your definition.cnd file in >>>>> any box you want to add portlet >>>>> >>>>> for example, if you want it in the main column of the home template you >>>>> will have : >>>>> containerList columnA_box (jnt:box [addMixin="jmix:skinnable", >>>>> availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"]) >>>>> >>>>> >>>>> regards, >>>>> >>>>> David >>>>> >>>>> Amine Bousta a écrit : >>>>> >>>>>> Hello >>>>>> >>>>>> I installed Jahia 6 community Edition but I can't figure out how to >>>>>> use portlets. >>>>>> I made a very simple "hello world" portlet and deployed it in Jahia 5 >>>>>> and 6. >>>>>> In Administration mode, it appears fine in the available portlets list >>>>>> with the right name and description in both versions. >>>>>> In Jahia 5 I can display this portlet on my page, using a box of type >>>>>> "portlet". >>>>>> >>>>>> But in Jahia 6, ACME template, I can not call my portlet on any page. >>>>>> There is no box of type "portlet". >>>>>> I thought I had to use the mashups manager but my portlet is not in >>>>>> the list of available mashups. >>>>>> >>>>>> Could you give me a hint ? >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> template_list mailing list >>>>>> template_list@... >>>>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> template_list mailing list >>>>> template_list@... >>>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>>> >>>>> >>>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Jahia-6-community-Edition-%3A-Adding-a-portlet-in-my-page-tp22595661p22596977.html >>>> Sent from the Jahia - Template mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> template_list mailing list >>>> template_list@... >>>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>>> >>>> >>> _______________________________________________ >>> template_list mailing list >>> template_list@... >>> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >>> >>> __________ Information from ESET NOD32 Antivirus, version of virus >>> signature database 3946 (20090318) __________ >>> >>> The message was checked by ESET NOD32 Antivirus. >>> >>> http://www.eset.com >>> >>> >>> >>> >>> >> >> >> _______________________________________________ >> template_list mailing list >> template_list@... >> http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list >> >> > > -- > View this message in context: http://www.nabble.com/Jahia-6-community-Edition-%3A-Adding-a-portlet-in-my-page-tp22595661p22659753.html > Sent from the Jahia - Template mailing list archive at Nabble.com. > > _______________________________________________ > template_list mailing list > template_list@... > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageThat's the problem. My portlet is not available in this list. KT pointed out the fact that I should have a list of portlets in the edit popup menu. I didn't notice that before but there is indeed a deployment problem since this list is empty! I'm trying to deploy again this portlet but it doesn't work any more. I placed it in the usual WEB-INF/var/new_webapps folder but it doesn't hot deploy. It doesn't deploy if I restart Jahia neither. There's no trace of deployment attempts in my console. I just have lots of lines with [Full GC...] This very same war works fine with Jahia 5. |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my pageDid you read the documentation at
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration ? Maybe you didn't modify the web.xml file as described in the article. Mesdocs. 2009/3/23 amine <abousta@...>: > > > MesDocs ParMail wrote: >> >> 3/ A new window appears with a list of available portlets. Select your >> portlet and click next. >> > > That's the problem. My portlet is not available in this list. > > KT pointed out the fact that I should have a list of portlets in the edit > popup menu. > I didn't notice that before but there is indeed a deployment problem since > this list is empty! > > I'm trying to deploy again this portlet but it doesn't work any more. > I placed it in the usual WEB-INF/var/new_webapps folder but it doesn't hot > deploy. It doesn't deploy if I restart Jahia neither. > There's no trace of deployment attempts in my console. I just have lots of > lines with [Full GC...] > > This very same war works fine with Jahia 5. > > > -- > View this message in context: http://www.nabble.com/Jahia-6-community-Edition-%3A-Adding-a-portlet-in-my-page-tp22595661p22663331.html > Sent from the Jahia - Template mailing list archive at Nabble.com. > > _______________________________________________ > template_list mailing list > template_list@... > http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list > template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
Re: Jahia 6 community Edition : Adding a portlet in my page
Hi,
With Jahia 6, to deploy a portlet, you have to put it in ${tomcat}\webapp when Jahia is running. 'new_webapp' is no longer used. Regards. KT. MesDocs ParMail wrote: _______________________________________________ template_list mailing list template_list@... http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list |
|
|
[RESOLVED] Re: Jahia 6 community Edition : Adding a portlet in my pageThank you very much for your help. Changing the web.xml worked! :)
I misunderstood this online guide. I thought web.xml would be changed on the fly like in other portals. Don't you think it would be better if we had a deploy folder (different from tomcat webapps). Then a listener could detect a war in it, change the web.xml on the fly and move it into the tomcat webapps? As the goal of JSR-168 was to allow users to deploy war in any compliant portals I think it would be a good feature don't you think? Thank you again for your quick support.
|
| Free embeddable forum powered by Nabble | Forum Help |