Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 97162 - Mock container should model project faces and web configs
Mock container should model project faces and web configs
Status: NEW
Product: obsolete
Classification: Unclassified
Component: visualweb
5.x
All All
: P3 (vote)
: 6.x
Assigned To: Winston Prakash
issues@obsolete
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-03 15:13 UTC by Gregory Murphy
Modified: 2007-07-11 23:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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
safely.

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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo