Shepherd Ching 13 Anos atrás It is a good inception explained: Unraveling the portlet within the dreamhttp://www.cinemablend.com/new/inception-explained-unraveling-the-dream-within-the-dream-19615.html Por favor, autentique-se para votar. Responda como... Cancelar
Szymon Gołębiewski 13 Anos atrás Ok, so I can put portlet instance in my webcontent. Does it mean that on every page that web content is displayed that portlet will have the same configuration? An when I change this portlet config will it change on all sites? As I recall I can have many pages with same portlet instance (for example by using Page Templates) but their configuration is separated for every page Por favor, autentique-se para votar. Responda como... Cancelar Barrie Selack Szymon Gołębiewski 13 Anos atrás I added a section to the blog to explain this. If the embedded portlet has a configuration option, you can configure it like any portlet to have different values on every page. Thanks for your question. Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás Same Web Content can be displayed automaticaly on different pages of Portal. In such case you will have to configure you portlet on multiply pages. In websites as big as news portals you want have time to do that. Is there any way to prepare global configuration for portlet instance? Por favor, autentique-se para votar. Responda como... Cancelar Barrie Selack Szymon Gołębiewski 13 Anos atrás Can you give me an example of what you would you are trying to do? Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás For example I have news portal with such sitemap:- home page-- Sport---- football---- tennis-- Moto---- Cars---- VansIn news portals same web content is displayed in various places. In this case My article will be shown on pages like Cars, Moto and Home Page (beacuse it's about Batmans new batmobile). Now I want to show under that article a lists of other articles related to this one by tags. So I embedded Asset Publisher and configure it (using Cars page) to show "Web contents containing any tag: batmobile, car". The problem is I want to define this configuration just once and for every place this article will be shown at (home page and Moto). Is there any way to do that? Por favor, autentique-se para votar. Responda como... Cancelar
Barrie Selack Szymon Gołębiewski 13 Anos atrás I added a section to the blog to explain this. If the embedded portlet has a configuration option, you can configure it like any portlet to have different values on every page. Thanks for your question. Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás Same Web Content can be displayed automaticaly on different pages of Portal. In such case you will have to configure you portlet on multiply pages. In websites as big as news portals you want have time to do that. Is there any way to prepare global configuration for portlet instance? Por favor, autentique-se para votar. Responda como... Cancelar Barrie Selack Szymon Gołębiewski 13 Anos atrás Can you give me an example of what you would you are trying to do? Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás For example I have news portal with such sitemap:- home page-- Sport---- football---- tennis-- Moto---- Cars---- VansIn news portals same web content is displayed in various places. In this case My article will be shown on pages like Cars, Moto and Home Page (beacuse it's about Batmans new batmobile). Now I want to show under that article a lists of other articles related to this one by tags. So I embedded Asset Publisher and configure it (using Cars page) to show "Web contents containing any tag: batmobile, car". The problem is I want to define this configuration just once and for every place this article will be shown at (home page and Moto). Is there any way to do that? Por favor, autentique-se para votar. Responda como... Cancelar
Szymon Gołębiewski Barrie Selack 13 Anos atrás Same Web Content can be displayed automaticaly on different pages of Portal. In such case you will have to configure you portlet on multiply pages. In websites as big as news portals you want have time to do that. Is there any way to prepare global configuration for portlet instance? Por favor, autentique-se para votar. Responda como... Cancelar Barrie Selack Szymon Gołębiewski 13 Anos atrás Can you give me an example of what you would you are trying to do? Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás For example I have news portal with such sitemap:- home page-- Sport---- football---- tennis-- Moto---- Cars---- VansIn news portals same web content is displayed in various places. In this case My article will be shown on pages like Cars, Moto and Home Page (beacuse it's about Batmans new batmobile). Now I want to show under that article a lists of other articles related to this one by tags. So I embedded Asset Publisher and configure it (using Cars page) to show "Web contents containing any tag: batmobile, car". The problem is I want to define this configuration just once and for every place this article will be shown at (home page and Moto). Is there any way to do that? Por favor, autentique-se para votar. Responda como... Cancelar
Barrie Selack Szymon Gołębiewski 13 Anos atrás Can you give me an example of what you would you are trying to do? Por favor, autentique-se para votar. Responda como... Cancelar Szymon Gołębiewski Barrie Selack 13 Anos atrás For example I have news portal with such sitemap:- home page-- Sport---- football---- tennis-- Moto---- Cars---- VansIn news portals same web content is displayed in various places. In this case My article will be shown on pages like Cars, Moto and Home Page (beacuse it's about Batmans new batmobile). Now I want to show under that article a lists of other articles related to this one by tags. So I embedded Asset Publisher and configure it (using Cars page) to show "Web contents containing any tag: batmobile, car". The problem is I want to define this configuration just once and for every place this article will be shown at (home page and Moto). Is there any way to do that? Por favor, autentique-se para votar. Responda como... Cancelar
Szymon Gołębiewski Barrie Selack 13 Anos atrás For example I have news portal with such sitemap:- home page-- Sport---- football---- tennis-- Moto---- Cars---- VansIn news portals same web content is displayed in various places. In this case My article will be shown on pages like Cars, Moto and Home Page (beacuse it's about Batmans new batmobile). Now I want to show under that article a lists of other articles related to this one by tags. So I embedded Asset Publisher and configure it (using Cars page) to show "Web contents containing any tag: batmobile, car". The problem is I want to define this configuration just once and for every place this article will be shown at (home page and Moto). Is there any way to do that? Por favor, autentique-se para votar. Responda como... Cancelar
Chris Whittle 13 Anos atrás this is very cool.. .thanks for sharing! Por favor, autentique-se para votar. Responda como... Cancelar
Juan Fernández 13 Anos atrás Nice article, Barrie! Thanks for sharing Por favor, autentique-se para votar. Responda como... Cancelar
Wilson Man 13 Anos atrás very cool article. thanks barrie! Por favor, autentique-se para votar. Responda como... Cancelar
Mika Koivisto 13 Anos atrás Thanks for sharing Barry. This is one of the cool features that got me started using Liferay back in version 3.x. Por favor, autentique-se para votar. Responda como... Cancelar
Sampsa Sohlman 13 Anos atrás Good article and good example how you can use web content. Adding portlet to wcm template was new for me - anyway with same principles, it is possible to integrate iframe, flash .. youtube.. etc. to Liferay also. This is just by clever using of Web content as configuration repository (which already have editor also).Btw, how this effect on Liferay and page caching, mainly to cache filter, which does not recognize if the page has embedded portlets on resources (like theme)? Por favor, autentique-se para votar. Responda como... Cancelar
Olaf Fricke 13 Anos atrás Hi Barrie, we are using this runtime portlet tag since two years in our web sites as well. In most cases, it is just working fine.But we encountered some limitations you should be aware of:1. The tag can only be used in templates; raw HTLM articles just ignore it.2. The portlets that are included via the runtime portlet tag are not considered when exporting a community into a lar file, doing staging or remote publishing.3. If you include a web content portlet, it will not be found by a community search, because the entry in the JournalArticleSearchEntry table is missing.4. You must not include a web content portlet into itself (i.e. use the instance id of the web content portlet that contains the runtine portlet tag as value). If you do so, you will end up with a stack overflow due to infinite recursion.Best regards,Olaf Por favor, autentique-se para votar. Responda como... Cancelar Dhrutika Parekh Olaf Fricke 13 Anos atrás Nice example.... Por favor, autentique-se para votar. Responda como... Cancelar
Dhrutika Parekh Olaf Fricke 13 Anos atrás Nice example.... Por favor, autentique-se para votar. Responda como... Cancelar
Mohammed Azam 13 Anos atrás Wonderful example.. I tried this its working .But My question is is that possible to show the embedded portlet only to the user who has logged in Por favor, autentique-se para votar. Responda como... Cancelar
gofri _ 13 Anos atrás Hello,can You give a simple example how to embed (core) portlet in another portlet (in view.jsp)? Which libs and tld will be needed? Por favor, autentique-se para votar. Responda como... Cancelar
Scott Lee 13 Anos atrás Like! Por favor, autentique-se para votar. Responda como... Cancelar ly tm Scott Lee 13 Anos atrás Hello Everybody!I'm a student come from VietNam!I'm studying about Richface framework!I had got a problem in JSF(Richface) Portlet when I used JavaScript!That problem is : I could not get a value into a <h:inputText /> with JavaScript!Can anybody help me?Thank you very much! This is my code: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"> <f:view> <script type="text/javascript"> function check() { var result = document.getElementById("myform:form").value; alert(result); } </script> <h:form id="myform"> <h3>Hello :</h3> <h:inputText value="" id="form" /> <h:commandButton value="OK" onclick="check();"/> </h:form> </f:view> </ui:composition> Por favor, autentique-se para votar. Responda como... Cancelar
ly tm Scott Lee 13 Anos atrás Hello Everybody!I'm a student come from VietNam!I'm studying about Richface framework!I had got a problem in JSF(Richface) Portlet when I used JavaScript!That problem is : I could not get a value into a <h:inputText /> with JavaScript!Can anybody help me?Thank you very much! This is my code: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"> <f:view> <script type="text/javascript"> function check() { var result = document.getElementById("myform:form").value; alert(result); } </script> <h:form id="myform"> <h3>Hello :</h3> <h:inputText value="" id="form" /> <h:commandButton value="OK" onclick="check();"/> </h:form> </f:view> </ui:composition> Por favor, autentique-se para votar. Responda como... Cancelar
Francesco Marangi 13 Anos atrás Cool feature, but how do you set portlet preferences? I saw the runtime-portlet tag has a defaultPreferences attribute... how would you pass preferences in a VM journal article template? Por favor, autentique-se para votar. Responda como... Cancelar
Phill Pover 13 Anos atrás I'm have real trouble getting this to work. I'm running this from a development system, so the potential for a permissions issue is there, but even copying the Hello World example code above is not letting me put the portlet into my template.What am I missing here? The portlet-runtime tag is coming through, but it doesn't appear to be getting parsed into an actual portlet. Por favor, autentique-se para votar. Responda como... Cancelar Phill Pover Phill Pover 13 Anos atrás Okay, I fixed the first issue I was having (this ONLY works through the web content portlet, not asset manager or any of the others), but now I'm having an issue with the queryString parameter. I'm trying to invoke the webProxy portlet in a template and set the url of the page that the portlet is proxying, but no matter how I format the queryString, this is not working.<runtime-portlet name="66" instance="1284" queryString="initUrl=http://somewebaddress.com"/>Please help. Por favor, autentique-se para votar. Responda como... Cancelar
Phill Pover Phill Pover 13 Anos atrás Okay, I fixed the first issue I was having (this ONLY works through the web content portlet, not asset manager or any of the others), but now I'm having an issue with the queryString parameter. I'm trying to invoke the webProxy portlet in a template and set the url of the page that the portlet is proxying, but no matter how I format the queryString, this is not working.<runtime-portlet name="66" instance="1284" queryString="initUrl=http://somewebaddress.com"/>Please help. Por favor, autentique-se para votar. Responda como... Cancelar
Dave Weitzel 13 Anos atrás A serious question...Can this runtime-portlet tag be used in all other portlets (eg document and image "properties" or blogs and wiki)? I alos think it needs a bit more information - or a link to another blog/wiki article about the query string and other parameters that can be passed to the runtime-portlet tag.You will see form my forum postings I have been trying to add a pagelet from a new portlet (handling Dublin Core categorization items) into a lot of other portlets but no one even suggested this tag. I would need to pass the current groupId and object Id (blog post etc) to make it work. Por favor, autentique-se para votar. Responda como... Cancelar vasv kumar Dave Weitzel 12 Anos atrás Hi,Thanks for Good Article.But I am not getting my custom portlets.I am getting Default portlets. Por favor, autentique-se para votar. Responda como... Cancelar
vasv kumar Dave Weitzel 12 Anos atrás Hi,Thanks for Good Article.But I am not getting my custom portlets.I am getting Default portlets. Por favor, autentique-se para votar. Responda como... Cancelar
Veronym Kroun 12 Anos atrás What about WSRP: could both the embedding portlet and the embedded portlet be WSRP portlets?Thanks. Por favor, autentique-se para votar. Responda como... Cancelar Mat Gritt Veronym Kroun 12 Anos atrás Hi I was wondering how you would use this to insert a webform portlet in to the theme. specifically portal_normal.vm.any help gratefully received Por favor, autentique-se para votar. Responda como... Cancelar
Mat Gritt Veronym Kroun 12 Anos atrás Hi I was wondering how you would use this to insert a webform portlet in to the theme. specifically portal_normal.vm.any help gratefully received Por favor, autentique-se para votar. Responda como... Cancelar
(Você) 12 Anos atrás [...] Here's another link that may help http://www.liferay.com/web/barrie.selack/blog/-/blogs/embedding-a-portlet-in-web-content You can embed one web content within another... Flag Please sign in to flag... [...] Read More Por favor, autentique-se para votar. Responda como... Cancelar Miguel Ángel González 11 Anos atrás do anyone say me how i search name and instance of my runtime-portlet? thanks you in advance Por favor, autentique-se para votar. Responda como... Cancelar
Miguel Ángel González 11 Anos atrás do anyone say me how i search name and instance of my runtime-portlet? thanks you in advance Por favor, autentique-se para votar. Responda como... Cancelar
Ákos Gábriel 10 Anos atrás Hi,All the pictures are gone.Thanks,Akos Por favor, autentique-se para votar. Responda como... Cancelar