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
Liferay UI's icon-menu not working properly when included in a separate jsp
When I add an icon-menu in a jsp page normally, everything works, but when I place it in say a jsp called 'update.jsp' and load it via ajax into 'manage.jsp', I have a problem of it not working properly, especially in Firefox. Has anyone else faced this problem and found a workaround?
When I click the actions button, nothing appears. I tried creating a javascript handler for the click event, and when I tested it on chrome and firefox, I found that the 2 browsers render the icon menus differently. The dropdown sometimes doesn't even appear on click and when it does in firefox, it appears at some weird location. I found that the rendered jsp content (text in 'update.jsp') also appears larger than the rest of the page in firefox (manage.jsp).
Any help regarding this would be greatly appreciated!
When I click the actions button, nothing appears. I tried creating a javascript handler for the click event, and when I tested it on chrome and firefox, I found that the 2 browsers render the icon menus differently. The dropdown sometimes doesn't even appear on click and when it does in firefox, it appears at some weird location. I found that the rendered jsp content (text in 'update.jsp') also appears larger than the rest of the page in firefox (manage.jsp).
Any help regarding this would be greatly appreciated!
Hi,
I know that listeners are not set when adding an element with AJAX, but have you found a way to accomplish what you want?
Alex C.
I know that listeners are not set when adding an element with AJAX, but have you found a way to accomplish what you want?
Alex C.
Community
Company
Feedback