Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-22 Thread Carlos Rovira
ut anything. If you want the app > to search for an id or html element that can be done as well. > > > > -Alex > > > > *From: *gkk gb > *Reply-To: *"users@royale.apache.org" , gkk gb < > modjkl...@comcast.net> > *Date: *Sunday, July 21, 2019

Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-21 Thread Alex Harui
Reply-To: "users@royale.apache.org" , gkk gb Date: Sunday, July 21, 2019 at 12:33 PM To: "users@royale.apache.org" Subject: Re: embed Royale web app into existing web page having corporate header/footer? I think the 2nd method (html:Div) enables one to inject HTML co

Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-21 Thread gkk gb
I think the 2nd method (html:Div) enables one to inject HTML code into an existing Royale application, and isn't what I'm after (I'm trying to inject a small Royale application into a webpage of a very large existing Drupal website). I'm still not sure about the first method (htmlTemplate). Wo

Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-21 Thread Carlos Rovira
htmlTemplate is a compiler directive. In that way you customize the index.html that loads you app. There's some tokens that compiler uses to inject the js code that will load the royale app, so you can decorate the html page. So this is "out" the application code and is normal html ok? In the othe

Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-21 Thread gkk gb
Thanks so much Carlos. Just to be sure, both methods below would work to insert into an existing website that was not created using Royale, right? That is, the Royale part of the web page (which can include view states, etc.) can get inserted within a set of tags, such as or tags, directly in

Re: embed Royale web app into existing web page having corporate header/footer?

2019-07-21 Thread Carlos Rovira
Hi, some options to do that: 1.- use htmlTemplate compiler option to add html to the html template that loads the app. Check Tour De Jewel. It uses it to setup fonts from google for example in Maven pom.xml you can see this line: ${basedir}/target/javascript/bin/js-debug/jewel-example-index-te

embed Royale web app into existing web page having corporate header/footer?

2019-07-20 Thread gkk gb
The company I work for has a website that is created/maintained via Drupal templates, wherein all the web pages share the same header (navigation) and footer on every page. If I create a "web app" in Royale, can it integrate inside a pair of ... tags or other way so that it just inserts into