On Fri, Feb 26, 2016 at 07:34:00AM +0100, Sven Van Caekenberghe wrote:
> And Zn has a very simple one too (since recently):
And I published WaterMint a few months ago.
http://www.samadhiweb.com/blog/2015.09.26.watermint.html.html
http://www.smalltalkhub.com/#!/~PierceNg/WaterMint-HTML
|
Well… It’s in a separate package called ‘Seaside-Canvas’.
You should only need Seaside-Core as a prerequisite, as you can derive from the
metacello config.
I did not try, but let me know if you do.
Johan
> On 25 Feb 2016, at 23:07, stepharo wrote:
>
> Hi johan
>
> What
Sven Van Caekenberghe-2 wrote
> And Zn has a very simple one too (since recently):
>
> generateHelp
> "Generate an HTML page with links to all pages I support"
>
> ^ ZnHtmlOutputStream streamContents: [ :html |
> html page: (self class name, ' Help') do: [
> html
stepharo wrote
> Hi johan
>
> What would be good is to have it in a separate package because I wanted
> to output HTML and loading seaside
> for that was heavy.
>
> Stef
Yes, this is exactly what I was looking for :)
--
View this message in context:
And Zn has a very simple one too (since recently):
generateHelp
"Generate an HTML page with links to all pages I support"
^ ZnHtmlOutputStream streamContents: [ :html |
html page: (self class name, ' Help') do: [
html tag: #h3 with: 'Available Pages'.
MartinW writes:
> I know, there are templating systems like Mustache, but I always loved
> Seaside's Canvas/Brush metaphor for creating HTML. Is it available as a
> standalone package, so it can be used outside of Seaside?
Pillar has this which is less powerful thank Seaside
Hi johan
What would be good is to have it in a separate package because I wanted
to output HTML and loading seaside
for that was heavy.
Stef
Le 25/2/16 19:33, Johan Brichau a écrit :
Depends on what you mean with ‘outside of Seaside’ but maybe this is what you
would be looking for:
Depends on what you mean with ‘outside of Seaside’ but maybe this is what you
would be looking for:
WAHtmlCanvas builder render: [ :html |
html anchor
url: 'htttp://www.seaside.st';
with: 'Seaside Homepage' ]
See WABuilderCanvasTest for some examples.
Hi,
I know, there are templating systems like Mustache, but I always loved
Seaside's Canvas/Brush metaphor for creating HTML. Is it available as a
standalone package, so it can be used outside of Seaside?
Best regards,
Martin.
--
View this message in context: