Re: Refreshing tapestry grid content from another component.

2015-04-08 Thread Thiago H de Paula Figueiredo
Spot-on explanation, Lance. We could try to find some client-side JavaScript event that triggers that, but I'm in the middle of a work fire here . . . :( On Tue, 07 Apr 2015 04:47:50 -0300, Lance Java lance.j...@googlemail.com wrote: I tried triggering

Re: Refreshing tapestry grid content from another component.

2015-04-07 Thread Lance Java
I tried triggering resources.triggerEvent(InternalConstants.GRID_INPLACE_UPDATE,null, null); from onUpEvent, that trigger from an event link inside the grid. But that didn't seem to work This is a common misconception. Your eventlink inside the grid is not a child of the grid so the event won't

Re: Refreshing tapestry grid content from another component.

2015-04-07 Thread abangkis
Hi Lance, thanks for the explanation :) On Tue, Apr 7, 2015 at 2:47 PM, Lance Java lance.j...@googlemail.com wrote: I tried triggering resources.triggerEvent(InternalConstants.GRID_INPLACE_UPDATE,null, null); from onUpEvent, that trigger from an event link inside the grid. But that didn't

Re: Refreshing tapestry grid content from another component.

2015-04-02 Thread abangkis
Hi Thiago, thanks for the reply. Yes, after a few try I finally just wrap the whole grid component in a zone. I tried triggering resources.triggerEvent(InternalConstants.GRID_INPLACE_UPDATE, null, null); from onUpEvent, that trigger from an event link inside the grid. But that didn't seem to work

Re: Refreshing tapestry grid content from another component.

2015-03-30 Thread Thiago H de Paula Figueiredo
On Sun, 22 Mar 2015 06:36:49 -0300, abangkis abang...@gmail.com wrote: Now I'm wondering if there's any way to trigger this behavior from another component. Have you thought about wrapping it in a Zone? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer

Refreshing tapestry grid content from another component.

2015-03-22 Thread abangkis
Hello, in tapestry 5.4 it's very easy to refresh the grid content using ajax. You just set inplace field to true and you're done. The grid component handles everything. Now I'm wondering if there's any way to trigger this behavior from another component. For example i have an UpEvent link that