[Seaside] How to directly add a component to a canvas without
<div>
Bahman Movaqar
Bahman at BahmanM.com
Tue May 28 13:12:14 UTC 2013
On 2013-05-28 17:38, Karsten Kusche wrote:
> try that
> Root>>renderContentOn: html
> html render: self comp1.
Thanks a lot. That worked!
> 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>
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
More information about the seaside
mailing list