problem in dataprovider NetBean 5.5

View: New views
2 Messages — Rating Filter:   Alert me  

problem in dataprovider NetBean 5.5

by LG. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi ,
I have problem in connecting my database to Table
I use netbean 5.5+visual web pack
database is connected and when i drag it in to Table component nothing happen
when right click on Table->Bind to Data , the dataprovider  shows in red
this error occur when I choose it
javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: defaultTableDataProvider
        at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
        at com.sun.webui.jsf.component.TableRowGroup.getSourceData(TableRowGroup.java:3030)
        at com.sun.webui.jsf.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:1251) …….

But when I work with Travel DB that comes with visual web pack it works fine.

i hope any one can help me in this
 

Re: problem in dataprovider NetBean 5.5

by LG. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok the cause of problem that name of table was written in small letters ,
and it must be in CAPITAL letters
i capotalize the name and it works fine 
LG. wrote:
hi ,
I have problem in connecting my database to Table
I use netbean 5.5+visual web pack
database is connected and when i drag it in to Table component nothing happen
when right click on Table->Bind to Data , the dataprovider  shows in red
this error occur when I choose it
javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: defaultTableDataProvider
        at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
        at com.sun.webui.jsf.component.TableRowGroup.getSourceData(TableRowGroup.java:3030)
        at com.sun.webui.jsf.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:1251) …….

But when I work with Travel DB that comes with visual web pack it works fine.

i hope any one can help me in this
 
LightInTheBox - Buy quality products at wholesale price