cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Kuehne <akue...@yahoo.com>
Subject Re: Applet & Cocoon
Date Wed, 12 Sep 2007 15:15:49 GMT
Strange !

I would expect the browser to look the jar, not the class ..

I have fun with such a matcher :

    <map:match pattern="**/*.jar">
      <map:read src="resources/static/{2}.jar"/>
    </map:match>


Good luck

Andreas

----- Original Message ----
From: Harald Entner <harald.entner@gmx.at>
To: users@cocoon.apache.org
Sent: Wednesday, September 12, 2007 4:41:22 PM
Subject: Applet & Cocoon

Hello Folks,

i face the following problem. I have to integrate a  signed applet into 
my application.

The sitemap entry looks like:

<!-- applets -->
<map:match pattern="**.class">
                <map:read src="resource://{1}.class" />
</map:match>
           
The applet is found and returned, but - unfortunately - the dialog if i 
trust the application is not shown.As a result, the following exception 
is thrown:

 java.security.AccessControlException: access denied

The template code looks like this:

<applet code="at.workflow.fileTransfer.FileTransferApplet.class"  
archive="SFileTransfer.jar"     width="500" height="200">
                <param name="uploadurl" 
value="${cocoon.request.getAttribute('uploadurl')}"/>
                <param name="downloadurl" 
value="${cocoon.request.getAttribute('downloadurl')}"/>
                <param name="filehandler" 
value="${cocoon.request.getAttribute('filehandler')}"/>
</applet>

The code works, when not run inside cocoon. (via a static html page)

Any suggestions are highly welcome

Harald

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





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


Mime
View raw message