Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
java.lang.NullPointerException
Forum Index -> DataTable
Author Message
adi


Joined: 12/11/2007 16:34:19
Messages: 10
Offline

I have a very simple page with a datagrid and a link to add a line to the grid. Clicking on the link generates an exception:



Any ideas what I do wrong?

Thanks
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 183
Offline

Did you put the gridTable inside a <h:form> tag?
adi


Joined: 12/11/2007 16:34:19
Messages: 10
Offline

Yes .. that was it. Thanks.
newzthanh


Joined: 03/26/2008 13:07:58
Messages: 5
Offline

So it mean that we have to put the gridTable inside a <h:form> tag when using Facelets ?
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 183
Offline

Yes, that's right.
 
Forum Index -> DataTable
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.