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 _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> 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? WAHtmlCanvas is the default render since Seaside 2.7. WAHtmlRenderer is deprecated in 2.7 and completely gone in 2.8alpha. The examples on the web site should be updated ... Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> > 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? > > WAHtmlCanvas is the default render since Seaside 2.7. WAHtmlRenderer > is deprecated in 2.7 and completely gone in 2.8alpha. The examples on > the web site should be updated ... I put a comment on every page of the documentation (not only the index page) that tells clearly that the documentation is outdated. If anybody is willing to improve this documentation (especially in the context of the new web-site), please ask here for the password. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Lukas Renggli <renggli <at> gmail.com> writes:
> > WAHtmlCanvas is the default render since Seaside 2.7. WAHtmlRenderer > > is deprecated in 2.7 and completely gone in 2.8alpha. i never checked my version, it's the latest from cincom store and turns out to be Seaside2.6b1-mb.133.mcz.. i guess they don't update it too often.. > >The examples on the web site should be updated ... > > ... please ask here for the password. if it's matter of updating source code examples, i can do that! _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Marco Primi-2
In seaside 2.7 and newer, WAHtmlCanvas is the default renderer. Which version of seaside are you using?
Romain Il giorno Apr 1, 2007, alle ore 8:40 PM, Marco Primi ha scritto:
-- Romain Robbes _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Romain Robbes <romain.robbes <at> gmail.com> writes:
> > In seaside 2.7 and newer, WAHtmlCanvas is the default renderer. Which version of seaside are you using? > > Romain i'm using VisualWorks and Seaside 2.7 is not in the public Cincom repository, Michel Bany is currently working on it. (in the previous message i said the last update was from a year ago but just because i have problem remembering that we are in 2007... ;-P) In the meanwhile i found that using WAHtmlRenderer for some components and WAHtmlCanvas for some others (and all children) works too! _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> i'm using VisualWorks and Seaside 2.7 is not in the public > Cincom repository, Michel Bany is currently working on it. > (in the previous message i said the last update was from a > year ago but just because i have problem remembering that we > are in 2007... ;-P) > > In the meanwhile i found that using WAHtmlRenderer for some > components and WAHtmlCanvas for some others (and all > children) works too! Careful! WAHtmlCanvas is not a very useful renderer. For the canvas api, use WARenderCanvas (default in 2.7) For the classic api, use WAHtmlRenderer (default in 2.6) HTH, Michel. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |