Re: is it possible to have a requestFacotry call in a middle of a render method?

2011-12-14 Thread Thomas Broyer
You can do it, but it's a bit tricky, due to the asynchronous nature of the request. What I did is that I pass a callback (I reused the ValueUpdater interface, even though it's not about updating the value, but the method signature was exactly what I needed) to the cell; see below. You also

is it possible to have a requestFacotry call in a middle of a render method?

2011-12-13 Thread Elhanan
hi.. let's say i have a tree which i would like to have for each node along with it's a name a total number of stuff related to that name is it possible to create SafeHTMLrenderer passed to a custom cell, that in it's render method call a RequestFactory method that will append said number to