[Seaside] WAHtmlRenderer or WAHtmlCanvas?

Marco Primi marco.primi at lu.unisi.ch
Sun Apr 1 18:40:26 UTC 2007


Ciao, 
i started to work on a simple application with seaside almost a month ago, 
currently i'm subclassing WAHtmlCanvas and using it as 'rendererClass' for my
components.

My goal was to extend seaside to render SVG graphics inline, generating it
inside xhtml, and this has worked fine so far

However, trying some examples from the seaside official documentation, 
http://seaside.st/Documentation/LinksFormsandCallbacks/
for example:
<pre>
html form:
  [html text: 'Name: '.
   html textInputWithValue: person name callback: [:val | person name: val].
   html break.
   html submitButton]
</pre>

results in an error, since methods like #textInputWithValue:callback: are
implemented in WAHtmlRenderer which is not in my hierarchy.

Searching in this list i found a message from a couple of years ago that says 
"WAHtmlCanvas is still under development, don't use it" 

What is the state of development today? Is WAHtmlCanvas ready to be used?
if so, what is the equivalent of #textInputWithValue:callback: with the new API?

Thanks
Marco




More information about the Seaside mailing list