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 97162 - Mock container should model project faces and web configs
Summary: Mock container should model project faces and web configs
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Winston Prakash
Depends on:
Reported: 2007-03-03 15:13 UTC by Gregory Murphy
Modified: 2007-07-11 23:10 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Murphy 2007-03-03 15:13:48 UTC
Third-party component sets often require that an application be configured
specially, e.g. through the specification of a servlet filter or initialization
parameters. During rendering, the components may also perform checks of their
context to ensure that it was configured correctly. Since the design-time "mock"
servlet environment in Visual Web Pack does not model this data, the components
cannot currently be used.

Two enhancements are needed. First, in the design-time API. There should be
methods for getting editable configuration file objects, or individual methods
for getting/setting things like init parameters, filter definitions, etc., so
that the design-time support for comp libs can inject configuration information

Second, the Rave design-time servlet container should register settings found in
the project's web.xml file. It should also listen for changes to the file, and
update itself accordingly. We should probably also extend this to the
faces-config file, or at least certain parts (supported locales, for example).
Comment 1 Jayashri Visvanathan 2007-06-15 04:48:03 UTC
This need to be dealt post NetBeans 6.0 release.