full stack trace ?

On Nov 21, 2007 10:17 PM, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:

> Is there anyone that can help with this problem? Thanks
>
> > -----Original Message-----
> > From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
> > Sent: Friday, November 16, 2007 1:36 PM
> > To: 'Tapestry users'
> > Subject: [T5] Cannot persist field exception
> >
> > Hi All,
> >
> > I'm getting the following error
> >
> > Error persisting field Users/Create:username:
> > java.lang.NullPointerException
> >
> > In my page class I have...
> >
> > @Persist
> > private String username;
> >
> > public String getUsername()
> > {
> >  return username;
> > }
> > public void setUsername(String username) {  this.username =
> > username; }
> >
> > and in my template I have
> >
> > <t:label for="username"/>:
> > <input t:type="TextField" t:id="username"
> > t:validate="required" size="30"/>
> >
> > So i'm not sure why i'd be getting this error. Does anyone
> > have ideas? I tried setting some default value to username in
> > the setupRender() function but that doesn't seem to solve the problem.
> >
> > Thanks in advance,
> >
> > Jean-Philippe Steinmetz
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to