Link to home
Start Free TrialLog in
Avatar of CubicleGuy
CubicleGuyFlag for United States of America

asked on

What is the proper syntax in Flex for implementing <input type = "hidden" /> as a variable in the navigateToURL() function??

Thanks to some Expert assistance I received earlier, I was able to make my reports work great.  Now, if possible, we'd like to be able to hide the variables being sent.  The problem is how to construct the syntax in Flex.

      private function callInventoryReportRequest(): void {
                  var url:String = "http://localhost/wmsrpts/rdPage.aspx";
                  var request:URLRequest = new URLRequest(url);
                  var variables:URLVariables = new URLVariables();
                  variables.input type='hidden';  //<<<< this will generate an error in Flex......
                  variables.rdReport="ItemMasterListing";
                  variables.coid=model.currentCompany;
                  variables.coname=model.companyName;  
                  request.data = variables;
                  navigateToURL(request);
            }

Thank You!!
ASKER CERTIFIED SOLUTION
Avatar of Gary Benade
Gary Benade
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CubicleGuy

ASKER

Clever.  I'll test this later today and let you know.
Thanks.