Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Raga Deep
Problem with Liferay widgets and scrollbars while sharing on other webpages
September 18, 2012 5:34 AM
Answer

Raga Deep

Rank: New Member

Posts: 2

Join Date: August 22, 2012

Recent Posts

Hello,

Background
I am currently using - Liferay 6.0.1 CE bundled with Tomcat 6.0.29 - and have an Asset Publisher that displays some content on a page. The page has a 3 column layout and display 3 different portlets in each of the columns. The intent is to quickly create portlets and embed them in another application using the code specified in the "Sharing" section that displays portlet code and how to use it using the Liferay widget script.

Problem
What we are noticing is that, the portlets have scrollbars when included on a different site. Following are screen shots of the site of how it looks on the Liferay managed pages vs including them using the Liferay widget.js.

Following is how the portlets look on a Liferay page


Following is how the portlets look when included on a different application, take a note of the scroll bars that appear to the right side of the portlets.


I have tried the below with no success
- setting height/width of the portlets when invoking the portlets
- setting scrollbar to none
- jQuery AutoHeight plugin as suggested by THIS forum posting

I also found THIS link that makes it sound like this is an open issue. Additionally the issue has been marked as trivial. I would think that this would be an important issue, as not everyone might want to use Liferay as a total solution. As in our case, we are trying to use certain aspects of Liferay CMS to quickly build portlets and use it in existing application framework.

How do we get rid of these scrollbars as this is unacceptable when including the portlets on other applications. Any help is greatly appreciated. Thanks!

-Deep
Hamish Campbell
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
September 10, 2012 6:12 AM
Answer

Hamish Campbell

Rank: Junior Member

Posts: 87

Join Date: August 20, 2008

Recent Posts

We have been wonting to use this functionality but never could because of this issue - anyone know how to solve this.
Raga Deep
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
September 18, 2012 5:35 AM
Answer

Raga Deep

Rank: New Member

Posts: 2

Join Date: August 22, 2012

Recent Posts

Any one? Has anyone used portlets on a separate application without the scrollbars?
Anna Silchenko-Wei
RE: Problem with Liferay widgets and scrollbars while sharing on other webp
December 5, 2012 1:03 PM
Answer

Anna Silchenko-Wei

Rank: New Member

Posts: 6

Join Date: November 26, 2012

Recent Posts

I have similar problem. My portlet partially shows up on the page. The scroll bar can be used to scroll down to see the content. Is there a way to display whole portlet content at once and without the scroll bar? Thank you.

Best Regards,
Anna