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.
<http://netbeans.org/kb/docs/web/jsf20-crud.html> Tutorial feedback has indicated that the project runs into the following 2 errors when user tries to perform the following actions in a browser: * client > create javax.faces.view.facelets.FaceletException: Error Parsing /client/Create.xhtml: Error Traced[line: 10] Element type "ui:define" must be followed by either attribute specifications, ">" or "/>". * project > create java.lang.IllegalArgumentException: projectPK.projectName The tutorial project uses template code from the 'JSF Pages from Entity Classes wizard'. To reproduce: MySQL database: http://kenai.com/projects/consultingagencysol/downloads/download/base/mysql-consult.zip NetBeans project: http://kenai.com/projects/netbeans-samples/downloads/download/Samples%252FWeb%252FConsultingAgencyJSF20.zip
Tried to reproduce, but stuck on step create JFS pages from entity classes, there is no entity classes present in the wizard. reassigning to persistence
is it mac os X specific issue?
I don't think so
I can't reproduce first issue, it may be related to changes to template done by user or more details are required. But I can reproduce second one with Client and Project, it may be something related to composite primary keys support in generated pages.
create page are shown for client/project in case of jsp pages and throw exception in case of facelets
the issue is related to usage of '.' in id in facelets, if I replace '.' with '_' page will be shown.
http://hg.netbeans.org/web-main/rev/c5f2bf5bb205 second part should be fixed now, feel free to add details if first one is still valid
Integrated into 'main-golden', will be available in build *201003160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c5f2bf5bb205 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: fix #181024 - replace '.' with '_' in fiels ids in create/edit pages