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 si

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

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 htm

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-18 Thread Hugo Ferreira
mework. > > 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

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 ex

Re: HTML

2022-10-18 Thread Hugo Ferreira
ut 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

Re: HTML

2022-10-18 Thread Harbs
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 meantime there’s no reason to not >> fix the bug. Th

Re: HTML

2022-10-18 Thread Hugo Ferreira
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 html setters which already set innerHTML. > >> >

Re: HTML

2022-10-18 Thread Harbs
ine 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/10/2022 à(s) >> 21:38: >>> >>>> Let’s see what others think, bu

Re: HTML

2022-10-18 Thread Josh Tynjala
d 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 > > >&g

Re: HTML

2022-10-18 Thread Hugo Ferreira
7;s exactly what I'm 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 :) > > > > > > > > Harb

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

[Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-21 Thread Olaf Krueger
Hi, I noticed that the compiler builds JS from MXML and the JS finally creates the HTML elements dynamically at runtime. I just wonder what is the benefit of this and if it would also possible to introduce a component set that builds HTML from MXML directly. Thanks, Olaf -- Sent from: http

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-21 Thread Alex Harui
Components are JS, so I don't think you can create a different component set that output more HTML. Because they are JS, the only way I could think of having them do anything is to run JS that creates HTMLElements. This has the advantage that components that are added dynamically (later

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-21 Thread Harbs
Good question. When I started using the framework I was wondering the same thing. Most JS frameworks use HTML templates mostly because the HTML is the markup used for the structure of the app. Since we’re writing MXML, there’s no real reason to output HTML. The way other frameworks deal with

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Olaf Krueger
Thanks, Alex and Harbs for your really helpful answers! I have to mention that I forgot to complete my origin question by "...and makes it sense to build HTML from MXML". Sounds to me that it doesn't make sense. >We don’t need to “find” elements because we already have direc

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Olaf Krueger
Forgot something: I remember that I've read sometimes here about problems to apply standard CSS3 to MXML (HTML) elements. Is the JS/DOM stuff one reason for this because it is maybe harder to provide full CSS3 support? Thanks, Olaf -- Sent from: http://apache-royale-development.203

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Harbs
> On Nov 22, 2017, at 11:25 AM, Olaf Krueger wrote: > >> No need for the browser to parse HTML markup. > Could you explain this a bit more? > I have no idea how the browser works internally but I thought that if we add > an HTML element to the DOM by using JS the br

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Erik de Bruin
Hi, > 2. No need for the browser to parse HTML markup. > I would say that the addition of each element triggers the browser to do a full DOM parse and reflow of the CSS. From that perspective, it might be cheaper if the backbone HTML is defined when the page loads, instead of being buil

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Harbs
CSS3 works fine. If there’s any part of it that doesn’t work, it should be considered a bug. To use HTML CSS (as opposed to Royale CSS which needs to be parsed), the CSS namespace needs to be @namespace "http://www.w3.org/1999/xhtml” > On Nov 22, 2017, at 11:47 AM, Olaf Kruege

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Erik de Bruin
> > I have no idea how the browser works internally but I thought that if we > add > > an HTML element to the DOM by using JS the browser has to parse it > > afterward? > > I might be wrong, but I don’t think so. AFAIU, if you add elements to the > DOM via JS, it sim

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Harbs
> On Nov 22, 2017, at 11:55 AM, Erik de Bruin wrote: > > Hi, > > >> 2. No need for the browser to parse HTML markup. >> > > I would say that the addition of each element triggers the browser to do a > full DOM parse and reflow of the CSS. I don’t thi

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Erik de Bruin
> > I would say that the addition of each element triggers the browser to do > a > > full DOM parse and reflow of the CSS. > > I don’t think this is true. Reflow only happens when attributes of the DOM > is *read*. Writing to the DOM does not trigger a reflow. > I'm not sure I agree. An addition t

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Harbs
I’m 99.9% sure that browsers mark the structure as dirty when something is written, but none of the actual calculations and rendering happen until something is read or the next rendering cycle in the browser happens. I’m not sure if we’re disagreeing here. One question I have is what the perfor

Re: [Understanding Royale] Why MXML->JS->HTML instead of MXML->HTML

2017-11-22 Thread Erik de Bruin
> I’m 99.9% sure that browsers mark the structure as dirty when something is > written, but none of the actual calculations and rendering happen until > something is read or the next rendering cycle in the browser happens. > > I’m not sure if we’re disagreeing here. > We are not, just finding comm

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: 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

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 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'

Re: text vs html

2019-04-04 Thread Harbs
ox, > 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") th

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 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 using messa

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-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-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: [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: [royale-asjs] branch feature/html-namespace updated: Fixed html namespace refs

2017-11-25 Thread Piotr Zarzycki
> Could someone (Piotr or Carlos?) take a look? > > Harbs > > > On Nov 26, 2017, at 1:26 AM, ha...@apache.org wrote: > > > > This is an automated email from the ASF dual-hosted git repository. > > > > harbs pushed a commit to branch feature/html-namespace >

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

2017-11-26 Thread Piotr Zarzycki
t; >> Harbs >> >> > On Nov 26, 2017, at 1:26 AM, ha...@apache.org wrote: >> > >> > This is an automated email from the ASF dual-hosted git repository. >> > >> > harbs pushed a commit to branch feature/html-namespace >> > in repository https:/

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

2017-11-26 Thread piotrz
Hi Harbs, I just fixed small issue with dialog polyfill url, merged develop into your branch and compiled mdl example using Maven. I don't see anything wrong with Footer. Can you show me what are you seeing in your build ?

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 ? Th

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: 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 wrote: > > Hi Harbs, > > I'm investi

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
Ok Thanks. Another 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 : > It was on purpose. That lets you use TextNode and InnerHTML using both the > basic and the html namespaces. Those are lik

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Harbs
> > Thanks, Piotr > > > 2017-12-16 18:26 GMT+01:00 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. >>

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
on in code > > completion for example Accordion ? > > > > Thanks, Piotr > > > > > > 2017-12-16 18:26 GMT+01:00 Harbs : > > > >> It was on purpose. That lets you use TextNode and InnerHTML using both > the > >> basic and the html namespaces. Tho

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Harbs
>>> >>> >>> 2017-12-16 18:26 GMT+01:00 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 >>>> compo

Re: Duplicated TextNode in HTML module

2017-12-16 Thread Piotr Zarzycki
; > >> > >> > 2017-12-16 18:26 GMT+01:00 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 >> >>

Re: Duplicated TextNode in HTML module

2017-12-17 Thread Alex Harui
17, at 7:37 PM, Piotr Zarzycki >>> >>> wrote: >>> > >>> > Ok Thanks. >>> > >>> > Another question - Do you see in VSCode duplicate definition in code >>> > completion for example Accordion ? >>> > >>

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
; > > >>> > Another question - Do you see in VSCode duplicate definition in code > >>> > completion for example Accordion ? > >>> > > >>> > Thanks, Piotr > >>> > > >>> > > >>> > 2017-12-16 1

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
shows up 9 times. >> >>> >> >>> > On Dec 16, 2017, at 7:37 PM, Piotr Zarzycki >> >>> >> >>> wrote: >> >>> > >> >>> > Ok Thanks. >> >>> > >> >>> > Another question -

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Harbs
t;>>> Yes. I see duplication. In some places many times. For example, >>>>>> ContainerBase shows up 9 times. >>>>>> >>>>>>> On Dec 16, 2017, at 7:37 PM, Piotr Zarzycki >>>>>> >>>>>> wrote

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Alex Harui
ion >>>>>> or >>>>>> somewhere in our code ? I was digging into the modules but didn't >>>>>>found >>>>>> anything. I have checked also for Jsonly package what actually is in >>>>>> swcs, >>>>>

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Piotr Zarzycki
in > >>>>>>extension > >>>>>> or > >>>>>> somewhere in our code ? I was digging into the modules but didn't > >>>>>>found > >>>>>> anything. I have checked also for Jsonl

Re: Duplicated TextNode in HTML module

2017-12-18 Thread Alex Harui
t isn't in a manifest). >> >>>> >> >>>> HTH, >> >>>> -Alex >> >>>> >> >>>> On 12/16/17, 9:56 AM, "Piotr Zarzycki" >> >>>>wrote: >> >>>> >> >>>>> Anyo

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
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

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. >> Lo

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Alex Harui
;t really a 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”?

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
. (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 this, if the

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 developer.

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 th

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 be w

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Harbs
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 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
> > (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 by some

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 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
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 com

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 t

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 surprised

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. (Althou

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 all

[Sort of OT] Interesting HTML theming developments

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

How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
h 10.2 * @playerversion AIR 2.6 * @productversion Royale 0.9.2 */ public function JewelThemeClasses() { super(); } } } But this is not working since I don't get anything injected in the html anyone knows what could be the problem? thanks -- Carlos Rovira http://about.me/carlosrovira

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] The

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 p

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'

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

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
Hi Carlos, How looks like HTML output when you compile things using that stuff ? Thanks, Piotr 2018-03-06 16:40 GMT+01:00 Carlos Rovira : > Hi > > I want the theme define the typography to use, to get this I'm using the > inject_html tag in the constructor > > The o

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: 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 : > Hi Piotr, > > I introduced a new line in App

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 : > I meant here something else. Do you have in your head something like that > after compilation in the html files ? > > https://fonts.

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

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: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
hanks! 2018-03-06 18:26 GMT+01:00 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 App

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
hout first letter Error: >ewelThemeFontInjec is not defined > >any thoughts? > >thanks! > > >2018-03-06 18:26 GMT+01:00 Alex Harui : > >> Only from classes actually linked into the final >>application >> will be used. >> >> I think there

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
rror 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 : > > > >> Only from classes actually link

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
theme SWC is ok. >> > >> >I put the declaration in >> > >> >.royale *, . royale *:before, . royale *:after { >> > -moz-box-sizing: border-box; >> > -webkit-box-sizing: border-box; >> > box-sizing: border-box; >> >

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
t;not defined. > >> > > >> >if I unzip the theme -js.swc I can see JewelThemeFontInject.js file > >>inside > >> >in the out folder (in its own package), so I think the theme SWC is ok. > >> > > >> >I put the declaration in > &

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
>/Users/carlosrovira/Dev/Royale/Source/royale-asjs/ >> >> examples/royale/JewelExa >> >> >mple/src/main/royale/ >> >> >App.mxml] >> >> >/Users/carlosrovira/Dev/Royale/Source/royale-asjs/ >> >> examples/royale/JewelExa >&g

Re: How to inject html with a theme class

2018-03-07 Thread Carlos Rovira
gt; >> roya > >> >> >le/JewelExample/target/javascript, > >> >> >-compiler.targets=JSRoyale,SWF, > >> >> >/Users/carlosrovira/Dev/Royale/Source/royale-asjs/ > >> >> examples/royale/JewelExa > >>

Re: How to inject html with a theme class

2018-03-07 Thread Alex Harui
;> >> >>Rovira" >> >> >> >> wrote: >> >> >> >> >> >> >Hi Alex, >> >> >> > >> >> >> >the 4 method seems ok but I'm getting this error: >> >> >> > >> >> >> >[

Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
lassReference puts the class in quotes. Try: > >> >> >> > >> >> >>fonts: ClassReference("JewelThemeFontInject") ; > >> >> >> > >> >> >> > >> >> >> HTH, > >> >> >> -Alex > >> >> >

Re: How to inject html with a theme class

2018-03-11 Thread Carlos Rovira
t;> >> >> > >> >> >> >I recheck all files but can see what's could be wrong >> >> >> > >> >> >> > >> >> >> > >> >> >> >2018-03-06 19:51 GMT+01:00 Alex Harui : >> >> >> > >> >

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 c

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: [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,

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

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

2023-02-14 Thread Josh Tynjala
On Mon, 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. > Hiedr

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

  1   2   >