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.
Product Version: NetBeans IDE Dev (Build 200810060201) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Observed: In Java View I can't save changes made in Design View Steps to reproduce: 1, create new Web Application with framework Visual Web JavaServers Faces 2, add some component in Design view 3, switch to the Java view -> press CTRL+S or inoke File-> ... the Saving action is disbled
The problem is that the impl of JsfJavaDataNode (in visualweb.project.jsfloader) is extension of JavaNode (now FilterNode of that). And that one as such doesn't contain save cookie linked to the corresponding JSF JSP file. I now don't remember exact reasons it was done that way. It was probably out of necessity to extend JavaNode directly in order to get its java related cookies(lookup), which is not the case now. There would be probably needed to augment the node also with the JSP save cookie (as it is done in JsfJavaDataObject).