掲示板
jquery paginator in liferay
11年前 に Laura Liparulo によって更新されました。
jquery paginator in liferay
Junior Member 投稿: 38 参加年月日: 12/06/30 最新の投稿
Thanks for the answers.
I had made a tutorial (that you can find at: http://lauraliparulo.altervista.org/jquery-paginator-for-liferay-6-1), because at first I didn't know how to use jquery with liferay, but now It's going fine.
I think I had made some copy and paste mess. ^_^
I had made a tutorial (that you can find at: http://lauraliparulo.altervista.org/jquery-paginator-for-liferay-6-1), because at first I didn't know how to use jquery with liferay, but now It's going fine.
I think I had made some copy and paste mess. ^_^
11年前 に James Falkner によって更新されました。
RE: <p>This tutorial...
Liferay Legend 投稿: 1399 参加年月日: 10/09/17 最新の投稿
Hey Laura, thanks for the tutorial but whatever you cut and pasted in the code did not survive the transformation into a forum post It's completely unreadable!
11年前 に Laura Liparulo によって更新されました。
RE: <p>This tutorial...
Junior Member 投稿: 38 参加年月日: 12/06/30 最新の投稿
sorry! thanks
11年前 に Hitoshi Ozawa によって更新されました。
RE: <p>This tutorial...
Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
If you're posting a tutorial, it would be better if you can create a wiki page instead of posting here.
Also, you've announced your page in another thread.
http://www.liferay.com/community/forums/-/message_boards/message/21750083
Also, you've announced your page in another thread.
http://www.liferay.com/community/forums/-/message_boards/message/21750083
11年前 に Laura Liparulo によって更新されました。
RE: <p>This tutorial...
Junior Member 投稿: 38 参加年月日: 12/06/30 最新の投稿
Thanks.
What I couldn't understand is how to incluse several *.js files in a portlet.
To make things work I had to declare the libraries in the .jsp file:
and also in the liferay-portlet.xml:
The only way I have found.
Regards
Laura
What I couldn't understand is how to incluse several *.js files in a portlet.
To make things work I had to declare the libraries in the .jsp file:
<portlet:defineobjects /> <script type="text/javascript" src="${renderRequest.contextPath}/js/jquery-1.8.3.js"></script> <script src="${renderRequest.contextPath}/js/kinetic-v4.3.1-beta2.js"></script> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css"> <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
and also in the liferay-portlet.xml:
<header-portlet-javascript>
/js/jquery-1.8.3.js
</header-portlet-javascript>
<footer-portlet-javascript>
/js/kinetic-v4.3.1-beta2.js
</footer-portlet-javascript>
<footer-portlet-javascript>
/js/paginator.js
</footer-portlet-javascript>
<footer-portlet-javascript>
/js/canvasGenerator.js
</footer-portlet-javascript>
<footer-portlet-javascript>
/js/framePage.js
</footer-portlet-javascript>
The only way I have found.
Regards
Laura