REVO2700 testParamsOk@hron openstack global startParams put the revletParams of this stack into startParams end openstack i testParamsOk $ ULucida Grande U HelveticaU Helvetica UVerdanaUVerdanaUVerdana ULucida Grande WLucida GrandeWLucida Grande ULucida GrandeULucida GrandeUAmerican TypewriterUAmerican TypewriterWAmerican TypewriterUAmerican TypewriterU Arial NarrowUArial Rounded MT BoldUArial Narrow ItalicUArialUArialUVerdanaWVerdana UTimesUTimesUTimes WLucida Grande UCentury SchoolbookUCentury SchoolbookUVERDANAUVERDANAUverdanaUverdanaUVerdanaWVerdanaWVerdanaWverdanacREVGeometryCachestackID1043cRevStandaloneSettings@scriptLibrariesInternet Geometry PrintingMacOSXfalse OSX,name Untitled 1MacOS,documentTypeUNIX,fileSelectortrue"automaticallyBuildInDefaultFoldertrueWindowsfalseWeb,WindowsSupportedtrueWindows,LegalCopyright#2009 All rights reserved worldwideMacOS,longVersionUntitled 1 1.0.0.0UNIX,pageSetuptrueOSX,documentTypeWeb,MinEnvironmentVersionWebtrueWindows,documenticonFile_/Applications/Revolution Media 4.0.0/Runtime/Windows/x86-32/Support/Sample Icons/genericdoc.ico inclusionssearchWeb,LinuxSupportedtrue answerDialogtrueOSX,documentExtension Web,Domain0xFFWindows,FileDescriptionUntitled 1 1.0.0.0 for WindowsWeb,AllowOtherPlatformstrueOSX,longVersionUntitled 1 1.0.0.0Web,RequestedNameWindows,buildU3falseOSX,copyright#2009 All rights reserved worldwideUNIX,printerChoosertrueWeb,DetectSecurityPermissionsfalseMacOS,MinimumSize15000Web,SecurityPermissions,,,,,,,,MacOS,versionnumber11MacOS,versionnumber20MacOS,ReleaseFinalMacOS,versionnumber30name testParamsOkOSX,identifiercom..untitled1 MacOS,Region1Web,InstanceIdOSX,shortVersion1.0.0.0Windows,fileversion11Windows,fileversion20Windows,productversion11Windows,fileversion30Windows,productversion20Windows,fileversion40Windows,productversion30cursorsfalse OSX,infoUntitled 1 Version 1.0.0.0Windows,productversion40Web,MacOSXSupportedtrueWeb,ExecutionModeBrowserMacOS,dynamicMemorytrueMacOSX PowerPC-32false askDialogtrueWindows,iconFile_/Applications/Revolution Media 4.0.0/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.icoOSX,signature????defaultBuildFolder/Users/bobmacbook/Desktop Web,UUID$B169B7E6-D153-4985-A166-8D7AF4D4A069Windows,ProductName Untitled 1MacOS,PreferredSize15000UNIX,colorChoosertrueMacOSX x86-32falseMacOS,creator????Windows,companyname cREVGeneralscripteditorvscroll0breakpointconditions breakpointsscripteditorselection89breakpointstatesstackfileversion2.7 @ cREVGeometryCacheIDs1248410676837103612484825193461042124840131940810101248478116740104112484780597531038cREVGeometrycacheorder total5  Field)h .t'+ cREVGeneral revUniqueID 1248401319408  (Testing params comunication to a revlet  Field+`6PL cREVGeneral revUniqueID 1248410676837  4Robert Maniquant - rman@free.fr Versailles, France field2)`0pN cREVGeneral revUniqueID 1248478059753  &the revletParams contains 0 params : ---------------- ----------------  `Lshow revletParams valuesEwyon mouseUp global startParams put empty into field "field2" put the keys of startParams into theKeys put the number of lines of theKeys into iter -- print the params list put "the revletParams contains "&iter&" params : "&cr into field "field2" put "----------------"&cr after field "field2" put "----------------"&cr after field "field2" repeat with i=1 to iter put line i of theKeys into theItem put startParams[theItem] into theValue put theItem&" = "&theValue&cr after field "field2" put "----------------"&cr after field "field2" end repeat end mouseUp .Nt, cREVGeneral revUniqueID 1248478116740scripteditorvscroll0scripteditorselection282 field)hfJ cREVGeneral revUniqueID 1248482519346  fhi this is a contribution to test precisely how parameters can be communicated to a revlet at startup (on the basis of a contribution of flash21 of the nabbles runrev forum, who pointed out the existence of revlet stack property named revletparams.) x1) in the html page where the revlet is linked to, you can add the parameters you need (here "session" has been added). @w @  @ @"  @) ..... @ ..... @ ( @ 22) in the revlet at openStack, store these params @1 @ on openStack @ @ put the revletParams["session"] of this stack into sSession @? ..... @ @ in that stack : @  on openStack @ / put the revletParams into theRevletParams @.  end openStack @ @ 3) You can then have acces to these params in the stack. So here, when you hit the button "show revletparams values" a table with all parameters and values is output. @Z @#Z @u1 @ @ 4) You can experiment by saving this stack as a revlet, launching it, then adding some params in the html "test" page, then relaunching and you'll see the params list and values updated. @ @# @ @ so yes, it does work! @ @ Robert rman@free.fr @  `dH revOnline | RunRev