Home | Products | Product Evaluation | Resellers  | Buy | Contact/Support | About Us


FAQs

Product Details

Download evaluation version

Spec Sheet

FAQs

How to Buy

Contact Support

Using X Applications in a Web Page

Which are the files to be created at the Web Server for embedding an X application?

a)The HTML file needs to modified to contain an <EMBED> tag for the X application
b) An RX document is referenced in the EMBED statement. It should contain a list of parameters, which convey to the browser the services the embedded X application expects from the X Server environment.
c) The RX file, in turn, references the backend which is used to invoke the X application.

How do I write the <EMBED> statement?

Place the EMBED statement in the HTML file at the position you wish the X application to appear. The following illustrates a typical use of the EMBED statement.

<EMBED

SRC = http://www.frontiertech.com/broadway/xlogo.rx
Width =100
Height = 100

What parameters do I put in the RX file ?

The following RX file statement can be used for the previous EMBED statement
<PARAM Name=VERSION Value=1.0>
<PARAM Name=ACTION
Value=http://www.domain.com/CalendarTool.pl>
<PARAM Name=REQUIRED-SERVICES Value=UI>
<PARAM Name=UI VALUE=X>
<PARAM Name=X-UI-LBX Value=YES>
<PARAM Name=X-AUTH Value=MIT-MAGIC-COOKIE-1>
<PARAM Name=EMBEDDED Value=YES>
<PARAM Name=APP-GROUP Value=CalenderToolAPPGroup 1>

From which the browser would reply by a GET of the following URI:

http://www.domain.com/CalendarTool.pl
?UI=x11:myhost.mydomain.org:O;auth=MIT-MAGIC-COOKIE-1 :044B3244D
?WIDTH=500?HEIGHT=400?EMBEDDED=yes
?X-UI-LBX=YES; auth=MIT-MAGIC-COOKIE-1 :1A7C4C1F312B3

TOP...

 


Copyright 2002 Frontier Technologies Corporation. All rights reserved
webmaster@frontiertech.com