facebook

JSP editor types backwards

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 16 through 30 (of 37 total)
  • Author
    Posts
  • #227896 Reply

    That’s very possible. I can tell you that the cludge of JSP “goodness” that I have to work on is definitely a big fat mix of HTML, Javascript, and Java code intermingled in the worst of ways. I hate it, but the project is too big to change.

    I’ll try to see how often it happens on my JS heavy pages. I do remember one time that I had a few problems while working on a big JS portion of a JSP file, so you may have hit the nail on the head with this.

    #227915 Reply

    hchuck
    Member

    I just wanted to add that I run into this problem with plain HTML files, also.

    In the case of the HTML editor, it is also random. When the editor is “messed up,” it will no longer let me save the file. Although I can’t reproduce the behavior at will, I have noticed a couple things that seem to happen when the problem occurs:

    1. The <html> tag at the top of the document will appear with two spaces in it (as in <html >).

    2. Sometimes, the editor will insert the following characters into the HTML file at the location I’m trying to edit: __%%__ (two underscores, two percent signs, and two underscores).

    Maybe this will be helpful? I’ll try to capture any other insights when I see the problem again.

    Thanks!

    ——
    Operating System: Windows XP Professional – Version 5.1 with SP2
    Eclipse Version: 3.0.1
    Eclipse Build ID: 200409161125
    MyEclipse Version: 3.8.4
    MyEclipse Build ID: 200501171200-3.8.4
    JDK: 1.4.2_02

    #227916 Reply

    Riyad Kalla
    Member

    This is the first time I’ve heard this information, thank you hchuck.

    #227977 Reply

    I just had the problem occur in a JSP file with no scripting except for two <script> tags that included files (no actual JS code). After reopening the file, I noticed there was a misplaced server-side code end tag (%>), so that might have had something to do with the problem. Not really sure, tho.

    #227979 Reply

    Riyad Kalla
    Member

    Do you still have the original (wrong) Version of this file that you could send to us? It would need to be able to be compilable (without errors) to simulate your environment though, so you might need to send us a subset of your project in order for it to work.

    #228011 Reply

    I don’t know if that’s going to be possible. This project is huge and just getting that one page and its dependancies would include getting 50-some other files, at a minimum. It may be possible to get the immediate dependencies and just stub them out to remove functionality. If you think this would work, let me know and I’ll do that. That would be fairly simple. Also, let me know where to send it. From what I can tell, you can’t upload attachments to the forum.

    #228013 Reply

    Jack Gould
    Member

    I am getting the problem with a very simple HTML file (pasted below). Granted, this file used to be a JSP, and I renamed it to HTML when I realized I didn’t need any dynamic content.

    The last several times I have gotten the editor problem with this file, I have first notice it when I attempted to paste some text into the file. NOTE: I have the multi-clipboard plug-in installed, but I am using the standard ctrl-V to paste.

    I also have an error in the MyEclipse configuration because versions 3.7.2 and 3.8.4 are both detected by Eclipse. The core eclipse version that I am using is 3.0.1.

    I hope this information is helpful.

    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
        <title>Total Compensation ERROR</title>
        
        <meta http-equiv="pragma" content="no-cache">
        <link rel="stylesheet" type="text/css" href="css/pleaseupgrade.css" />
        <style type="text/css" media="all">@import "css/global.css";</style>
        <style type="text/css" media="all">@import "css/printer.css" print;</style>
      </head>
      
      <body>
          <div id="wrapper" >
              <div class="lookupType" >
                <h1>Online Total Compensation</h1>
                <h2>An Error Occurred</h2>
            </div>
            <div class="lookupDiv" >
                <p>An error occurred while attempting to access the Employee Lookup function.</p>
                <p class="warningText" ><span style="font-variant: small-caps;">Message:</span>
                    You do not have administrative access.
                </p>
            </div>
        </div>
        
      </body>
    </html>
    
    #228014 Reply

    Jack Gould
    Member

    Oh. One other thing I wanted to mention. I use Merant Version Manager which has a very cumbersome plug-in for Eclipse. I was wondering if othe users having the problem are using CVS, Subversion, or any other source code control that integrates with Eclipse.

    #228029 Reply

    hchuck
    Member

    jjgould – In response to your question about source control, I am using CVS.

    rkalla – After posting in this forum topic, I also searched the Web Development forum topic. I noticed that my issues with the HTML Editor were very similar to those captured in the following thread: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-5973.html

    GOOD NEWS! When I uninstalled MyEclipse 3.8.4 and reverted to 3.8.3, the problem seems to have disappeared.

    I’m not sure if installing the older MyEclipse version will help those people with JSP Editor problems … but it might be worth a try?

    #228042 Reply

    Riyad Kalla
    Member

    In our internal beating/testing it does seem to go away with 3.8.3, something must have changed that we aren’t aware of. WE are still looking into this bug most likely the fix will magically come when we update the WTP version we are building on, that is part of the problem is that WTP isn’t fully stabalized yet so as we build on it and extend some of the issues bubble up. See if this has gone away in 4.0, if not we will have the time then to do a really close analysis.

    flanakin a test case is imperitive for us so this would be fnatastic as well as instructions on how to reproduce the issue. Please email the project to support@genuitec.com ATTN Riyad.

    #228103 Reply

    timmorrow
    Member

    I posted a comment on page 4 of the other thread mentioned earlier: https://www.genuitec.com/forums/topic/problems-with-html-editor/&postdays=0&postorder=asc&start=45

    The problem always occurs for me after choosing the “Design” view on the HTML editor, then closing and reopening the file.

    Anyone else used the Design view? While this may not be how everyone reproduced the problem, hopefully it is enough for the MyEclipse developers to see what is going on.

    Tim

    #228339 Reply

    Hey all,

    a quick note to say that this backward typing issue has happened to me 3 times in the last 2 weeks – as a newbie, I had assumed that it was something I had caused unwittingly, but now I know about it I’ll try to submit some details next time it happens.

    re. the previous post……I was using design view also.

    Regards,
    Jules

    #228365 Reply

    rateoty
    Member

    hi,
    this might indeed be the case – the page on which i regularly encounter the same problem is the Rational Clearcase webclient. Any time an action which produces a heavy load is performed via this site, in any other tab of my browser (firefox) the typed in content appears backward, as it does in the address line.
    The site itself is mostly generated by a bunch of js and uses an applet to interact with the server.

    Jürgen

    #228379 Reply

    Riyad Kalla
    Member

    Jurgen,
    This is odd, but I believe a separate problem, you are saying that text you type into firefox is appearing backwards?

    #228485 Reply

    rateoty
    Member

    hi,
    yes – if the page’s applet is hard working, all text typed in in the browser appears backward typed. So I thougt there are two things (Java and heavy usage of js) causing the problem and since you (I just dont’t see the posting I intended to reply to – odd, where have I been) mentioned pages with big js on it..

    Jürgen

Viewing 15 posts - 16 through 30 (of 37 total)
Reply To: JSP editor types backwards

You must be logged in to post in the forum log in