Discussion:
Jahia 6 community Edition : Adding a portlet in my page
Amine Bousta
2009-03-19 08:35:15 UTC
Permalink
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 ?
david
2009-03-19 08:48:40 UTC
Permalink
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
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
amine
2009-03-19 10:09:27 UTC
Permalink
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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.
MesDocs ParMail
2009-03-23 11:03:37 UTC
Permalink
Hi Amine,

Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?

Regards,

Mesdocs.
Post by amine
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
Post by david
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
containerList   columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
ktlili
2009-03-23 12:54:08 UTC
Permalink
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.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
amine
2009-03-23 13:06:16 UTC
Permalink
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?
Post by ktlili
Hi,
Did you had any exception during the deployment step?
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration
Regards.
KT.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
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.
ktlili
2009-03-23 13:35:40 UTC
Permalink
Hi,

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.
Post by amine
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?
Post by ktlili
Hi,
Did you had any exception during the deployment step?
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration
Regards.
KT.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
amine
2009-03-23 14:15:04 UTC
Permalink
When 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.
Post by ktlili
Hi,
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.
Post by amine
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?
Post by ktlili
Hi,
Did you had any exception during the deployment step?
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration
Regards.
KT.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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-tp22595661p22660956.html
Sent from the Jahia - Template mailing list archive at Nabble.com.
ktlili
2009-03-23 14:55:12 UTC
Permalink
Post by amine
When I go to the admin ui, I can see my portlet well deployed.
In this list stand my portlet + googlegadget + html + rss
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.)

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.
Post by amine
About ACL, I gave rights to every roles for every permissions but it still
doesn't work.
Post by ktlili
Hi,
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.
Post by amine
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?
Post by ktlili
Hi,
Did you had any exception during the deployment step?
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration
Regards.
KT.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
MesDocs ParMail
2009-03-23 15:42:57 UTC
Permalink
You 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.
Post by amine
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?
Post by ktlili
Hi,
Did you had any exception during the deployment step?
http://www.jahia.org/cms/home/jahiapedia/Portlet_Integration
Regards.
KT.
Post by MesDocs ParMail
Hi Amine,
Did you succeed in creating a new mashup based on your portlet in the
Mashup Manager Tool ?
Regards,
Mesdocs.
Post by amine
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
Post by david
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
containerList   columnA_box (jnt:box [addMixin="jmix:skinnable",
availableTypes="jnt:IframeBox,jnt:portletsBox,web_templates:lastNewsBox,jnt:textsBox,web_templates:filesBox"])
regards,
David
Post by Amine Bousta
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
_______________________________________________
template_list mailing 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
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
amine
2009-03-23 16:06:26 UTC
Permalink
Post by MesDocs ParMail
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.
MesDocs ParMail
2009-03-23 16:16:51 UTC
Permalink
Did 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.
Post by amine
Post by MesDocs ParMail
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
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
ktlili
2009-03-23 16:35:06 UTC
Permalink
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.
Post by amine
Post by MesDocs ParMail
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.
amine
2009-03-23 18:15:54 UTC
Permalink
Thank 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.
Post by ktlili
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.
Post by amine
Post by MesDocs ParMail
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.
_______________________________________________
template_list mailing 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-tp22595661p22665887.html
Sent from the Jahia - Template mailing list archive at Nabble.com.
Loading...