Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 185189 - run XHTML file as a JSF file
run XHTML file as a JSF file
Status: NEW
Product: javaee
Classification: Unclassified
Component: JSF
PC Linux
: P2 with 1 vote (vote)
: 7.1
Assigned To: Martin Fousek
Depends on:
  Show dependency treegraph
Reported: 2010-04-28 15:09 UTC by Jindrich Sedek
Modified: 2011-05-27 11:41 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2010-04-28 15:09:57 UTC
Imagine having a web project with a bunch of XHTML files. Something like Scrum Toys sample project.

Invoking run file on XHTML behaves the same way in Web project - it doesn't consider JSF enabled, so it just opens XHTML code in browser. It doesn't help much during development.

It would be good if there was an action Run as JSF in case there is JSF enabled and there is a rule mapping this XHTML to a JSF page.

For example you have this piece of code in web.xml:
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-name>Faces Servlet</servlet-name>

The action should open /xyz/test.jsf instead of /xyz/test.xhtml.

It would make JSF testing and debugging much easier

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