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 119302 - JSP code changes not synchronised with Design view property changes.
Summary: JSP code changes not synchronised with Design view property changes.
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 02:56 UTC by gsteyn
Modified: 2007-10-23 00:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gsteyn 2007-10-18 02:56:02 UTC
When draging and droping a new component on the visual designer page, you can set the properties in the property editor,
e.g. id = "firstName".  If you switch to the JSP view for the visual page and change the ID manually to fName, you can
save the change, but switching back to the visual view does not reflect the change.  Previewing the page in the browser
shows that the source code rendered is using the visual editor version of the ID rather than the JSP version.  It would
be great if this could be fixed, as it is offen easier to change the values in the JSP editor, once the initial
drag-and-drop layout has been completed in the visual editor.  The lack of these sort of features really limits the
general use of the visual editor for some cases.
Comment 1 Peter Zavadsky 2007-10-18 18:59:57 UTC
Here are steps:

1) Drop button into designer
2) Change its id to "firstName"
3) Switch to JSP view and change it in the source to "fName", and save it
4) Switch to designer, the property editor still shows "firstName"
5) Run refresh, you can see, still "firstName" in the property editor.
6) Switch to JSP and there is back the "firstName"

It seems that the model doesn't accept the change from the source to the "fName" (otherwise the refresh should fix it).
Passing to insync, to look at it.
Comment 2 _ sandipchitale 2007-10-23 00:53:05 UTC
Changing of id property of the component is only supported through the Property editor. Changing this to enhancement.