掲示板

How can I prevent the page skip to the top?

12年前 に Mevlut Evren Tekin によって更新されました。

How can I prevent the page skip to the top?

New Member 投稿: 2 参加年月日: 11/10/26 最新の投稿
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