Re: TableReport slow down

Hilaire <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Le 02/01/2016 11:04, [email protected] a écrit :
> And just to make sure we're not sending you in the wrong direction:
> Johan surely doesn't suggest turning your model objects into
> WAComponents. You don't have to use #render:, and maybe you shouldn't
> even call the method anything like #render, just use some method that
> accepts a renderer as parameter and renders html onto it.

Hi Joachim

If I understood correctly,
1. I need to implement my own*renderOn:* method for my object, (with
code like: *html text: amount; text: ' '; text: '€' *)
2. then from any component I render this object with *html render:
myObject.*
This is what I tested and it provided normal expected rendering time.

But it seems you mean something a bit different: no need to use #render:
Am I missing something?

Thanks

Hilaire

-- 
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.