html forms vs revlets

Robert Maniquant rman at free.fr
Thu Sep 10 19:01:36 EDT 2009


Yes you can.. but the whole revlet will have to be reloaded into memory, and
this is not instantaneous.
And if you had other variables in the revlet, they're lost cause its a new
session.. 

a kind of "postFromRevlet RevletId, targetFile" and "postToRevlet revletId,
targetFile" command would be great.. !! 

To make it easier you can play around with test stack I made in june
testParamsOk.rev


J. Landman Gay wrote:
> 
> Robert Maniquant wrote:
>> I thought the polling example read results from a file on the server ???
> 
> Yes, you're right, for the most part. I'd rewritten the poll stack as an 
> iRev page for possible use in the conference teaching session and got 
> myself confused between mine and the original.
> 
> The sample stack as it appears on RR's site doesn't directly read a text 
> file itself. It loads a URL that consists of a plain iRev script. That 
> script reads and writes to the text file, and returns the vote totals to 
> the revlet. It isn't actually a POST event, so I misspoke.
> 
> I can't try it right now, but I don't see why a revlet couldn't post to 
> its own containing irev page, and have that page process and display 
> data. I'm still travelling right now and my internet access is limited, 
> but when I get home I may try it.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
View this message in context: http://www.nabble.com/html-forms-vs-revlets-tp25360583p25392418.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list