Is the Span's createElement getting called?  I would recommend using the
debugger watch the Span get instantiated and added to the renderer.

HTH,
-Alex

On 12/8/16, 2:41 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:

>No, I'm saying that I put a <js:Span text="hello"/> in the custom item
>renderer and is ignored (not <span>hello</span> in html output )
>
>I only get the <li> generated from createElement in the ListItemRenderer.
>
>So the problem is how to get the components declared in customitemrenderer
>outputs in html inside the <li> tag created in createelement() method
>
>2016-12-08 23:14 GMT+01:00 Alex Harui <aha...@adobe.com>:
>
>>
>>
>> On 12/8/16, 2:08 PM, "carlos.rov...@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com>
>> wrote:
>>
>> >Hi Alex,
>> >
>> >I changed ListItemRenderer to extend MXMLItemRenderer, but nothing
>>changed
>> >output is still:
>> >
>> >
>> ><ul class="customListItemRenderer mdl-list"><li class="
>> >mdl-list__item">Widgets</li><li class=" mdl-list__item">Thingys</li><li
>> >class=" mdl-list__item">Sprockets</li><li class="
>> >mdl-list__item">Doohickies</li></ul>
>> >
>> >I don't have any issue with sizes and layouts. My problem is that I
>>want
>> >to
>> >nest custom HTML things, for example a <span>, and I don't get any
>>output
>> >but the current <li> container and it's text...
>> >
>> >Also, MXMLItemRenderer extends as well UIBase and not a "container"
>>class
>> >like Container or ContainerBase
>>
>> I don't think Container should really make a difference other than
>> Container and MXMLItemRenderer know about layout so it should size and
>> position children.
>>
>> But it sounds like you are saying that the js:Span is just placing text
>>in
>> the li and not creating a span?  I don't know of any code that would do
>> that, so I think you'll just have to debug into it.
>>
>> -Alex
>>
>>
>>
>
>
>-- 
>
>Carlos Rovira
>Director General
>M: +34 607 22 60 05
>http://www.codeoscopic.com
>http://www.avant2.es
>
>Este mensaje se dirige exclusivamente a su destinatario y puede contener
>información privilegiada o confidencial. Si ha recibido este mensaje por
>error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
>proceda a su destrucción.
>
>De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>comunicamos
>que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
>S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>servicio o información solicitados, teniendo usted derecho de acceso,
>rectificación, cancelación y oposición de sus datos dirigiéndose a
>nuestras
>oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
>necesaria.

Reply via email to