V7 Portlet does not render when setHeight("100%") is used
|Reported by:||dnebing||Owned by:||ticketmaster|
|Fv:||no||Pro Account:||Mark as Priority|
Attaching Liferay project and portlet war file for your review...
com.vaadin.bugs.BugTest1UI creates a VerticalLayout, adds some labels, then sets the VL as the content for the ui. This will render fine in the portal.
com.vaadin.bugs.BugTest2UI does the same thing, but it sets the height for the VL to 100%. This portlet will not render in the portal.
Checking the rendered contents, the div for the "v-app liferay" (the main app div) has a height of only 1 pixel. Since it is only 1 pixel, the outer div for the portlet-body is also 1 pixel.
If I manually change the height if the "v-app" div to a fixed value (say 200px), the content renders. If I set the height of "v-app" to 100%, it will not render (parent elements are still only 1 pixel).