[Seaside] How to directly add a component to a canvas without <div>

Karsten Kusche karsten at heeg.de
Tue May 28 13:08:05 UTC 2013


try that  
> Root>>renderContentOn: html
>  
> html render: self comp1.
>  


Kind Regards
Karsten

--  
Karsten Kusche - Dipl. Inf. (FH) - karsten at heeg.de
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812  


Am Dienstag, 28. Mai 2013 um 14:51 schrieb Bahman Movaqar:

> Hi all,
>  
> Let's say I have Root (which is the root component) and Comp1 which is a
> component that Root renders and `Comp1>>renderContentOn:' correctly
> wraps itself inside a <div> tag.
>  
> Now in `Root>>renderContentOn:' is there anyway to *just* add Comp1
> without wrapping it in an additional <div>? Consider the following
> pseudo-code:
>  
> <code>
> Root>>renderContentOn: h
> h dumpComponent: self comp1. "instead of `h div with: self comp1'"
> </code>
>  
> TIA,
> --  
> Bahman Movaqar (http://BahmanM.com)
> ERP Evaluation, Implementation, Deployment Consultant
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org (mailto: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/20130528/6733b116/attachment.htm


More information about the seaside mailing list