You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by letien <ti...@toshiba-tsdv.com> on 2013/12/21 08:01:55 UTC
Lazyload does not work with deployment mode
hi Guys,
I just developed a web application using wicket and is running on a tomcat
server
I use lazyload on wicket framework. lazyload works great at development
mode.
But I change to deployment mode
<init-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
I can not get image, loading indicator rotates in endless. (I using lazyload
for display image)
I try debug in server and client side bug don't found problems. I using Lazy
Load - jQuery 1.8.4, wicket 6.4.0
Any help please ...
Regards
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172.html
Sent from the Users forum 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: Lazyload does not work with deployment mode
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
any javascript errors you can spot?
On Sat, Dec 21, 2013 at 9:10 AM, letien <ti...@toshiba-tsdv.com> wrote:
> I have researched deployment mode, and saw that:
>
> In deployment mode , we do everything to make the life of the users better.
> This means disabling all the stuff that helps developers .
>
> 1. Disable component hierarchy checks (only the things that prevent Wicket
> from rendering, i.e. fatal errors, are now reported)
>
> 2. Enable caching of resources,
>
> 3. Remove wicket tags and attributes
>
> 4. Enable minimization of JavaScript.
>
> Maybe "enable minimization of JavaScript" cause this problem with lazy
> load?
> Do you get this problem same me? And have any solutions?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172p4663173.html
> Sent from the Users forum 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
>
>
--
Regards - Ernesto Reinaldo Barreiro
Re: Lazyload does not work with deployment mode
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
On Dec 21, 2013 3:19 PM, "letien" <ti...@toshiba-tsdv.com> wrote:
> I have researched deployment mode, and saw that:
>
> In deployment mode , we do everything to make the life of the users better.
> This means disabling all the stuff that helps developers .
>
> 1. Disable component hierarchy checks (only the things that prevent Wicket
> from rendering, i.e. fatal errors, are now reported)
>
> 2. Enable caching of resources,
>
> 3. Remove wicket tags and attributes
>
I think 3) is the problem for you.
Probably you use <wicket:container> and this cannot be found in deployment
mode because it is not rendered.
>
> 4. Enable minimization of JavaScript.
>
> Maybe "enable minimization of JavaScript" cause this problem with lazy
> load?
> Do you get this problem same me? And have any solutions?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172p4663173.html
> Sent from the Users forum 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: Lazyload does not work with deployment mode
Posted by letien <ti...@toshiba-tsdv.com>.
I have researched deployment mode, and saw that:
In deployment mode , we do everything to make the life of the users better.
This means disabling all the stuff that helps developers .
1. Disable component hierarchy checks (only the things that prevent Wicket
from rendering, i.e. fatal errors, are now reported)
2. Enable caching of resources,
3. Remove wicket tags and attributes
4. Enable minimization of JavaScript.
Maybe "enable minimization of JavaScript" cause this problem with lazy load?
Do you get this problem same me? And have any solutions?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172p4663173.html
Sent from the Users forum 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: Lazyload does not work with deployment mode
Posted by Gerrit Wassink <ge...@qfactors.nl>.
Hello,
How did you manage to get your wicket application running on a tomcat server?I am developing in development mode with jetty server.Can you give me workaround how to do it?
Many thanks in advance!
Greetings Gerrit
letien <ti...@toshiba-tsdv.com> , 21-12-2013 14:20:
hi Guys,
I just developed a web application using wicket and is running on a tomcat
server
I use lazyload on wicket framework. lazyload works great at development
mode.
But I change to deployment mode
<init-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
I can not get image, loading indicator rotates in endless. (I using lazyload
for display image)
I try debug in server and client side bug don't found problems. I using Lazy
Load - jQuery 1.8.4, wicket 6.4.0
Any help please ...
Regards
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172.html
Sent from the Users forum 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