Joachim already mentioned that the issue in your case is the missing
continuations support in VAST.
I just exported myself the tutorial and provided some hacks just to enable
you to get a little easier insight into Seaside under VAST.
Please keep in mind:
- WATask go-Methods are intended to be used with continiuations or better
say the usage of #call:
- The lightboxes can only be implemented using jQuery. The Scriptaculous
implementation also uses continuations for this functionality.
I tweaked both things for you. This might give you an insight, why
WATask>>#go should use continuations. Just image a much more complex
workflow,... you wouldn't be able to understand all those ifTrue:/ifFalse:
stuff after a while.
One thing you might think about is using Announcements,... there's a package
available under vastgoodies.com. They help a little when you want to
implement more complex workflows within VAST.
I didn't introduce the jquery lightboxes in the sample. This would change
the codeing too much and it might be too hard for you to goon with your
approach.
I also didn't really take care of any thing else like the database
connections and so on. This exported app is just a way top help you getting
rid of the continuations related errors.
I would also not stay with this hackish implementation,... but for a
start,...
Maybe I'll wind the time next weekend to publish a real port on
VASTGoodies.com,... but only if it doesn't get to different to the
HPI-version.
If you might have trouble importing the app,... just let me know,.. I didn't
test it with a clean image.
Cheers!
Sebastian http://forum.world.st/file/n3697527/STTutTodoAppApp
STTutTodoAppApp
--
View this message in context: http://forum.world.st/Problem-with-Callbacks-in-Seaside-tp3696113p3697527.html
Sent from the Instantiations mailing list archive at Nabble.com.