- This topic has 7 replies, 3 voices, and was last updated 21 years ago by Scott Anderson.
-
AuthorPosts
-
Rajendra V AuradkarMemberMadam/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
Scott AndersonParticipantRaj,
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
Rajendra V AuradkarMemberScott,
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
Scott AndersonParticipantThe 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
Riyad KallaMemberwait 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…
Scott AndersonParticipantActually 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
Riyad KallaMemberOh 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?
Scott AndersonParticipantI’d say check the log file. 🙂 If you have a break somewhere, can you email us the struts-config.xml file?
–Scott
MyEclipse Support -
AuthorPosts