Foros de discusión

WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Vassilis Petropoulos, modificado hace 10 años.

WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
Hi,

when WebKeys.PAGE_TOP attribute returns the following (inline css declaration):
<style type="text/css">
abc {font-color: red; }
</style>

HeadResource throws an error during initialize method trying to set:
int queryPos = url.indexOf(StringPool.QUESTION);
as url param parsed null.

Instead, if WebKeys.PAGE_TOP attribute returns the following (external css declaration):
<link href="/chat-portlet/a.css" rel="stylesheet" type="text/css" />
everything works fine.

Regards,
Vassilis
thumbnail
Neil Griffin, modificado hace 10 años.

RE: WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Hi Vassilis,

I think the bug you are describing has been fixed in FACES-1749.

Kind Regards,

Neil
Vassilis Petropoulos, modificado hace 10 años.

RE: WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
Good morning!

following content still generates the error using 3.0.3-ga4.


<style type="text/css">
table.cke_dialog {
position: absolute !important;
}
</style>

<script src="/html/js/editor/ckeditor/ckeditor.js?browserId=firefox&amp;minifierType=js&amp;languageId=en_US&amp;b=6012&amp;t=1356734147000" type="text/javascript"></script>

<script type="text/javascript">
Liferay.namespace('EDITORS')['ckeditor'] = true;
</script>

Regards,
Vassilis
thumbnail
Neil Griffin, modificado hace 10 años.

RE: WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Hi Vassilis,

The fix for FACES-1749 has been committed to the 3.1.x branch but isn't part of the 3.1.3-ga4 release of Liferay Faces. It will appear in 3.1.4-ga5 but for now you can use 3.1.4-ga5-SNAPSHOT from the snapshot repository.

Kind Regards,

Neil
Vassilis Petropoulos, modificado hace 10 años.

RE: WebKeys.PAGE_TOP - inline css declaration - HeadResource error

Junior Member Mensajes: 26 Fecha de incorporación: 10/04/12 Mensajes recientes
Great!

Regards,
Vassilis