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
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
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
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&minifierType=js&languageId=en_US&b=6012&t=1356734147000" type="text/javascript"></script>
<script type="text/javascript">
Liferay.namespace('EDITORS')['ckeditor'] = true;
</script>
Regards,
Vassilis
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&minifierType=js&languageId=en_US&b=6012&t=1356734147000" type="text/javascript"></script>
<script type="text/javascript">
Liferay.namespace('EDITORS')['ckeditor'] = true;
</script>
Regards,
Vassilis
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
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
Regards,
Vassilis