two things: a) Why it should be a UIBase and not a Container or ContainerBase?
b) I think a bead should right to do this so we could apply to whatever component (regarding a was not a problem) 2016-11-30 23:26 GMT+01:00 Alex Harui <aha...@adobe.com>: > > > On 11/30/16, 2:14 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > wrote: > > >> I'm trying to understand your scenario. Can you post some simple MXML > >>of > >> what you want to do? MXML is not HTML and I'm not sure it should be. > >> Changing MXML might impact IDEs which I don't think we should do. > >> > >> > >I think I don't want to change MXML, I want just get one type of output > >that we don't support yet. > >I want a MXML/AS standard component that could output just text or > >text+htmltags > > > >Examples are whatever combination of html tags and text > > > >outputs: > > > ><div>sometext</div>. (more example changing div by li, span, section, > >td,...and so on...that's all allowed by html without the need of an > >intermediate span tag, and I think is a must to support it. > > > >In MXML that could be: > > > ><js:Container><js:Text text="sometext/></jsContainer> > > > >Right now the only way to get text is > > > ><js:Container><js:Label text="sometext/></jsContainer> > > > >ant that throws: <div><span>sometext</span></div> (with lots of styles in > >div and span) > > > >Maybe a bead could do the job in combination with whatever flexjs > >component, and that bead will insert text between the host component, we > >only need the framework to support it. > > If the component LI was based on UIBase instead of Container and had a > text/html property, just like Label, then you would write: > > <js:LI>some text</js:LI> > > Or > > <js:LI><b>some bold text</b></js:LI> > > And the LI would have its text or HTML property set, just Like Label, and > it would thus result in the following DOM. > > > <li>some text</li> > > Or > > <li><b>some bold text</b></li> > > Isn't that what you want? > > -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.