flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlos.rov...@codeoscopic.com>
Subject Re: [FlexJS] Simple text in HTML
Date Wed, 30 Nov 2016 17:51:31 GMT
Hi Alex,

maybe talking about ul/li was bad. UL/LI is working. I think both are
containers, since LI could have direct text or other tags (span, button,
and so on...)
I use it in an example in MDLExample/Tabs
Hope you could revise the rest of the email about output the other kind of
output that is not an html tag node, but a simple text node.



2016-11-30 17:24 GMT+01:00 Alex Harui <aharui@adobe.com>:

> In my mind, UL/OL would be a container, but LI would not.  It would be a
> UIBase that has a text/html property like Label.  All child textNodes
> would be assigned to the html property.
>
> Is there some reason that wouldn't work?
>
> -Alex
>
> On 11/30/16, 3:41 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com>
> wrote:
>
> >Hi Alex,
> >
> >retaking this where we left it.
> >
> >I added Ul and Li components. And as containers are ok. Now revisiting the
> >Div component I did just to get :
> ><div>some text </div>
> >I think is not the way to go.
> >There's already other ways in flexjs to get that.
> >
> >Today recreating the example here:
> >
> >https://getmdl.io/components/index.html#layout-section/tabs
> >
> >I found the same limitation.
> >
> >inside Li there's just text... (text node)
> >
> >we are limited in flexjs to output only nodes, we can't output the other
> >kind of elements in HTML: TextNodes.
> >
> >I will need to be able in createElement to return and element of type
> >TextNode. I tried this but it gives error.
> >
> >Could we have some modification to allow this?
> >
> >I think this is a HTML only requerimiento (COMPILE::JS) since Flash will
> >not have this issue
> >
> >Regarding about your comment of ids, I think the component could output
> >just text while the component could have it's id...right?
> >
> >Anyway, I think this is a problem, since right now I don't have a way to
> >output just text in HTML and that's the basic of html...just text...
> >
> >
> >
> >
> >2016-11-25 9:36 GMT+01:00 Alex Harui <aharui@adobe.com>:
> >
> >>
> >>
> >> On 11/25/16, 12:23 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> Rovira" <carlos.rovira@gmail.com on behalf of
> >> carlos.rovira@codeoscopic.com> wrote:
> >>
> >> >Hi Alex,
> >> >
> >> >I did a Div component, but I refer to just output text not attached to
> >>a
> >> >container.
> >> >Could we return text node as element directly. I want to output just
> >>text
> >> >without a div or a or anything surrounding it
> >>
> >> I guess I don't understand.  Below you show it wrapped in a div.  I
> >> haven't looked at your Div component, but if it has an "html" property,
> >> then it should work as I think you want it.  Or maybe that's the
> >>component
> >> you need to create.
> >>
> >> Remember that so far, the focus of FlexJS has been on dynamic
> >>applications
> >> not on web documents, so we expected that most components may need Ids
> >>and
> >> are addressable at runtime.  If you want to build out components for
> >> static web documents, feel free to do so.
> >>
> >> I'm way over time for tonight, and it is a holiday in the US on Friday.
> >>
> >> -Alex
> >> >>
> >> >> On 11/24/16, 1:20 PM, "carlos.rovira@gmail.com on behalf of Carlos
> >> >>Rovira"
> >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> >> >>
> >> >> >Hi,
> >> >> >
> >> >> >some code like this:
> >> >> >
> >> >> ><div>some text</div>
> >> >> >
> >>
> >>
> >>
> >
> >
> >--
> >
> >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.
>
>


-- 

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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message