Re: How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
Oh thanks a lot.. Ya u r right. I got NPE. Now got it. .:-) Ulrich Stärk wrote: > > client = new Client(); > > Beaneditform is taking care of that for you. If you want to do it > manually than you have to make sure it gets instantiated. > > BTW, I'm just guessing that this is causing your

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Kristian Marinkovic
your client field is null!! kk4Nabble 23.04.2009 11:28 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: How to pass data from page(tml) to java class HI, It workes for beaneditform perfectly fine. Thats when i give like this. But n

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Ulrich Stärk
client = new Client(); Beaneditform is taking care of that for you. If you want to do it manually than you have to make sure it gets instantiated. BTW, I'm just guessing that this is causing your NPE. If you had read the stacktrace or even used a debugger you would know exactly where the NPE

Re: How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
HI, It workes for beaneditform perfectly fine. Thats when i give like this. But not for the usual form . I even tried t:value="client.firstName". But it does not work. Ulrich Stärk wrote: > > Your client object is probably null. Make sure it isn't. > > Uli > > Am 23.04.2009 11:14 sc

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Ulrich Stärk
Your client object is probably null. Make sure it isn't. Uli Am 23.04.2009 11:14 schrieb kk4Nabble: Hi all, Am learning Tapestry 5. This is createclient.tml First Name:

How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
Hi all, Am learning Tapestry 5. This is createclient.tml First Name: Last Name: