Community
Participate
Working Groups
When some Javascript contains JSP expressions, scriptlets, or actions, the javascript content is not analysed and represented with one single String content. It is whishable to retrieve JSP parts as instances of JSPExpression, JSPScriptlet, JSPAction owned by the JavaScript instance. As it was done for attribute values using the ComposedAttribute metaclass.
Created attachment 172401 [details] a Javascript sample with JSP actions I attach a sample of Javascript with JSP actions.
Hi Fabien, Please find attached a patch to update the grammar so that it takes in account JSP elements contained in JavaScript code. 1. I, Nicolas Guyomar, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Regards Nicolas
Created attachment 172420 [details] org.eclipse.gmt.modisco.jee.jsp.discoverer This patch update the JavaScript grammar's rule to parse JSP Element inside Javascript piece of code
Comment on attachment 172420 [details] org.eclipse.gmt.modisco.jee.jsp.discoverer JSP discoverer patch for JavaScript
Thanks for this patch Nicolas. The contribution is less than 250 lines of code. The code has been commited into SVN.
The patch has been successfully applied.