This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[#200509041800, jdk1.5.0] to reproduce: ------------- 1) right click a web.xml and choose Edit ERROR: web.xml is opened in General instead of XML view In fact the Edit and Open actions behave identically.
Pavle, please change it to previous status. The problem is that edit() method is called prior to getMultiviewDescriptions(); Formerly, the edit method was implemented in a following way : public void edit () { openView(-1); } and openView(), running in thread and called after createCloneableTopComponent(), was able to detect correctly the xmlMultiViewIndex value.
*** Issue 63789 has been marked as a duplicate of this issue. ***
Fixed http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewEditorSupport.java?r1=1.47&r2=1.48
Added REGRESSION keyword as requested by pblaha.
verified