- This topic has 27 replies, 10 voices, and was last updated 13 years, 8 months ago by
Glen Ihrig.
-
AuthorPosts
-
June 16, 2011 at 11:09 pm #317585
support-swapnaModeratorhind01,
The fix will be available in MyEclipse 9.1 version which will be out in 2 weeks time.
Sorry for the delay.July 4, 2011 at 7:06 am #317921
support-swapnaModeratorhind01,
MyEclipse 9.1 has been released. Here is the link to update to it :
https://www.genuitec.com/forums/topic/myeclipse-9-1-is-now-available/Let us know how it works for you.
July 7, 2011 at 1:21 pm #318034
krish.sahooMember@support-swapna wrote:
hind01,
MyEclipse 9.1 has been released. Here is the link to update to it :
https://www.genuitec.com/forums/topic/myeclipse-9-1-is-now-available/Let us know how it works for you.
I am still having problems. It gives errors on syntax
$(function() {
$(‘#defaultPopupDatepicker’).datepick({
showOn : ‘both’,
buttonImageOnly : true,
buttonImage : ‘../resources/datePicker/calendar-blue.gif’,
showBigPrevNext : true,
showStatus : true
});
});error: The function $(HTMLDocument) is undefined
It also shows syntax errors in the “jquery-1.3.2.min.js” file that I have downloaded
July 8, 2011 at 12:43 am #318038
support-swapnaModeratorkrish.sahoo,
I could not replicate the issue at my end on MyEclipse 9.1. I checked with both the code snippet and the jquery-1.3.2.min.js file.
Can you answer some more questions for me to understand the issue better ?
1) How did you update to MyEclipse 9.1 ? Is it through Pulse/All-In-Installer/Archived Update Site or updated from the MyEclipse Configuration Center ? Also share the build id from Help > About MyEclipse Enterprise Workbench > Build Id.
2) Can you attach a screenshot of Window > Preferences > MyEclipse > Files and Editors > JavaScript. ?
Refer to https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/ on how to upload attachments to forums.July 14, 2011 at 3:36 pm #318233
everZMemberI just upgraded from 9.0 to 9.1. The issue still exists.
July 14, 2011 at 3:46 pm #318234
everZMemberI think I should give more info.
I upgraded to 9.1 by pulse. The build id is 9.1-20110701.
The jquery is jquery-1.5.2.js.. The error is:
syntax error on token “undefined”Best,
Everett
July 14, 2011 at 11:59 pm #318240
support-swapnaModeratoreverZ ,
Regarding the error on token ‘undefined’ , according to JSDT validator it is right in this case i.e using “undefined” as function parameter name is incorrect. Thats why it throws error. Is this error hindering you from displaying the pages correctly when it runs?
July 15, 2011 at 8:58 am #318259
everZMemberNo, the form works fine. The only issue is that there is a red “x” for the project and its related folder.
Best,
Everett
July 17, 2011 at 11:27 pm #318285
support-swapnaModeratoreverZ ,
The red ‘X’ is due to the JSDT validator rules. I am afraid we cannot do anything about it at this point, as it is valid rule in terms of the JSDT validator. I can only suggest you to ignore it.
Hope this helps.
July 21, 2011 at 4:44 pm #318385
Arthur HickenMemberUnfortunately just ignoring it isn’t a good issue. We’re trying to make sure the project doesn’t have any errors, and if we start ignoring the red flag on the project, we’re sure to miss something. We need a fix or workaround other than “ignore the thing that tells you core code is broken”
Some options would be:
1) Make MyEclipse more compatible with what JQuery is doing – for example make your rule recognize the jQuery library and not report that error
2) fix the rule – It’s not clear that it’s actually correct
3) Have a discussion with the jQuery guys and find a solution that is JDST compatible and get them to update their code
4) Make a way to selectively ignore such issues on a file basis so that we can flag what is essentially a false positive
or anything else like that. Simply living with it is not a good option.
July 22, 2011 at 12:02 am #318390
support-swapnaModeratorahicken,
We apologize for the inconvenience caused. I have escalated your suggestions to the dev team.
Do let us know if you have any other issues.
October 2, 2011 at 6:03 pm #320140
RaminMemberRegarding the three errors with jquery, the below link clearly explains the issue but unfortunately offers no solution. You can just exclude it from validation.
http://forum.jquery.com/topic/3-syntax-errors-found-in-jquery-js-in-rad-7-5-eclipse-ganymede
October 3, 2011 at 12:51 am #320152
Glen IhrigMemberHey guys,
Disclaimer: I’m working with ME4S 9.1 on a Mac OS X 10.5.8, this info may not apply to your circumstance.
Unfortunately, ME JavaScript support, especially validation, leaves a lot to be desired…
In my experience, disabling JavaScript validation is confused by having at least three different disable options, only one of which actually works.
The working feature is accessed at:
Preferences > MyEclipse > Validation > JavaScript validator … Clear both check boxes.
This will trigger a full project rebuild, after which, JavaScript validation will be globally disabled.
Hope you find this helpful.
-Glen
-
AuthorPosts