Re: render Seaside Component html to a workspace?
Johan Brichau <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 [email protected] wrote ---- > > You mean `html html: ‘<p> Here is some plain html </p>’ ` ? > > Johan > > On 22 Dec 2018, at 13:02, gettimothy <[email protected] <mailto:[email protected]>> 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 > [email protected] <mailto:[email protected]> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside> > > _______________________________________________ > seaside mailing list > [email protected] <mailto:[email protected]> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside> > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside