CGI App - Embedded & Parameters

Hi! I’m new at Xojo and I’m studding the possibilities of the framework.

My questions:

  • Can I embed a Xojo CGI app on a standar HTML web page? I think in something like a shopping cart on a DIV.
  • Can I pass parameters to a Xojo CGI app? How can I do it?

Thanks!

[quote=18442:@Carlos Arzuaga]

  • Can I embed a Xojo CGI app on a standar HTML web page? I think in something like a shopping cart on a DIV.

  • Can I pass parameters to a Xojo CGI app? How can I do it?[/quote]

  • You can embed a Xojo WE app using the iframe tag.

  • You can pass parameters via the URL string when you load the iframe. Or you can make AJAX calls to the app via the special URL and deal with them in App.HandleSpecialURL (http://documentation.xojo.com/index.php/WebApplication.HandleSpecialURL).

I’m studying it with the “object” tag from html5 and making Ajax calls from Javascript.

Thanks Daniel and congratulations for your work with webcustomcontrols, I probably work with them soon.