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 141444 - [65cat] Configuration Files without all javax.faces.CONFIG_FILES
Summary: [65cat] Configuration Files without all javax.faces.CONFIG_FILES
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 00:16 UTC by jlaskowski
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

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 jlaskowski 2008-07-24 00:16:24 UTC
[ BUILD # : 200807221016 ]
[ JDK VERSION : 1.6.0_07 ]

1. Create a javaserver faces web application
2. Define javax.faces.CONFIG_FILES in web.xml with 2+ files (use
different name than faces-config.xml)
3. Only the first file name from javax.faces.CONFIG_FILES is listed
in Configuration Files node
Comment 1 Pavel Buzek 2008-07-24 13:54:17 UTC
Can you attach the web.xml (or a portion that contains this parameter)? When I add:
    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/foo.xml, /WEB-INF/bar.xml</param-value>
    </context-param>
into web.xml and create foo.xml and bar.xml in WEB-INF the files are shown, although only after I close and reopen the
project. Can you test if closing and reopening the project fixes the problem for you (then that could be fixed)?
Thanks.
Comment 2 jlaskowski 2008-07-24 15:52:54 UTC
It worked fine when I closed and opened the project again. With the recent daily build 200807231346 however the files
specified by javax.faces.CONFIG_FILES are not listed anymore.
Comment 3 Pavel Buzek 2008-07-28 14:08:03 UTC
Cannot reproduce. As long as the file exists and is listed in javax.faces.CONFIG_FILES I see it under Configuration
Files when I reopen the project.
Tested in my build from sources, built today.
Comment 4 jlaskowski 2008-07-31 21:37:25 UTC
That's the point! You had to reopen the project to have seen it listed. That's not what IDE is supposed to be doing.
These files should be listed without having the project reopened. 
Comment 5 _ potingwu 2008-12-16 16:40:51 UTC
As I remember these codes are under web/project which controls how the nodes are shown.
Comment 6 Martin Balin 2016-07-07 08:54:21 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss