RE: [EXTERNAL] Binding inside the html property has stopped working

2023-02-14 Thread Maria Jose Esteve
Hi Josh, yes, I thought so. I will do what Brian recommended. Thx. Hiedra -Mensaje original- De: Josh Tynjala Enviado el: martes, 14 de febrero de 2023 19:38 Para: dev@royale.apache.org Asunto: Re: [EXTERNAL] Binding inside the html property has stopped working My change actually

Re: [EXTERNAL] Binding inside the html property has stopped working

2023-02-14 Thread Josh Tynjala
n, Feb 13, 2023 at 11:53 AM Maria Jose Esteve wrote: > Hi Brian, thanks for replying. > Yes, they did work and I really liked it  > If Josh said he can't make it compatible, I would do it as you tell me > with the html attribute directly. > > Thx. > Hiedra > > -

RE: [EXTERNAL] Binding inside the html property has stopped working

2023-02-13 Thread Maria Jose Esteve
Hi Brian, thanks for replying. Yes, they did work and I really liked it  If Josh said he can't make it compatible, I would do it as you tell me with the html attribute directly. Thx. Hiedra -Mensaje original- De: Brian Raymes Enviado el: lunes, 13 de febrero de 2023 20:19 Para

RE: [EXTERNAL] Binding inside the html property has stopped working

2023-02-13 Thread Brian Raymes
I don't believe bindings work within CDATA blocks? This should work: Brian -Original Message- From: Maria Jose Esteve Sent: Monday, February 13, 2023 10:33 AM To: dev@royale.apache.org Subject: [EXTERNAL] Binding inside the html property has stopped working Greetings to all, After

RE: Binding inside the html property has stopped working

2023-02-13 Thread Maria Jose Esteve
Sorry, I didn't say that the modifications were in royale-compiler. Hiedra -Mensaje original- De: Maria Jose Esteve Enviado el: lunes, 13 de febrero de 2023 19:33 Para: dev@royale.apache.org Asunto: Binding inside the html property has stopped working Greetings to all, After a couple

Binding inside the html property has stopped working

2023-02-13 Thread Maria Jose Esteve
Greetings to all, After a couple of months of unemployment, I have been able to resume the Royale project and I have encountered a problem in my itemRenderers: The bindings included in the html property of a Label control are displayed as is, not replaced by the expected binded value. [1

Re: HTML

2022-10-18 Thread Hugo Ferreira
doing right now. > > > > Compiling the SDK on my machine takes the time to dinner and even so, > > > > probably it's not finished yet ! > > > > I hope next year, I update my MacBook :) > > > > > > > > Harbs escreveu no dia terça, 18/1

Re: HTML

2022-10-18 Thread Josh Tynjala
t; > I hope next year, I update my MacBook :) > > > > > > Harbs escreveu no dia terça, 18/10/2022 à(s) > > 21:38: > > > > > >> Let’s see what others think, but in the meantime there’s no reason to > > not > > >> fix the bug.

Re: HTML

2022-10-18 Thread Harbs
the time to dinner and even so, >>> probably it's not finished yet ! >>> I hope next year, I update my MacBook :) >>> >>> Harbs escreveu no dia terça, 18/10/2022 à(s) >> 21:38: >>> >>>> Let’s see what others think, but in the meanti

Re: HTML

2022-10-18 Thread Hugo Ferreira
ook :) > > > > Harbs escreveu no dia terça, 18/10/2022 à(s) > 21:38: > > > >> Let’s see what others think, but in the meantime there’s no reason to > not > >> fix the bug. There are other html setters which already set innerHTML. > >> > >> Harb

Re: HTML

2022-10-18 Thread Harbs
and even so, > probably it's not finished yet ! > I hope next year, I update my MacBook :) > > Harbs escreveu no dia terça, 18/10/2022 à(s) 21:38: > >> Let’s see what others think, but in the meantime there’s no reason to not >> fix the bug. There are other h

Re: HTML

2022-10-18 Thread Hugo Ferreira
ime there’s no reason to not > fix the bug. There are other html setters which already set innerHTML. > > Harbs > > > On Oct 18, 2022, at 11:29 PM, Hugo Ferreira > wrote: > > > > Yes, I saw that helper (I searched for it name) :) > > Yes, it's exactly w

Re: HTML

2022-10-18 Thread Harbs
Let’s see what others think, but in the meantime there’s no reason to not fix the bug. There are other html setters which already set innerHTML. Harbs > On Oct 18, 2022, at 11:29 PM, Hugo Ferreira wrote: > > Yes, I saw that helper (I searched for it name) :) > Yes, it's exactly

Re: HTML

2022-10-18 Thread Hugo Ferreira
t; > If we do sanitize in the components, it should probably happen in the > model setter. > > What do others think? > > > On Oct 18, 2022, at 2:32 AM, Hugo Ferreira > wrote: > > > > Thank you very much. > > I see the bug. > > I hope that the Label

Re: HTML

2022-10-18 Thread Harbs
do sanitize in the components, it should probably happen in the model setter. What do others think? > On Oct 18, 2022, at 2:32 AM, Hugo Ferreira wrote: > > Thank you very much. > I see the bug. > I hope that the Label (html property) that FormHeading that depends on, > doe

Re: HTML

2022-10-17 Thread Hugo Ferreira
Thank you very much. I see the bug. I hope that the Label (html property) that FormHeading that depends on, doesn't have the same issue :) About the sanitize: Should this be really a reponsibility of FormHeadingView !? Shouldn't the responsibility on one of the edges (the limit of html property

Re: HTML

2022-10-17 Thread Harbs
I assume this is Jewel. I don’t use Jewel, but I just looked at FormHeadingView and textChangeHandler is used for both textChange and htmlChange. In both cases it sets the text rather than html in the htmlChange case. That seems to be broken. If you fix this, make sure the html is sanitized

HTML

2022-10-16 Thread Hugo Ferreira
Hi, I'm using FormHeading when I have a lot of fields and want to create a vertical separation (group of data). It's OK, however I needed now to use in the FormHeading texto some HTML (basic stuff like strong and br), however the property "text" of FormHeading it's for simple re

Re: [royale-asjs] branch develop updated: The HTML CheckBox use now a span for the label so we can customize the look with css

2022-01-30 Thread Hugo Ferreira
following commit(s) were added to refs/heads/develop by this push: > > new bec3d1b The HTML CheckBox use now a span for the label so we > can customize the look with css > > new aa7ca1c Merge branch 'develop' of > https://github.com/apache/royale-asjs into develop > > bec

Re: [royale-asjs] branch develop updated: The HTML CheckBox use now a span for the label so we can customize the look with css

2022-01-30 Thread Harbs
x.apache.org/repos/asf/royale-asjs.git > > > The following commit(s) were added to refs/heads/develop by this push: > new bec3d1b The HTML CheckBox use now a span for the label so we can > customize the look with css > new aa7ca1c Merge branch 'develop' of >

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-13 Thread Harbs
OK. For a script tag. But for anything else it should be safe. (I think?) Either way, I don’t know of any reason to be setting innerText instead of textContent, so we should standardize on that either way. Harbs > On Dec 13, 2021, at 1:12 AM, Edward Stangler wrote: > > > innerText still

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
innerText still allows markup, and it's not totally safe (compared to textContent) with unsanitized strings: https://stackoverflow.com/questions/52707031/does-innertext-prevent-xss On 12/12/2021 4:18 AM, Harbs wrote: > Yes. > > Why do you include innerText? AFAIK innerText is safe.

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
Styling, yes. Spans within the label? Not so sure. We could just sanitize the HTML automatically, but I’m not sure how much overhead that has. We could possibly take a middle approach: Check if the label has a “<“ character. If yes, sanitize. If not, don’t. Although I wouldn’t be surpri

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Andrew Wetmore
I would think that styling text in buttons would be pretty common across the Flex universe. Does there need to be documentation about this threat and our steps to secure Royale from it? On Sun, Dec 12, 2021 at 9:44 AM Harbs wrote: > At the expense of performance? How common was setting styled

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
At the expense of performance? How common was setting styled text in buttons? I could go either way on this. > On Dec 12, 2021, at 2:57 PM, Yishay Weiss wrote: > > Haven’t been following this closely enough to understand the overhead > involved, but if it’s not big then retaining backwards

RE: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Yishay Weiss
ber 12, 2021 2:12 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: Sanitizing HTML (was Re: 0.9.9) > On Dec 12, 2021, at 11:30 AM, Harbs wrote: > > Spark ButtonBase I just spent some time looking at this. It seems like Spark supported styling the button lab

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
old-label <https://stackoverflow.com/questions/15295129/flex-part-of-spark-button-bold-label> So there’s two ways we can handle this: 1. Keep innerHTML, but sanitize the HTML. 2. Change Spark Buttons to only support plain text by default and add an html setter to be clear that it’s expect

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
> > (And whatever equivalent for "src" / "url" and other such areas.) > > > > On 12/12/2021 3:32 AM, Harbs wrote: >>> If I set a string variable (i.e. title of a movie) to an unsafe value, >>> and then some class in Royale--written b

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
fe value, >> and then some class in Royale--written by someone else--uses that value >> within some HTML that they then assign to an innerHTML, how am I protected? > I’m saying we should have a policy that it will not be written as innerHTML. > If there’s some overpowering reason to

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
that set a src property. > On Dec 12, 2021, at 11:30 AM, Harbs wrote: > >> If I set a string variable (i.e. title of a movie) to an unsafe value, >> and then some class in Royale--written by someone else--uses that value >> within some HTML that they then assign to an inner

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
> If I set a string variable (i.e. title of a movie) to an unsafe value, > and then some class in Royale--written by someone else--uses that value > within some HTML that they then assign to an innerHTML, how am I protected? I’m saying we should have a policy that it will not b

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
I guess I'm confused. If I set a string variable (i.e. title of a movie) to an unsafe value, and then some class in Royale--written by someone else--uses that value within some HTML that they then assign to an innerHTML, how am I protected? That is, I set a string variable not knowing

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
> If I need to prove (to the best of my ability) that my app is protected > against XSS with regards to innerHTML / innerText, how am I supposed to > do this? I think we should have a guarantee that the framework will not insert unsanitized HTML without the knowledge of the

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
it. (And application code that uses innerHTML / innerText directly can be validated like that, too, of course.) Browsers are going to have HTML Sanitizer API some day: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Sanitizer_API How is the application code suppose to even use

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Alex Harui
PAYG thing to do if nobody is using it. MX Label really only needs to support the Flash HTML subset, so might not need a third-party sanitizer. HTH, -Alex On 12/10/21, 2:26 AM, "Harbs" wrote: Sanitizing what? And why? What is the use case which is “dangerous”? > On De

RE: [Non-DoD Source] Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Kessler CTR Mark J
. Thoughts? -Mark K -Original Message- From: Harbs Sent: Friday, December 10, 2021 05:26 To: dev@royale.apache.org Subject: [Non-DoD Source] Re: Sanitizing HTML (was Re: 0.9.9) Sanitizing what? And why? What is the use case which is “dangerous”? > On Dec 10, 2021, at 11:49 AM, Edw

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Harbs
y the >> develper >> ImageAndTextButton -- Uses innerHTML to combine text and and img tag. I >> guess it could be safer if it would use Image and TextNode elements. >> Label -- has an html getter/setter which is clearly for markup so innerHTML >> is necessary. >>

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
It would > generally be used in mxml where the content would be provided by the develper > ImageAndTextButton -- Uses innerHTML to combine text and and img tag. I guess > it could be safer if it would use Image and TextNode elements. > Label -- has an html getter/setter which is clear

Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Harbs
reated specifically for applying innerHTML. It would generally be used in mxml where the content would be provided by the develper ImageAndTextButton -- Uses innerHTML to combine text and and img tag. I guess it could be safer if it would use Image and TextNode elements. Label -- has an html getter/

Re: [royale-asjs] branch develop updated: basic-imagebutton: fix control nesting img inside a button when there is html input image

2020-07-12 Thread Harbs
;> >> The following commit(s) were added to refs/heads/develop by this push: >>new 4377b0b basic-imagebutton: fix control nesting img inside a button >> when there is html input image >> 4377b0b is described below >> >> commit 4377b0b3c4e7521d132a3cb72

Re: [royale-asjs] branch develop updated: basic-imagebutton: fix control nesting img inside a button when there is html input image

2020-07-12 Thread Harbs
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git > > > The following commit(s) were added to refs/heads/develop by this push: > new 4377b0b basic-imagebutton: fix control nesting img inside a button > when there is html input image > 43

Writing "HTML" in MXML

2020-01-13 Thread Harbs
I just realized that it’s possible to write almost bog-standard html in MXML files. The trick was to enable lowercase HTML element names (a change I just committed to the HTML package) and use a default namespace. Here’s an example file which compiles perfectly: http://ns.adobe.com/mxml/2009

Re: options for deriving HTML webpages from Flex app?

2019-07-21 Thread Carlos Rovira
That's cool! I just twitted about it! thanks for sharing here Judah :) https://twitter.com/ApacheRoyale/status/1153003406992297985 Carlos El sáb., 20 jul. 2019 a las 19:13, QA () escribió: > I'm in the process of converting a few Flex apps to Royale. I'm using > Royale for the HTM

Re: options for deriving HTML webpages from Flex app?

2019-07-20 Thread QA
I'm in the process of converting a few Flex apps to Royale. I'm using Royale for the HTML page and Electron for the desktop app (wrapping up the HTML page). I can use the same business logic and AS3 classes for both. AIR is able to present HTML pages but the embedded webkit doesn't support SVG

Re: options for deriving HTML webpages from Flex app?

2019-07-20 Thread Carlos Rovira
The way I proceed with our Flex App migration to Royale was: 1.- replicate the same project libraries layout, so if with have a "flexlib1" we have as well "royalelib1". 2.- Copy the AS3 code from Flex to Royale 3.- Check for flash API code (in our case we didn't have mostly no flash apis in that

Re: text vs html

2019-04-05 Thread Harbs
The defacto should be innerText (i.e. text). Using html should be reserved for cases where the client needs to add HTML markup and it should use innerHTML. We should also include a warning in the documentation that html should be used with care and there’s a security concern with using it. My

RE: text vs html

2019-04-05 Thread Kessler CTR Mark J
My guess is the bottom line would be, no matter what is chosen, do we allow them an easy way to get at the html properties directly. That would make a big difference to have to use a longer path to access for a less used property or have like 2 of every component. -Mark K

Re: text vs html

2019-04-04 Thread Alex Harui
Hi Carlos, In my PAYG perspective, there would be an HTMLAlertVIew (or AlertViewForHTML or some other good name) that would take the "message" string from the model and hand it to the HTML APIs in the runtime. Basic Alert/AlertView would just hand it the text APIs in the runtime.

Re: text vs html

2019-04-04 Thread Carlos Rovira
Hi Alex I understand that some platforms can need those two apis, but in that case, I think something should be done to use both since, right now I think most of the times we use "text" and html is just an API that is never pulled in the view. For example Jewel Alert was usi

Re: text vs html

2019-04-04 Thread Alex Harui
There might be a need for some changes related to this topic, but when I originally wrote this code, I assumed there were going to be instances where the "label" of a button should and should not be interpreted as HTML so that is why there are two APIs. Some platforms (Flash Text

Re: text vs html

2019-04-04 Thread Harbs
gt; RadioButton, Button, and some more has text() and html() getters setters. > > I recently changed Jewel Alert to use html instead of text, I'm thinking if > I should make all Jewel components to have just one property (maybe better > "text" than "html") that can get

Re: text vs html

2019-04-04 Thread Carlos Rovira
ok I'm talking about Jewel components that uses same arq as Basic since are based on it. So, for example TextInput, TextArea, Alert, Label, CheckBox, RadioButton, Button, and some more has text() and html() getters setters. I recently changed Jewel Alert to use html instead of text, I'm thinking

Re: text vs html

2019-04-04 Thread Harbs
The HTML elements have text and innerHTML which correspond to the HTML element properties. I’m not sure what the logic of the basic components is. > On Apr 4, 2019, at 3:18 PM, Kessler CTR Mark J > wrote: > >The "text" property is probably just for compa

RE: text vs html

2019-04-04 Thread Kessler CTR Mark J
The "text" property is probably just for compatibility with the flex components if we are talking about things like "TextInput". Is the "text" property just syntax sugar / wrapping for the html property? -Mark K -Original Message- From: C

text vs html

2019-04-04 Thread Carlos Rovira
Hi in many components we have properties "text" and "html", and I was trying to figure what we need this duplicate currently. My bet is that just html (or text with html tags support) will be sufficient. Is there any need to have this double property, it seems to me not PA

Re: how to get a component nest Childs in some inner html tag

2018-06-30 Thread Carlos Rovira
f names like "XWithYAndZ". For me is a matter of update the comment description in both classes to describe the differences between both. > > COMPILE::JS > { > nav.appendChild(c.positioner); > (c as IUIBase).addedToParent(); > } > } > > So I h

Re: how to get a component nest Childs in some inner html tag

2018-06-30 Thread Alex Harui
IBase).addedToParent(); } } So I have a "nav" html nested tag, and there's where things are added. Is still early code, so maybe I should refactor it, but is a very concrete use for HTML (maybe SWF will not need this) I think you can create a compo

Re: how to get a component nest Childs in some inner html tag

2018-06-29 Thread Carlos Rovira
? Regarding the concrete case, for now I'm using this code: override public function addElement(c:IChild, dispatchEvent:Boolean = true): void { COMPILE::SWF { ... } COMPILE::JS { nav.appendChild(c.positioner); (c as IUIBase).addedToParent(); } } So I have a "nav" html

Re: how to get a component nest Childs in some inner html tag

2018-06-29 Thread Alex Harui
e best route to have a container component that has some nested html tag structure and adding child elements will be added to the inner element, but the rest of normal behavior (id, listeners, etc..) will be referencing the positioner. What's the best way to do this? Use Group

how to get a component nest Childs in some inner html tag

2018-06-29 Thread Carlos Rovira
Hi, I trying to find the best route to have a container component that has some nested html tag structure and adding child elements will be added to the inner element, but the rest of normal behavior (id, listeners, etc..) will be referencing the positioner. What's the best way to do this? Use

[Sort of OT] Interesting HTML theming developments

2018-06-12 Thread Harbs
https://meowni.ca/posts/part-theme-explainer/

Re: [royale-asjs] branch develop updated: Revert "Change order in computeClassNames to get typenames before classNames (just for organization purposes in html output)"

2018-03-12 Thread Harbs
ommit to branch develop > in repository https://gitbox.apache.org/repos/asf/royale-asjs.git > > > The following commit(s) were added to refs/heads/develop by this push: > new 28c6d2d Revert "Change order in computeClassNames to get typenames > before classNames (just fo

Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
recheck all files but can see what's could be wrong >> >> >> > >> >> >> > >> >> >> > >> >> >> >2018-03-06 19:51 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: >> >> >> > >> >>

Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
/18, 10:31 AM, "carlos.rov...@gmail.com on behalf of Carlos > >> >> >>Rovira" > >> >> >> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> > >> wrote: > >> >> >> > >> >>

Re: How to inject html with a theme class

2018-03-07 Thread Alex Harui
Executing MXMLC in tool group Royale with args: >> >> >> >[-load-config=/Users/carlosrovira/Dev/Royale/ >> >> >> Source/royale-asjs/examples/r >> >> >> >oyale/JewelExample/target/compile-app- >> >> >> >config.xml,

Re: How to inject html with a theme class

2018-03-07 Thread Carlos Rovira
vascript, > >> >> >-compiler.targets=JSRoyale,SWF, > >> >> >/Users/carlosrovira/Dev/Royale/Source/royale-asjs/ > >> >> examples/royale/JewelExa > >> >> >mple/src/main/royale/ > >> >> >App.mxml] > >> &

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
elExa >> >> >mple/src/main/royale/ >> >> >App.mxml] >> >> >/Users/carlosrovira/Dev/Royale/Source/royale-asjs/ >> >> examples/royale/JewelExa >> >> >mple/JewelTheme- >> >> >0.9.2-SNAPSHOT.swc:defaults.css(28): co

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
e > >> >in the out folder (in its own package), so I think the theme SWC is ok. > >> > > >> >I put the declaration in > >> > > >> >.royale *, . royale *:before, . royale *:after { > >> > -moz-box-sizing: border-box; > >> >

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
; > -moz-box-sizing: border-box; >> > -webkit-box-sizing: border-box; >> > box-sizing: border-box; >> > >> > fonts: ClassReference(JewelThemeFontInject) ; >> >} >> > >> >so this is getting notice. >&

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
t) ; > >} > > > >so this is getting notice. > > > >but the error show the name of the class without first letter Error: > >ewelThemeFontInjec is not defined > > > >any thoughts? > > > >thanks! > > > > > >2018-03-06 18:26

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
ing notice. > >but the error show the name of the class without first letter Error: >ewelThemeFontInjec is not defined > >any thoughts? > >thanks! > > >2018-03-06 18:26 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > >> Only from classes actually linked

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
! 2018-03-06 18:26 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > Only from classes actually linked into the final application > will be used. > > I think there are a few choices: > 1) require everyone use a particular html-template > 2) require some bead be used

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
Only from classes actually linked into the final application will be used. I think there are a few choices: 1) require everyone use a particular html-template 2) require some bead be used 3) require a different Application subclass 4) try to hack it in as follows: In the defaults.css for Jewel

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Alex Harui
at all and manually create some HTML that loads the SVG and see how thick the strokes are. I primarily use Safari, and can debug the styles to see that the browser defaults are dictating border-width, for example. Regarding the "display" style when examining nodes, that is how some lay

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, no, that's that I want to get in the resultant html file. I don't think I understand your question, that's exactly what I'm asking, why that line is not in the final HTML file, I suppose that is because is a theme file and maybe the JewelThemeClasses.as is not used, but don't know how

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
Link once again: https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:06 GMT+01:00 Piotr Zarzycki <piotrzarzyck...@gmail.com>: > I meant here something else. Do you have in your head something like that > after compilation in t

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
I meant here something else. Do you have in your head something like that after compilation in the html files ? https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:01 GMT+01:00 Carlos Rovira <carlosrov...@apache.org>: > Hi Piotr, >

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, I introduced a new line in Application.as in Jewel UI set to start implementing responsiveness in mobile: this line is ok at that level since all jewel apps could be responsive that line appears ok in final html but the one in the theme, is not appearing in the html the rest seems

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Carlos Rovira
HI Piotr, 2018-03-06 15:31 GMT+01:00 Piotr Zarzycki : > If you are extending Basic components, you got styles from there. If you > don't need those styles you will have to do one of the two things in my > opinion: > > 1) Exclude basic styles as we did it in MDL >

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Piotr Zarzycki
; > Button > > > > I think display: block; should be part of the basic.css > > > > In the case of margins, I think this come from the > > > > > > > > In this case, I think would be better to affect some CSS to left the HTML > > as clean as

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Carlos Rovira
gt; > > > In this case, I think would be better to affect some CSS to left the HTML > as clean as possible > > For me the output should be: > > Some Label > > > 2.- When Alex did changes to basic css and remove "*" I check that > textfield was behaving correc

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Alex Harui
>> On 12/16/17, 9:56 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> >> >>>>wrote: >> >>>> >> >>>>> Anyone who use Flash Builder seeing also duplication ? >> >>>>> >> >>>>> Thanks, Piotr >> &

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
>>>><piotrzarzyck...@gmail.com>: > >>>>> > >>>>>> I see the same in Moonshine. Do you think that is problem in > >>>>>>extension > >>>>>> or > >>>>>> somewhere in our code ? I was diggin

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
ck...@gmail.com> >> >>> wrote: >> >>> > >> >>> > Ok Thanks. >> >>> > >> >>> > Another question - Do you see in VSCode duplicate definition in code >> >>> > completion for example Accord

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
>><piotrzarzyck...@gmail.com> > >>> wrote: > >>> > > >>> > Ok Thanks. > >>> > > >>> > Another question - Do you see in VSCode duplicate definition in code > >>> > completion for examp

Re: Duplicated TextNode in HTML module

2017-12-17 Thread Alex Harui
VSCode duplicate definition in code >>> > completion for example Accordion ? >>> > >>> > Thanks, Piotr >>> > >>> > >>> > 2017-12-16 18:26 GMT+01:00 Harbs <harbs.li...@gmail.com>: >>> > >>> >> It

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
> > completion for example Accordion ? >> > >> > Thanks, Piotr >> > >> > >> > 2017-12-16 18:26 GMT+01:00 Harbs <harbs.li...@gmail.com>: >> > >> >> It was on purpose. That lets you use TextNode and InnerHTML using both &g

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Harbs
code >>> completion for example Accordion ? >>> >>> Thanks, Piotr >>> >>> >>> 2017-12-16 18:26 GMT+01:00 Harbs <harbs.li...@gmail.com>: >>> >>>> It was on purpose. That lets you use TextNode and InnerHTML using both &g

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
r question - Do you see in VSCode duplicate definition in code > > completion for example Accordion ? > > > > Thanks, Piotr > > > > > > 2017-12-16 18:26 GMT+01:00 Harbs <harbs.li...@gmail.com>: > > > >> It was on purpose. That lets you use Tex

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Harbs
It was on purpose. That lets you use TextNode and InnerHTML using both the basic and the html namespaces. Those are likely to be used with Basic components in addition to HTML ones. > On Dec 16, 2017, at 6:58 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote: > > Hi

Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
Hi Harbs, I'm investigating some issue in Moonshine with Royale and I have noticed that after your changes in HTML module component TextNode and InnerHTML is in "html-manifest.xml" and in "basic-manifest.xml" of that module. Is it for purpose or simply mistake ? Thanks,

Re: [royale-asjs] branch feature/html-namespace updated: Fixed html namespace refs

2017-11-25 Thread Harbs
ted email from the ASF dual-hosted git repository. > > harbs pushed a commit to branch feature/html-namespace > in repository https://gitbox.apache.org/repos/asf/royale-asjs.git > > > The following commit(s) were added to refs/heads/feature/html-namespace by > this push:

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-24 Thread Alex Harui
On 11/24/17, 1:54 AM, "Olaf Krueger" wrote: > >> A DataGrid, IMO, is not a Table. > >I agree, but for simple things, I think a table is good enough. Yes, a Table is good enough, but a Royale version of a Table optimized for columnar display of data should always be more

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-24 Thread Olaf Krueger
time, we could create a component that replicates 90% of Flex APIs For me, there's no need to revive the Flex API with Royale. I'd just like to work easier with Royale ;-) However, I am not here to say the HTML/Web way is better than Royale. I just think we should consider any idea to simplif

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-23 Thread Alex Harui
Hi Olaf, As you try out various beads, you are doing the Royale form of snippet-pasting. In the future, if we add more metadata, we might even be able to tell you if a bead is compatible or not. That is unlikely to happen for folks pasting snippets into their HTML editor. But you if you

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-23 Thread Alex Harui
. And that should be even more productive than existing HTML snippet-pasting workflows. My 2 cents, -Alex On 11/23/17, 4:56 AM, "Olaf Krueger" <m...@olafkrueger.net> wrote: >>Can these hang around for a while > >Yes, of course, there's no rush with this! >There

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-23 Thread Olaf Krueger
>Can these hang around for a while Yes, of course, there's no rush with this! There's more than enough other stuff that has to be done these days ;-) Thanks, Olaf -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-23 Thread Erik de Bruin
that creates a simple, editable table/datagrid. > > You can find the MXML pseudo code here (rows could be added by extending > the > data provider) [1]. > This is a working HTML/CSS3 version (static rows) [2]. > > I think the key thing for me is to be able to use "built-i

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-23 Thread Olaf Krueger
Hi Erik, I've created an example that creates a simple, editable table/datagrid. You can find the MXML pseudo code here (rows could be added by extending the data provider) [1]. This is a working HTML/CSS3 version (static rows) [2]. I think the key thing for me is to be able to use "

Re: How to improve the Royale developer experience ("Smart HTML" component set)

2017-11-22 Thread Alex Harui
Hi Olaf, Welcome back. Can you elaborate on how Royale MXML is different from Flex MXML? Is it just the component and attribute names? Or something else? When you first learned Flex, you didn't know Flex MXML and somehow still found it easy to use. Regarding re-use of HTML/CSS snippets, I'm

  1   2   >