Using java applet with zope
Hi, How would I go about using a java applet with Zope? -- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
alwyn, java applets work without a problem being served right out of zope. upload the applet .class or .jar file into zope as a file object from the management screens and access it in the applet tag just like you would in any other website. of course you need to make sure to upload the .class or .jar into the right folder so the applet tag can "see" it. jens
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 03:06 To: zope@zope.org Subject: [Zope] Using java applet with zope
Hi,
How would I go about using a java applet with Zope?
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi, Ok I've uploaded it as a file object. How must the tag look? Say the class is ABC.class? I must admit my dtml is very shake, but I tried <<applet code="<dtml-var ABC>" width=600 height=80 name="ABC"></applet> with no success Jens Vagelpohl wrote:
alwyn,
java applets work without a problem being served right out of zope. upload the applet .class or .jar file into zope as a file object from the management screens and access it in the applet tag just like you would in any other website. of course you need to make sure to upload the .class or .jar into the right folder so the applet tag can "see" it.
jens
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 03:06 To: zope@zope.org Subject: [Zope] Using java applet with zope
Hi,
How would I go about using a java applet with Zope?
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
the trouble is probably due to the "." dot separating "ABC" and "class". the way i usually do it is to not use dtml-notation in the applet tag. like this: <applet code="ABC.class" width=600 height=80 name="ABC"></applet>
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 10:33 To: Jens Vagelpohl Cc: zope@zope.org Subject: Re: [Zope] Using java applet with zope
Hi,
Ok I've uploaded it as a file object.
How must the tag look?
Say the class is ABC.class?
I must admit my dtml is very shake, but I tried <<applet code="<dtml-var ABC>" width=600 height=80 name="ABC"></applet>
with no success
Jens Vagelpohl wrote:
alwyn,
java applets work without a problem being served right out of zope. upload the applet .class or .jar file into zope as a file object from the management screens and access it in the applet tag just like you would in any other website. of course you need to make sure to upload the .class or .jar into the right folder so the applet tag can "see" it.
jens
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 03:06 To: zope@zope.org Subject: [Zope] Using java applet with zope
Hi,
How would I go about using a java applet with Zope?
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thanx that worked, Any ideas how it will work if my applet tag is in a different folder or do you think one should always use a Dtml-method to wrap the applet in its current folder and then use the method from there on? Jens Vagelpohl wrote:
the trouble is probably due to the "." dot separating "ABC" and "class". the way i usually do it is to not use dtml-notation in the applet tag. like this:
<applet code="ABC.class" width=600 height=80 name="ABC"></applet>
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 10:33 To: Jens Vagelpohl Cc: zope@zope.org Subject: Re: [Zope] Using java applet with zope
Hi,
Ok I've uploaded it as a file object.
How must the tag look?
Say the class is ABC.class?
I must admit my dtml is very shake, but I tried <<applet code="<dtml-var ABC>" width=600 height=80 name="ABC"></applet>
with no success
Jens Vagelpohl wrote:
alwyn,
java applets work without a problem being served right out of zope. upload the applet .class or .jar file into zope as a file object from the management screens and access it in the applet tag just like you would in any other website. of course you need to make sure to upload the .class or .jar into the right folder so the applet tag can "see" it.
jens
-----Original Message----- From: alwyns@zope.org [mailto:alwyns@zope.org]On Behalf Of Alwyn Schoeman Sent: Thursday, December 02, 1999 03:06 To: zope@zope.org Subject: [Zope] Using java applet with zope
Hi,
How would I go about using a java applet with Zope?
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ~~~~~~~~~~~~~~ Alwyn Schoeman Systems Engineer Prism Secure Solutions
alwyn, how you call it and where you store it is, as i think, a matter of personal taste. you could stuff everything in a special applet-folder and call it like: <applet code="<dtml-var path_to_appletfolder>/ABC.class" width=600 height=80 name="ABC"></applet> jens
-----Original Message----- From: alwyns@prism.co.za [mailto:alwyns@prism.co.za] Sent: Thursday, December 02, 1999 11:15 To: Jens Vagelpohl Cc: zope@zope.org Subject: Re: [Zope] Using java applet with zope
Thanx that worked,
Any ideas how it will work if my applet tag is in a different folder or do you think one should always use a Dtml-method to wrap the applet in its current folder and then use the method from there on?
participants (2)
-
Alwyn Schoeman -
Jens Vagelpohl