Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Moving to Metal.js or other
Hi,
I am developing a portlet where I have to show some data colleted from a remote service in a "dynamic" table.
I would have some features like editing, searching, pagination, etc... and at the same time
have the look and feel of other Liferay portlet so I started my work in AUI.
However, it seems AlloyUI is deprecated in Liferay 7 (I am working on this version) so I would move
to Metal.js to be future proof. However, I am not able to load and use Metal.js in my ES6 code to
replace the AUI.
Do you have a working example of a porlet using the new Javascript framework?
I am also open to alternatives, I could try React.js or other bootstrap friendly frameworks
are there guidelines?
Thanks in advance,
Marco
(I am not sure this is the right forum category so I am posting it also in development)
I am developing a portlet where I have to show some data colleted from a remote service in a "dynamic" table.
I would have some features like editing, searching, pagination, etc... and at the same time
have the look and feel of other Liferay portlet so I started my work in AUI.
However, it seems AlloyUI is deprecated in Liferay 7 (I am working on this version) so I would move
to Metal.js to be future proof. However, I am not able to load and use Metal.js in my ES6 code to
replace the AUI.
Do you have a working example of a porlet using the new Javascript framework?
I am also open to alternatives, I could try React.js or other bootstrap friendly frameworks
are there guidelines?
Thanks in advance,
Marco
(I am not sure this is the right forum category so I am posting it also in development)
The only portlet I have found fully using metal.js is here: https://github.com/liferay/liferay-portal/tree/master/modules/apps/foundation/frontend-image-editor/frontend-image-editor-web
(it uses soy templates)
(it uses soy templates)
Hopefully these guides help:
Hi,
I have already implemented the portlet following the indication in your link and integrating
metal.js.
https://github.com/FutureGateway/Admin-portlet
The new approach is nice but I found metal.js modules very poor in terms
of functionalities and UI, compared to other framework, but I hope they will get better.
Nevertheless my main question was to understand if metal.js was the right way to go
or react.js was more safe but I went with the first thinking of a better integration.
Cheers
I have already implemented the portlet following the indication in your link and integrating
metal.js.
https://github.com/FutureGateway/Admin-portlet
The new approach is nice but I found metal.js modules very poor in terms
of functionalities and UI, compared to other framework, but I hope they will get better.
Nevertheless my main question was to understand if metal.js was the right way to go
or react.js was more safe but I went with the first thinking of a better integration.
Cheers
may be you can try senna.js and datatables instead of metal.js.
Three things in life are certain ... death, taxes and Liferay deprecation even as you learn the now deprecated feature, you're already loosing. Four things actually: death, taxes, Liferay deprecation and your car will always be worth less.
Thank youuu for the tips
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™