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 211747 - JSF Pages from Entity wizard does not generate EE5 code?
Summary: JSF Pages from Entity wizard does not generate EE5 code?
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-04-25 23:35 UTC by David Konecny
Modified: 2012-04-27 10:00 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch idea (1.96 KB, patch)
2012-04-26 02:22 UTC, David Konecny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2012-04-25 23:35:19 UTC
I have a Web Application project for Weblogic server (EE5) and created persistence.xml in version 1.0 and faces-config.xml in verison 1.2 yet when I open "JSF Pages from Entity" wizard it says that "Cannot be generate for Java EE 6 source ...". There used to be a wizard for EE 5 projects which generated JPA Controller classes and used them instead of EJBs. Have we removed it completely or is this a bug?
Comment 1 David Konecny 2012-04-25 23:39:15 UTC
Bumped into this today when trying to generate CRUD for Oracle Cloud (EE5 + JPA2 + JSF2).
Comment 2 David Konecny 2012-04-26 02:22:36 UTC
Created attachment 118776 [details]
patch idea
Comment 3 David Konecny 2012-04-26 02:23:20 UTC
This should be easy to resolve. Attached patch did it for my rough testing.
Comment 4 Martin Fousek 2012-04-26 06:51:08 UTC
Yes, definitely a bug. Thanks for attached patch, looks well to me. Included in web-main #4a0ed447bb62.
Comment 5 Quality Engineering 2012-04-27 10:00:02 UTC
Integrated into 'main-golden', will be available in build *201204270400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4a0ed447bb62
User: Martin Fousek <marfous@netbeans.org>
Log: #211747 - JSF Pages from Entity wizard does not generate EE5 code?