If you want to integrate liferay 7 theme/portlet/application with jQuery UI, you need to make subtle change in jQuery UI library itself.
By default library starts with -
If you add library directly in your liferay application, you will be getting an error - Mismatched anonymous define() module:
To overcome this issue, you need to change the library like
What you are doing is removing the reference of define call, which causes the issue, as jQuery is already loaded by default.
Same thing you need to perform for other JS libraries which contains the call.
You are just done, Try & Enjoy the function.............:)
By default library starts with -
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([ "jquery" ], factory );
} else {
// Browser globals
factory( jQuery );
}
}(function( $ ) {
If you add library directly in your liferay application, you will be getting an error - Mismatched anonymous define() module:
To overcome this issue, you need to change the library like
(function( factory ) { factory( jQuery ); }(function( $ ) {
What you are doing is removing the reference of define call, which causes the issue, as jQuery is already loaded by default.
Same thing you need to perform for other JS libraries which contains the call.
You are just done, Try & Enjoy the function.............:)
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from JQuery Training in Chennai . or learn thru JQuery Training . or learn thru ES6 Online Training. Nowadays JavaScript has tons of job opportunities on various vertical industry.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletePretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
ReplyDeleteWebdesining course in chennai
Appreciating the persistence you put into your blog and detailed information you provide
ReplyDeleteSelenium training in Chennai
Selenium training in Bangalore
I found your blog while searching for the updates, I am happy to be here. Very useful content and also easily understandable providing..
ReplyDeleteBelieve me I did wrote an post about tutorials for beginners with reference of your blog.
Selenium training in bangalore
Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
The article is so informative. This is more helpful for our
ReplyDeletebest online software testing training course institute in chennai with placement
Best selenium testing online course training in chennai
Learn best software testing online certification course class in chennai with placement
Thanks for sharing.
thanks for your information really good and very nice web design company in velachery
ReplyDeleteFlying Shift - Packers & Movers in Bhopal
ReplyDeleteI’m really happy to say it was an interesting post to read. I learned new information from your article, you are doing a great job. Continue
ReplyDeleteThanks & Regards,
SAP Training in Bangalore
Thank you for sharing useful information. Keep sharing more post
ReplyDeleteSelenium Training in Bangalore |
Software Testing Training in Bangalore|
Selenium Training in Marathahalli|
Automation Testing Training in Bangalore |
Java Selenium Automation Training in Bangalore
Lovely blog ..! I really enjoyed reading this article. Thank you for sharing such a wonderful post
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore.SAP Training in Bangalore
Your articles really impressed for me,because of all information so nice.angular 7 training in bangalore
ReplyDeleteThese provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post.sap s4 hana simple finance training in bangalore
ReplyDeleteI gathered a lot of information through this article.Every example is easy to undestandable and explaining the logic easily.javascript training in bangalore
ReplyDeleteVery useful and information content has been shared out here, Thanks for sharing it.sap hr training in bangalore
ReplyDeleteThis is really an awesome post, thanks for it. Keep adding more information to this.html training in bangalore
ReplyDeletethank you so much for this nice information Article, Digitahanks for sharing your post with us.Real Time Experts training center bangalore
ReplyDeleteThis is amazing and really inspiring goal.Real Time Experts Training in Bangalore
ReplyDeleteIt is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful . student review for Realtime Experts marathahalli bangalore
ReplyDeleteI have read your blog its very attractive and impressive. I like it your blog.Real Time Experts Training in Bangalore center address bangalore
ReplyDeleteThank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
ReplyDeleteSelenium Training in Bangalore
Software Testing Training in Bangalore
Automation Testing Training in Marathahalli
Selenium Training in Marathahalli
Selenium Training Institutes in Bangalore
Selenium Training in Bangalore
Hi there! Great stuff, please do tell me when you finally post something like that! new york web design company
ReplyDeleteI’m just commenting to let you know what a excellent discovery my cousin’s girl encountered going through your web site. She noticed several details, which include how it is like to possess an ideal coaching spirit to let others smoothly learn a number of grueling subject areas. You actually did more than visitors’ desires. Thank you for distributing these great, dependable, informative and unique tips on that topic to Tanya. web design in new york
ReplyDeleteWoh I like your blog posts, saved to fav! . san francisco brand agency
ReplyDeleteExcellent website. Lots of useful information here. I am sending it to a few friends ans also sharing in delicious. And naturally, thanks for your sweat! branding sf
ReplyDeleteI would like to convey my admiration for your generosity in support of men and women that have the need for help with this particular concern. Your special dedication to getting the message all over had been wonderfully productive and have all the time made professionals much like me to attain their dreams. Your own invaluable tutorial means a great deal to me and additionally to my office workers. Thank you; from everyone of us. interface design agency san francisco
ReplyDeleteThere is noticeably a bundle to understand about this. I suppose you have made certain nice points in functions also. interface design agency san francisco
ReplyDeleteEveryone’s skipped this central principle. Your thinking is essential in helping me with my study. Thanks a whole lot. ipad psd
ReplyDeletevery nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
ReplyDeleteWeb Designing Training Course in Chennai | Certification | Online Training Course | Web Designing Training Course in Bangalore | Certification | Online Training Course | Web Designing Training Course in Hyderabad | Certification | Online Training Course | Web Designing Training Course in Coimbatore | Certification | Online Training Course | Web Designing Training Course in Online | Certification | Online Training Course
very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
ReplyDeleteAWS training in Chennai
AWS Online Training in Chennai
AWS training in Bangalore
AWS training in Hyderabad
AWS training in Coimbatore
AWS training
Thanks for sharing the information..... keep sharing more articles
ReplyDeleteSelenium Training in Bangalore
Software Testing Training in Bangalore
Java Selenium Training in Bangalor
Best Selenium Training in Bangalore
Best Selenium Training Institute in Bangalore
Very nice and interesting blog. You can also check my articles as well.
ReplyDeletewhat is machine learning and artificial intelligence
reactjs architecture
what is amazon web service
benefits of angularjs
aws interview questions and answers for freshers
aws devops interview questions and answers
Sexologist in chennai
ReplyDeleteSexologist doctor in chennai
Male fertility doctor in chennai
Std clinic in chennai