as the two others, I've never experienced problems using adsense code within
a wicket app. But as you're saying that it only occurrs when deployed -
maybe it's got to do something with development/deployment mode. Try
switching to deployment mode when running on localhost, if it doesn't work
then, you might be stripping something that shouldn't get stripped. (take a
look at WebApplication#getMarkupSettings()
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/settings/IMarkupSettings.html)

regards,
Michael


ej595 wrote:
> 
> Hi all,
> im not sure if anyone else has any experience of using google adsense
> within your wicket html, but i seem to be finding that it interferes with
> the rendering of the wicket pages. By that i mean, if i include the
> adsense code in the html, when wicket renders the page i get this
> intermittent 'unable to find component X' error. It seems to be something
> to do with the time it takes to retrieve the actual advert and the
> rendering of the page via wicket. It never happens on localhost, but once
> the war has been deployed to a web environment, the logs are littered with
> this error and the html stack traces.
> 
> Im not entirely sure what to do other than to remove the ad. Once i remove
> the ad, the page is fine. Id appreciate if anyone has any experience in
> this area of adsense and wicket.
> 
> 
> 


-----
Michael Sparer
http://techblog.molindo.at
-- 
View this message in context: 
http://www.nabble.com/Google-Adsense.-tp21764673p21807132.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to