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?
Taking Application to WebPage
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Taking Application to WebPage
---
Graham Pearson
Goshen, IN USA
We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com
Graham Pearson
Goshen, IN USA
We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com
Re: Taking Application to WebPage
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.
see the lesson about how to pass data from a webpage to a plugin.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Taking Application to WebPage
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?
---
Graham Pearson
Goshen, IN USA
We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com
Graham Pearson
Goshen, IN USA
We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com
Re: Taking Application to WebPage
I think it should not show up repeatedly. No idea what is happening.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Taking Application to WebPage
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
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