facebook

Struts Config editor does not allow editing.

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #200755 Reply

    Madam/Sir,
    I just checked out the latest 2.7 version of MyEclipse. I am able to edit all types of XML files except the struts-config.xml. Is there some configuration I am missing?
    Thanks,
    Raj Auradkar

    #200760 Reply

    Scott Anderson
    Participant

    Raj,

    Does struts-config.xml open in the Struts editor? It’s a two page editor with source in one panel and a graphical flow viewer in the other.

    Could your file be read-only, due to your version controls system or other file permission related stuff? Easy test: can you do Open with… in the Text editor and edit it?

    –Scott
    MyEclipse Support

    #200774 Reply

    Scott,
    The struts-config.cml does open in the Struts editor, with 2 pages. The file is writable.
    Moreover, strangely I am unable to open ANY of the .XML files with an external editor.!!
    Can you pleae help?
    Thanks,
    Raj Auradkar

    #200775 Reply

    Scott Anderson
    Participant

    The struts-config.xml does open in the Struts editor, with 2 pages. The file is writable.

    And you’re saying that you can’t type into the source view? What does it do when you type? Anything? Can you edit the file with the text editor?

    Moreover, strangely I am unable to open ANY of the .XML files with an external editor.!!

    Using what mechanism? Right-click Open With > System Editor? What happens? On many systems it opens IE.

    In Window > Preferences > Workbench > File Associations what is shown for *.xml and struts-config.xml?

    Can you please post all the information we request in the Posting Guidelines thread at the top of the forum? That should help us sort it out.

    –Scott
    MyEclipse Support

    #200785 Reply

    Riyad Kalla
    Member

    wait a second here… do you mean the struts config editor is a XML editor window, and then in the outline view it shows you the structure? Cause that is what I’m getting… this talk of a “2 page graphical view” is throwing me off…

    #200794 Reply

    Scott Anderson
    Participant

    Actually no. The Struts config editor is a muti-page editor. It has one pane that is xml source and another that is a graphical flow view. It also has a customized outline view that is seperate. The tabs to switch between the source and flow view should be at the bottom of the editor window. If you’re not seeing that, the system probably use our (or another) XML editor to open struts-config.xml, rather than the struts editor. Try closing it and doing Open With… You should see a struts editor as one of the options.

    –Scott
    MyEclipse Support

    #200805 Reply

    Riyad Kalla
    Member

    Oh I see it now, thanks.

    Problem though, its totally blank… and the struts-config.xml is valid and compiled and my webapp is running… any thoughts?

    #200806 Reply

    Scott Anderson
    Participant

    I’d say check the log file. 🙂 If you have a break somewhere, can you email us the struts-config.xml file?

    –Scott
    MyEclipse Support

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Struts Config editor does not allow editing.

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