Fórum

Problem with StripFilter

Khoivu Nguyen, modificado 13 Anos atrás.

Problem with StripFilter

Junior Member Postagens: 28 Data de Entrada: 28/08/09 Postagens Recentes
I encountered a strange problem. In developement mode, where I set properties so that Liferay will not minimize javascript and strip blank lines from HTML page, my portlet is shown on the page. But in QA, where system engineers do not turn on any of these settings, my portlet does not appear on the page at all.

If I append &strip=1 in the URL, my portlet is shown properly.
If I set the following setting, my portlet is shown

com.liferay.portal.servlet.filters.strip.StripFilter=false

Thanks
thumbnail
Corné Aussems, modificado 13 Anos atrás.

RE: Problem with StripFilter

Liferay Legend Postagens: 1313 Data de Entrada: 03/10/06 Postagens Recentes
Does this behaviour occur in all major browsers ( and modes )?
Is your portlet-code present in the source and not being rendered?
Try disabeling javascript and CSS. what happens then?

Most often there is some bad/missing tag closure, which will render problematically.
Notice that the strip filter will evaluate every character