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
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
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
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
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:
Hi all,
Am learning Tapestry 5.
This is createclient.tml
First Name:
Last Name: