Hello,

This has to run on every browser on every platform known to mankind. 

The consideration was sticking only to HTML reduces the risk of future
problems.

Ciao,

Mark


  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois Piette
Sent: Monday, April 14, 2008 9:54 AM
To: ICS support mailing
Subject: Re: [twsocket] Post command...

> This all has to be done in HTML only.

Please explain why you can't use JavaScript.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware) Author of MidWare
(Multi-tier framework, freeware) http://www.overbyte.be

----- Original Message -----
From: "zayin" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" <twsocket@elists.org>
Sent: Monday, April 14, 2008 4:09 PM
Subject: Re: [twsocket] Post command...


> Hi,
>
> This all has to be done in HTML only.
>
> This is my first HTML programming task so, I do not know how to "make the
> command from an invisible frame or layer".
>
> This is the page.
>
>  AnswerString(Flags,
>   '',           { Default Status '200 OK'         }
>   '',           { Default Content-Type: text/html }
>   '',           { Default header                  }
>   '<HTML>' +
>    '<HEAD>' +
>     '<TITLE>' + TitleString + '</TITLE>' +
>    '</HEAD>' +
>    '<BODY style="background:' + serverHTMLBGColor + '">' +
>    '<form action="AC" method="post">' +       //accept command action
>     '<p>Tag:' + tagName + ' ' + cBackButton + '</p>' +
>     '<p>High Limit: ' + highEU + '</p>' +
>     '<p>Low Limit: ' + lowEU + '</p>' +
>     '<input name=Tagname type=hidden value="' + tagname + '"/>' +
>     '<input name=ItemID type=hidden value="' + itemIDString + '"/>' +
>     '<input name=UserValue type=text value="' + currentValue + '"/><br/>'
+
>     '<input name=AcceptBtn type=submit value="Accept"/>' +
>    '</form>' +
>   '</HTML>');
>
> Can you advise?
>
> Thanks,
>
> Mark
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Francois Piette
> Sent: Monday, April 14, 2008 2:33 AM
> To: ICS support mailing
> Subject: Re: [twsocket] Post command...
>
> > This is all plain HTML without any additions.
> >
> > I receive an HTML submit command and I am handling it the onPostData
> > callback and all is well. I parse the data do the internal calls and
> > life
> is
> > good.
> >
> > I have one issue. I do not know what to answer. I do not want the
> > browser page to change or move to another page or really do anything.
> > I just need
> to
> > send an acknowledgement and I do not know how.
> >
> > Without the acknowledgement the browser sits waiting.
>
> This is a client side issue.
> Any command sent by the browser needs a reply.
> If you don't want to have the displayed page changed by the reply, make
the
> command from an invisible frame or layer, or from JavaScript using the
> xmlHttpRequest object.
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware) Author of MidWare
> (Multi-tier framework, freeware) http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to