Re: NullPointer when refreshing a page with a table inside a zone

2013-09-13 Thread Thiago H de Paula Figueiredo
On Fri, 13 Sep 2013 04:57:15 -0300, ANDRE Christophe wrote: Thanks for all your answers. I tried your solution Thiago like this: BeanModel getModel() { return beanModelSource.createDisplayModel(myObject.class,resources.getMessages()); } This method should be public. -- Thiago H.

RE: NullPointer when refreshing a page with a table inside a zone

2013-09-13 Thread ANDRE Christophe
t;myZone ", myZone.getBody()); } I guess it's not really clean to define it two times... I m using Tapestry version 5.3.3 Thx Christophe -Message d'origine- De : Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi 12 septembre 2013 20:48 À : Tapestry u

Re: NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread Thiago H de Paula Figueiredo
On Thu, 12 Sep 2013 15:16:41 -0300, ANDRE Christophe wrote: Hi, Hi! Your code is missing that part that provides the value for myObjects and what Tapestry version you're using. In addition, you seem to be only setting the model field when rendering the whole Grid. Why don't you remov

Re: NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread Boris Horvat
You seem to have a few extra spaces, not sure if that is your problem but still t:zone=" myZone " ajaxResponseRenderer.addRender("myZone ", myZone.getBody()); @OnEvent(value="success", component = " myForm ") On Thu, Sep 12, 2013 at 8:16 PM, ANDRE Christophe < christophe.and...@docapost-bpo.co