[Seaside] render Seaside Component html to a workspace?

gettimothy gettimothy at zoho.com
Sun Dec 23 08:10:27 UTC 2018


Got it! WAHtmlCanvas builder render: [ :html | |c| c := (ZurbTabsBasicsExample new) .   html render: c]. Perfect, thank you so much. t ---- On Sat, 22 Dec 2018 15:07:14 -0500 Johan Brichau <johan at inceptive.be> wrote ---- Still not sure what you want :) You want to print the generated html of a component? WAHtmlCanvas builder render: [ :html | html unorderedList: [ html listItem: 'an item' ] ]. On 22 Dec 2018, at 18:11, gettimothy <gettimothy at zoho.com> wrote: No, that is internal to a component. I guess I am looking for a brush that renders to a workspace ---- On Sat, 22 Dec 2018 11:48:04 -0500 johan at inceptive.be wrote ---- You mean `html html: ‘<p> Here is some plain html </p>’ ` ? Johan On 22 Dec 2018, at 13:02, gettimothy <gettimothy at zoho.com> wrote: Hi Folks, I am looking for something like doing a "print it" on  MySeasideComponent. Does this exist? There are times during CSS work where having a component's html as a cut-n-paste would be handy. This is because the modern (Zurb Foundation) modifies the seaside generated html after page-load with "live" variables for things like tool-tips, off-canvas, modals, etc. Therefore, the "View Source" in the browser is different than what I have coded in my components. These frameworks (Zurb Foundation) provide live coding environments based on node.js and placing clean html into them is a must so that the zurb can generate its own live variables. thx _______________________________________________ seaside mailing list seaside at lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list seaside at lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list seaside at lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list seaside at lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20181223/a28be6b0/attachment.html>


More information about the seaside mailing list