[Seaside] Using SUInPlaceEditor in a different way

Lukas Renggli renggli at gmail.com
Mon May 21 18:54:13 UTC 2007


> Thanks a lot Lukas, The tutorial is indeed one of the best I have come
> across. I downloaded the code and loaded it. I then completed the codes from
> the notes of yours, which as been explained splendidly. I have a question.

Thanks for the feedback. The notes are not really complete, as these
was just what I needed during the presentation last ESUG.

> Do we have to use
> ToDoListView>>rendererClass
>  ^ WARenderCanvas

Not anymore in Seaside 2.7 and 2.8.

> What purpose does this serve?

Change the rendering class, the class of the object passed into
#renderContentOn:. It doesn't server an important purpose in current
versions of Seaside, since now there is only WARenderCanvas.

> After Completing the code, I ran into the following error message upon
> pressing Add New Button and then Saving a New Item. Am I missing
> something ?
>
> Error: Components not found while processing callbacks: an Array(a
> ToDoItemView)
> WARender(Object)>>error:

There is this line missing in my notes (I updated the notes):

- ToDoListView>>children
	^ Array with: editor

> Thanks again for your timely help. I would love to see more tutorials from
> your side.

Creating new tutorials is so much of work ... unfortunately :-(

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list