NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

no items found-binding a visual jsf table works but does not display rows in the mysql database

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
jonte



Joined: 26 Jan 2011
Posts: 2

PostPosted: Thu Jan 27, 2011 5:56 am    Post subject: no items found-binding a visual jsf table works but does not display rows in the mysql database Reply with quote

I am new to java web applications. I am using this tutorial (http://www.javaguicodexample.com/javawebjpajsfmysqldatabase12.html) to get started on the same but i am stuck on displaying any row that is in the database (Mysql).
The binding works well but on running the application, the visual jsf table displays "no items found". The drop-down-list cannot also display any items.
Please help.
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 606
Location: Simpsonville, SC

PostPosted: Sat Jan 29, 2011 1:52 am    Post subject: Re: no items found-binding a visual jsf table works but does not display rows in the mysql database Reply with quote

Hello Jonte,

Which version of NetBeans are you using? The last best version to do Visual JSF on was 6.7.1. I have not tried putting the nb files on 6.8 or 6.9 so your mileage may vary. The bindings in general work with MySQL without issue. Can you provide some more specifics.

John

On Thu, Jan 27, 2011 at 12:57 AM, jonte <address-removed ([email]address-removed[/email])> wrote:
Quote:
I am new to java web applications. I am using this tutorial (http://www.javaguicodexample.com/javawebjpajsfmysqldatabase12.html) to get started on the same but i am stuck on displaying any row that is in the database (Mysql).
The binding works well but on running the application, the visual jsf table displays "no items found". The drop-down-list cannot also display any items.
Please help.







--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
jonte



Joined: 26 Jan 2011
Posts: 2

PostPosted: Fri Feb 11, 2011 2:48 pm    Post subject: Reply with quote

Hi jyeary,

I was using nb 6.5.

I realized what I was actually doing wrong. It was the database login credentials that were wrong. I had used a blank password for the root user.
Thanks though for taking your time to respond to this.

John.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo