You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by carloc <ca...@yahoo.com> on 2007/09/28 01:26:38 UTC

Applet Question

Hi Everyone, 

I'm trying to load an applet in wicket.
The code looks like this

<applet code="uk.co.mmscomputing.application.imageviewer.MainApp.class"
archive="uk.co.mmscomputing.application.imageviewer.jar" width=100%
height=100% >
</applet>

If I paste this code in my index.html page which is not run by wicket, the
code runs properly,
however if I try to put it in a wicket page, the code does not run.

In the java console of firefox it says that it can't find the specified
file.

How do I embed an applet in my wicket page?
Thanks
-- 
View this message in context: http://www.nabble.com/Applet-Question-tf4531635.html#a12932157
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Applet Question

Posted by carloc <ca...@yahoo.com>.
Hooray!!!
it worked perfectly.

Thanks a lot.



Craig Tataryn wrote:
> 
> Hi Carlo, the syntax of your archive attribute looks a big suspect.
> Normally what you would do is create a publicly accessible folder,
> something called "applet" and stick your imageviewer.jar file there.
> Then you would change your archive attribute to read:
> archive="/applet/imageviewer.jar".
> 
> Craig.
> 
> On 9/27/07, carloc <ca...@yahoo.com> wrote:
>>
>> Hi Everyone,
>>
>> I'm trying to load an applet in wicket.
>> The code looks like this
>>
>> <applet code="uk.co.mmscomputing.application.imageviewer.MainApp.class"
>> archive="uk.co.mmscomputing.application.imageviewer.jar" width=100%
>> height=100% >
>> </applet>
>>
>> If I paste this code in my index.html page which is not run by wicket,
>> the
>> code runs properly,
>> however if I try to put it in a wicket page, the code does not run.
>>
>> In the java console of firefox it says that it can't find the specified
>> file.
>>
>> How do I embed an applet in my wicket page?
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Applet-Question-tf4531635.html#a12932157
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Applet-Question-tf4531635.html#a12953749
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Applet Question

Posted by Craig Tataryn <cr...@tataryn.net>.
Hi Carlo, the syntax of your archive attribute looks a big suspect.
Normally what you would do is create a publicly accessible folder,
something called "applet" and stick your imageviewer.jar file there.
Then you would change your archive attribute to read:
archive="/applet/imageviewer.jar".

Craig.

On 9/27/07, carloc <ca...@yahoo.com> wrote:
>
> Hi Everyone,
>
> I'm trying to load an applet in wicket.
> The code looks like this
>
> <applet code="uk.co.mmscomputing.application.imageviewer.MainApp.class"
> archive="uk.co.mmscomputing.application.imageviewer.jar" width=100%
> height=100% >
> </applet>
>
> If I paste this code in my index.html page which is not run by wicket, the
> code runs properly,
> however if I try to put it in a wicket page, the code does not run.
>
> In the java console of firefox it says that it can't find the specified
> file.
>
> How do I embed an applet in my wicket page?
> Thanks
> --
> View this message in context: http://www.nabble.com/Applet-Question-tf4531635.html#a12932157
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org