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.

Bug 149215 - In Java View I can't save changes made in Design View
Summary: In Java View I can't save changes made in Design View
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 12:05 UTC by Martin Fousek
Modified: 2009-05-25 21:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2008-10-06 12:05:35 UTC
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
Comment 1 Peter Zavadsky 2008-10-06 21:23:59 UTC
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).