You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jeff Cooper <js...@gmail.com> on 2005/07/14 00:38:40 UTC

Using an applet in a Tapestry page

Has anyone run into any issues with trying to run an applet in a
tapestry page.  The project I'm working on, we are using an applet
image viewer for tiff images.  The image viewer is 3rd pary software,
so we know that it works (have put it in jsp's and plain html), but
when trying to view an image in a tapestry page, the applet is not
showing up.

Thanks for any help,
Jeff Cooper

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Using an applet in a Tapestry page

Posted by Richard Kirby <rb...@capdm.com>.
You can use the @Any component to generate dynamic parameters.

As to passing values from Applets as part of a Tapestry form - that will 
require some javascript glue (even if it was a non-Tapestry form). The 
way we did this for something similar (before Tapestry though) was to 
hook the onSubmit of the form to a javascript function that knew how to 
ask each applet for a response, which was then shoved into hidden input 
tags, which then got sent to the web server as part of the form.

With Tapestry, you will need to work out how to use the Script component 
to generate the javascript to populate the hidden form fields, since 
they will have Tapestry generated names.

Hope that gives you enough of an answer to help!

Richard

Daniel M Garland wrote:

> What if you are trying to use dynamic parameters?
>
> Can I, for instance, have a text area in an applet that submits the 
> content of the text box as part of a Tapestry form?

>
> Cheers
> dan



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Using an applet in a Tapestry page

Posted by Daniel M Garland <da...@titanemail.com>.
What if you are trying to use dynamic parameters?

Can I, for instance, have a text area in an applet that submits the 
content of the text box as part of a Tapestry form?

Cheers
dan

Brian K. Wallace wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeff Cooper wrote:
> | Has anyone run into any issues with trying to run an applet in a
> | tapestry page.  The project I'm working on, we are using an applet
> | image viewer for tiff images.  The image viewer is 3rd pary software,
> | so we know that it works (have put it in jsp's and plain html), but
> | when trying to view an image in a tapestry page, the applet is not
> | showing up.
> |
> | Thanks for any help,
> | Jeff Cooper
> |
> | ---------------------------------------------------------------------
> | To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> | For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> |
> |
> |
> Unless you're needing to intermix the applet's functionality with
> functionality provided by Tapestry (in the form of dynamic paramters),
> it should work identically. Tapestry doesn't do any special magic to
> tags outside of those identified with the jwcid tag. If it's not showing
> up, I'd look at making sure it's on the classpath correctly in the
> Tapestry-ized version.
>
> [Yes, I've used applets in Tapestry pages with success]
>
> HTH
>
> Brian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
>
> iD8DBQFC1ZkmaCoPKRow/gARAnTCAJ9NGbE/4mIjgWmY+vVJF2RwIcQydgCgxwYJ
> hn41Ijm1A8SvQ5tBvrQTD1s=
> =fSQ/
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
>

-- 
Regards,

*Dan Garland*
daniel.garland@titanemail.com <ma...@titanemail.com>
Tel: +44 (0) 207 803 1947
Mob: +44 (0) 7979 770053
ICQ: 120963437
AIM: dmgarland1767



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Using an applet in a Tapestry page

Posted by "Brian K. Wallace" <br...@transmorphix.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Cooper wrote:
| Has anyone run into any issues with trying to run an applet in a
| tapestry page.  The project I'm working on, we are using an applet
| image viewer for tiff images.  The image viewer is 3rd pary software,
| so we know that it works (have put it in jsp's and plain html), but
| when trying to view an image in a tapestry page, the applet is not
| showing up.
|
| Thanks for any help,
| Jeff Cooper
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
| For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
|
|
|
Unless you're needing to intermix the applet's functionality with
functionality provided by Tapestry (in the form of dynamic paramters),
it should work identically. Tapestry doesn't do any special magic to
tags outside of those identified with the jwcid tag. If it's not showing
up, I'd look at making sure it's on the classpath correctly in the
Tapestry-ized version.

[Yes, I've used applets in Tapestry pages with success]

HTH

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFC1ZkmaCoPKRow/gARAnTCAJ9NGbE/4mIjgWmY+vVJF2RwIcQydgCgxwYJ
hn41Ijm1A8SvQ5tBvrQTD1s=
=fSQ/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org