[Seaside-dev] non-HTML from Seaside 3.0 on Pharo 1.0 beta

Philippe Marschall philippe.marschall at gmail.com
Wed Sep 9 16:10:29 UTC 2009


2009/9/9 Robert Shiplett <grshiplett2 at yahoo.com>:
> Yesterday I used a 3.0 install on the Pharo 1.0 beta to generate non-HTML
> (in my case that is Curl markup )
>
> I would not say that is any easier that before Camp Smalltalk ( I started
> from scratch - it still took me hours to track down everything )
>
> Anyone trying this must remember both gotchas:
>
> WASystemConfiguration clearAllDescriptions.

That is only needed if you create custom configurations.

> WARenderer resetDefault.

That should not be needed. You should have a root component class that
implements #rendererClass.

> But since WARenderer is an HTML subclass which always resets the default
> renderer class to itself, that >>default method had to change.

See above.

> Now the main nuisance is that methods >>textHtml or >>textPlain are in many
> critical places instead of a default rendering type ... and of course many
> key methods for error and redirect still output raw HTML ...

Can you please provide us with these places? The only ones I see are
HTML and plain text implementations of stragegies which is completely
fine. Just do your on curl implementation and use it.

It's hard to figure out what you had to change without access to your changes.

Cheers
Philippe


More information about the seaside-dev mailing list