> 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. > I think text nodes in MXML are expected to be values for properties. In > my mind, HTML is oriented toward presenting things to be read, MXML is > oriented towards creating things to be interacted with. Thus pieces of > text need to be wrapped by some HTMLElement. There is no way to add an id > to a TextNode, AFAICT. > That's the main problem I see. If we have an MXML component that just throw text, that's will be not accesible for interaction...but I think we can't interact already with html only text, so that would not be a problem IMHO > > I could certainly be convinced otherwise... > -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.