(Vous) Il y a 6 années [...] Previously we have talked about how to create a soy portlet, how to use a 3rd party js lib(ChartJS) in SOY portlet, and how to use Liferay Service Builder to create a remote service(web service) in... [...] Read More Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Abre Chase Il y a 6 années I pulled the source and am trying to get this working in Liferay 7 CE GA3, but I get the following JS error.Mismatched anonymous define() module: everything.jsp?browserId=other&themeId=classic_WAR_classictheme&colorSchemeId=01&minifierType=js&mi…:294 I had actually tried building a similar module but without using soy prior to pulling your code and testing it. I was seeing the same problem in my code, but it isn't much different than yours so that's not unexpected.Any ideas about what I might be missing here. Maybe the tutorial is missing some build / Gradle steps? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Neil Jin Abre Chase Il y a 6 années Hi Abre, right, it doesn't work on GA3 . It works on CE GA4. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Abre Chase Neil Jin Il y a 6 années I upgraded to CE GA4 and I still see the same problem.In my es.js file, if I remove the import then I don't see any errors.import Chart from 'chartjs-demo/js/Chart';BND file is placing the file in jar.Web-ContextPath: /chartjs-demoInclude-Resource: package.json,\ META-INF/resources/js/Chart.js = node_modules/chart.js/dist/Chart.jsThat's from the code that I wrote based on your example. However, I see the same problem using your code.Are there any configuration steps I might be missing? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Abre Chase Abre Chase Il y a 6 années I was able to get my code working by setting the following property in portal-ext.propertiesjavascript.fast.load=falseWhy is this necessary? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Neil Jin Abre Chase Il y a 6 années Hi Abre, right, it doesn't work on GA3 . It works on CE GA4. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Abre Chase Neil Jin Il y a 6 années I upgraded to CE GA4 and I still see the same problem.In my es.js file, if I remove the import then I don't see any errors.import Chart from 'chartjs-demo/js/Chart';BND file is placing the file in jar.Web-ContextPath: /chartjs-demoInclude-Resource: package.json,\ META-INF/resources/js/Chart.js = node_modules/chart.js/dist/Chart.jsThat's from the code that I wrote based on your example. However, I see the same problem using your code.Are there any configuration steps I might be missing? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Abre Chase Abre Chase Il y a 6 années I was able to get my code working by setting the following property in portal-ext.propertiesjavascript.fast.load=falseWhy is this necessary? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Abre Chase Neil Jin Il y a 6 années I upgraded to CE GA4 and I still see the same problem.In my es.js file, if I remove the import then I don't see any errors.import Chart from 'chartjs-demo/js/Chart';BND file is placing the file in jar.Web-ContextPath: /chartjs-demoInclude-Resource: package.json,\ META-INF/resources/js/Chart.js = node_modules/chart.js/dist/Chart.jsThat's from the code that I wrote based on your example. However, I see the same problem using your code.Are there any configuration steps I might be missing? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Abre Chase Abre Chase Il y a 6 années I was able to get my code working by setting the following property in portal-ext.propertiesjavascript.fast.load=falseWhy is this necessary? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Abre Chase Abre Chase Il y a 6 années I was able to get my code working by setting the following property in portal-ext.propertiesjavascript.fast.load=falseWhy is this necessary? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler