Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
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
Using Clay modal in Liferay 7.2
Hi, how can I use Clay modals in my portlet properly?
Clay modal is not part of the <clay> taglib (as far as I know). I can copy-paste Clay modal's HTML code in my JSP, but then I also have to write JavaScript to control modal opening/closing myself.
So I'm wondering, isn't there a better of utilizing modal windows in my portlet? (and generally, any other clay component that is not part of the taglib).
Cheers!
Clay modal is not part of the <clay> taglib (as far as I know). I can copy-paste Clay modal's HTML code in my JSP, but then I also have to write JavaScript to control modal opening/closing myself.
So I'm wondering, isn't there a better of utilizing modal windows in my portlet? (and generally, any other clay component that is not part of the taglib).
Cheers!
I found out I can just use HTML code of Clay modal in my portlet, but there is something weird going on.
When I do, the whole page is blocked by an invisible overlay (<div class="fade modal">). This element should have style="display:none;" attribute, but when I add it in my portlet JSP, it is removed before the element is displayed on the page.
Did anyone else run in such problem?
When I do, the whole page is blocked by an invisible overlay (<div class="fade modal">). This element should have style="display:none;" attribute, but when I add it in my portlet JSP, it is removed before the element is displayed on the page.
Did anyone else run in such problem?
Hello Jan, I want to use the Clay Modal component too but I am facing some problems to achieve it. Did you be able to include this component in your portlet? Can you share an example of how it is possible to do that? Regards! Mark
Community
Company
Feedback