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 123817 - Make Visual Web Pack allow to user to choose using component binding or value binding instead of forcing component binding
Summary: Make Visual Web Pack allow to user to choose using component binding or val...
Status: RESOLVED DUPLICATE of bug 123536
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 14:35 UTC by ymhsenger
Modified: 2007-12-13 21:27 UTC (History)
3 users (show)

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 ymhsenger 2007-12-11 14:35:51 UTC
Visual Web Pack forces you to use Component Value binding, it means that all your tags (JSF HTML Library and JSF Core
Library) are directly associate to a Managed Bean, and in this case Managed Beans are called Backing Beans, they are 1:1
to JSP pages.

Another approach, used in the wonderful feature "Generate JSF pages from entities" is to bind the value attribute of JSF
Html Library and JSF Core Library to Managed Bean attributes, that might be Domain Model Objects instances.

It would be very very very nice be able to use Visual Web Editor without necessarily needing to use Component Binding
and Backing Beans.

I love Visual Web Editor, but I don't think Component Binding is the best approach for JSF, it might be nice for binding
validators, converters and SOME components, but not for all components. It forces the user to interact directly with UI
Component instances and brings the need of getting input value from those components and putting in Domain Model Objects
and vice-versa. They are good for transient values.
Comment 1 Winston Prakash 2007-12-11 20:07:40 UTC
This issue is already being addressed for 6.1

http://wiki.netbeans.org/wiki/view/OnDemandBindingAttribute
http://wiki.netbeans.org/wiki/view/VW_binding_removal
Comment 2 Winston Prakash 2007-12-13 21:27:47 UTC

*** This issue has been marked as a duplicate of 123536 ***