Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm
by Craig Shearer >> Sun, 12 Mar 2000 19:35:47 GMT
Yes, there is but it's unsupported.
You'd need to reimplement the processRequest method on your schema's WebSession subclass. The method is subschemaHidden and can't be reimplemented directly in JADE so you'd need to load a .mth file to achieve this.
Here's the signature:
processRequest(httpIn : String; queryStr : String) : Integer subschemaHidden;
The queryStr will contain the URL complete with your parameters which you'll have to strip off before passing it back to JADE. So, you method would look something like:
processRequest(httpIN: String; queryStr: String): Integer;
vars
processedQueryStr: String;
begin
// retrieve URL parameters
processedQueryStr := getParameters(queryStr);
// pass it on to JADE
return inheritMethod(httpIN, processedQueryStr);
end;
You can even add properties to your WebSession subclass to store values taken from the parameters on the URL. That way, your application can access the parameters by referring to currentSession.yourparameter
Hope this helps....
<Insert usual warnings about using unsupported code here>
Craig. (and you didn't hear it from me)