Sorry, my post was quite incomplete. Here is the markup :
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" >
<body bgcolor="#ffffff">
<wicket:extend>
<object classid="clsid:d27cdd6e-ae6d-22cf-96b8-444557540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="640" height="520" id="camchat" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="camchat.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" /><embed
src="camchat.swf" quality="high" bgcolor="#ffffff" width="640"
height="520" name="camchat" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</wicket:extend>
</body>
</html>
- - - - - - - - - -
public class Page1 extends CustomPage {
static Logger logger = Logger.getLogger(Page1.class);
public Page1() {
super();
setPageTitle(new StringResourceModel("site.name", this, null)
.getString()
+ ", page 1");
}
}
Igor Vaynberg a écrit :
> what does the code/markup of your page look like?
>
> -igor
>
>
> On 3/23/07, *Landry Soules* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hello !
>
> I'm working on a site that will integrate some cool flash
> multimedia stuff.
> My flash component actually consists in :
> one html page
> one swf script
> one mp3 file, contained in a "Sound" folder.
> one xml file ("settings.xml")
> If i put all of these directly under webroot, it works great.
>
> But if i integrate the html in a Wicket page, only the static
> content of
> the flash app is displayed, and Wicket generates errors :
>
> 2007-03-23 22:24:18,832 [http-9999-Processor24] ERROR
> wicket.RequestCycle - Unable to load class with name:
> eu.kwark.main.settings.xml
> wicket.WicketRuntimeException: Unable to load class with name:
> eu.kwark.main.settings.xml
> at
> wicket.application.DefaultClassResolver.resolveClass
> (DefaultClassResolver.java:66)
> at
>
> wicket.request.target.coding.PackageRequestTargetUrlCodingStrategy.decode(PackageRequestTargetUrlCodingStrategy.java:82)
> at
> wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest
> (WebRequestCodingStrategy.java:331)
> at
>
> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:83)
> at
> wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve
> (AbstractCompoundRequestCycleProcessor.java:48)
> at wicket.RequestCycle.step(RequestCycle.java:992)
> at wicket.RequestCycle.steps(RequestCycle.java:1084)
> at wicket.RequestCycle.request(RequestCycle.java :454)
> at
> wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at
>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:664)
> at
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
> :80)
> at
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:595)
>
> (eu.kwark.main is the package where i stored all the flash related
> files)
>
> Can someone show me the way, please ?
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user