Fórum

How can I prevent the page skip to the top?

Mevlut Evren Tekin, modificado 12 Anos atrás.

How can I prevent the page skip to the top?

New Member Postagens: 2 Data de Entrada: 26/10/11 Postagens Recentes
Hi everyone,

When adding or reading an event in the calendar at the bottom of the page, it flicks back to the top and I have to scroll back down again to the bottom of the page to enter the information or read it. I have read few posts with similar issues and they are mentioning making the portlet "ajaxable" to enable refreshing only the portlet rather than the whole page and prevent it from skipping to the top.

I have already tried adding

[indent]<render-weight>0</render-weight>
<ajaxable>true</true> [/indent]
to my liferay-portlet.xml file but the only difference it made was to enable the refresh button for the calendar portlet.

I am still very new to liferay and web development. Any help is greatly appreciated.

Many thanks