[Seaside] render Seaside Component html to a workspace?

Johan Brichau johan at inceptive.be
Sat Dec 22 20:07:14 UTC 2018


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 <mailto: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 <mailto:seaside at lists.squeakfoundation.org>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org <mailto:seaside at lists.squeakfoundation.org>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <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/20181222/f1a423d2/attachment-0001.html>


More information about the seaside mailing list