Fórumok
Content rendered outside portlet window boundaries
Philipp Schwarz, módosítva 11 év-val korábban
Content rendered outside portlet window boundaries
Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2012.10.19. Legújabb bejegyzések
Hey folks,
when creating a page containing the My Account portlet I ran into the following problem: The body of the My Account portlet is rendered outside the My Account portlet boundaries. I've uploaded a screenshot of how it currently looks like as an attachment.
To be able to add the My Account portlet to a page I did the following in my ext environment:
liferay-portlet-ext.xml
portlet-ext.xml
I also added the ADD_TO_PAGE action as a resource action and set permissions to be able to see the portlet contents.
I'm using LR 6.1 CE GA2 on a Tomcat 7 server.
Has anyone got a clue why this happens, because I don't get any error messages whatsoever!?
Thankful for any hint,
Phil
when creating a page containing the My Account portlet I ran into the following problem: The body of the My Account portlet is rendered outside the My Account portlet boundaries. I've uploaded a screenshot of how it currently looks like as an attachment.
To be able to add the My Account portlet to a page I did the following in my ext environment:
liferay-portlet-ext.xml
<!--?xml version="1.0"?-->
<liferay-portlet-app>
<portlet>
<portlet-name>2</portlet-name>
<system>false</system>
</portlet>
</liferay-portlet-app>
portlet-ext.xml
<!--?xml version="1.0"?-->
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
<portlet>
<portlet-name>2</portlet-name>
<display-name>My Account</display-name>
<portlet-class>com.liferay.portlet.StrutsPortlet</portlet-class>
<init-param>
<name>view-action</name>
<value>/my_account/edit_user</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
</supports>
<resource-bundle>com.liferay.portlet.StrutsResourceBundle</resource-bundle>
</portlet>
</portlet-app>
I also added the ADD_TO_PAGE action as a resource action and set permissions to be able to see the portlet contents.
I'm using LR 6.1 CE GA2 on a Tomcat 7 server.
Has anyone got a clue why this happens, because I don't get any error messages whatsoever!?
Thankful for any hint,
Phil
Mellékletek:
Philipp Schwarz, módosítva 11 év-val korábban
RE: Content rendered outside portlet window boundaries
Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2012.10.19. Legújabb bejegyzések
Anyone?