Page 1 of 1

Taking Application to WebPage

Posted: Wed Mar 10, 2010 2:36 pm
by gpearson
My first application is a current weather application that allows me to use XML to gather the necessary information to display on a card. Now I am wanting to have this application reside in the browser to be displayed on a webpage. I am also wanting to figure out if the environment() is browser then turn off some fields which I am currently doing and is working great. My question is, how can I add a variable to the object tag so that the application can read in this variable and then process a function just like if the user of the desktop application did by entering their zip code and clicking a button called Get Weather.

If the application is on a website, the person who enteres the code block would know the zip code for the area of website surfers so I am looking for ways to altomatically pull in this variable into the application when user has vewed the page.

Any Ideas?

Re: Taking Application to WebPage

Posted: Fri Mar 12, 2010 5:17 pm
by BvG
I am not sure what your question is, but I guess you want to pass parameters from the htmlpage to the revWeb plugin.

see the lesson about how to pass data from a webpage to a plugin.

Re: Taking Application to WebPage

Posted: Mon Mar 15, 2010 8:04 pm
by gpearson
That lesson was just what I was looking for. Now that I have this on a website when a person views the site with the plugin installed, Is is possible to not have the revWeb Security Helper always display the box. Each time I refresh the page this Security Helper is being displayed no matter if I select Allow Always or Allow Once. Is it possible to program in such a way that this Dialog Box does not even show up?

Re: Taking Application to WebPage

Posted: Mon Mar 15, 2010 8:09 pm
by BvG
I think it should not show up repeatedly. No idea what is happening.

Re: Taking Application to WebPage

Posted: Mon Mar 15, 2010 8:21 pm
by bn
Graham,
did you set the security settings manually? If you let Rev do it Rev is very conservative in what it considers for the security settings. If you don't need access to the file system/shell/etc. and the only thing you want from the internet is a "call back" to your site (which is allowed) then you can select "manual" and don't select anything.
Of course if your revlet needs any of the settings it will not work.

Why the security dialog would show up repeatedly for the same revlet that has been granted access, I have no idea.

regards
Bernd