NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
knex
Joined: 11 May 2010 Posts: 3
|
Posted: Tue May 11, 2010 6:46 pm Post subject: Generating a JavaServer Faces 2.0 CRUD Application from a Database problem |
|
|
Hello,
I tryed the tutorial to build up da CRUD with JSF 2.0.
Up to the point to generate JSF Pages from Entity Class everything works fine. But at that point.
Enter '/resources/Bundle' into the Localization Bundle Name field. This will generate a package named resources which the Bundle.properties file will reside in. (If you leave this blank, the properties bundle will be created in the project's default package.)
http://netbeans.org/kb/docs/web/jsf20-crud.html#jsfPagesEntityClasses
http://netbeans.org/images_www/articles/68/web/jsf20-crud/newjsf-wizard2.png
My Window doen´t look like this.
It looks like this: http://netbeans.org/images_www/articles/65/web/jsf-jpa-crud/jsf_from_entity_p3.png
But I´ve installed netbeans 6.8.
I cannot create a Bundle. So there is no entry in the faces-config.xml.
If I build the Project an run it. I get erros if I want to list the entrys.
Error Adress/List.jsp(18,12) '#adress.pagingInfo.itemCount==0}' error reading pagingType on type jsf.adresscontroller
i hope i can find help here.
thank you very much.
greetings |
|
| Back to top |
|
 |
knex
Joined: 11 May 2010 Posts: 3
|
Posted: Wed May 12, 2010 11:35 am Post subject: |
|
|
I used tomcat instead of glassfish.
tomcat only supports j ee 5.
so no way. |
|
| Back to top |
|
 |
troy giunipero Posted via mailing list.
|
Posted: Fri May 14, 2010 2:22 am Post subject: Re: Generating a JavaServer Faces 2.0 CRUD Application from a Database problem |
|
|
Hi,
It's not so much about what version IDE you're using - it's about the EE
version used by your project. For example, for Java EE 6 projects, the
IDE uses the version of the wizard you see in the JSF 2.0 tutorial. For
Java EE 5 projects, the IDE uses the other wizard version
(http://netbeans.org/images_www/articles/65/web/jsf-jpa-crud/jsf_from_entity_p3.png).
When you created the project in the tutorial, did you set the EE version
to 'Java EE 6 Web' in the New Project wizard?
knex wrote:
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|