You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Arjun Dhar <dh...@yahoo.com> on 2015/04/16 18:19:28 UTC

ReLoad HTML only

Hi,
for production mode its not sensible to use
"setResourcePollFrequency(Duration.ONE_SECOND);"

Is there a way that one can only allow the HTML's to be reloaded that too on
an Event rather than a polling mechanism?


-----
Software documentation is like sex: when it is good, it is very, very good; and when it is bad, it is still better than nothing!
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/ReLoad-HTML-only-tp4670330.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: ReLoad HTML only

Posted by Martin Grigorov <mg...@apache.org>.
getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().clearCache()
will clear the cache and next request will load it from the file system

Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Apr 16, 2015 at 8:05 PM, Francois Meillet <
francois.meillet@gmail.com> wrote:

> look at
> getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().getMarkup(final
> MarkupContainer container, final Class<?> clazz, final boolean
> enforceReload)
>
> François Meillet
>
>
>
>
>
>
>
>
> Le 16 avr. 2015 à 18:19, Arjun Dhar <dh...@yahoo.com> a écrit :
>
> > Hi,
> > for production mode its not sensible to use
> > "setResourcePollFrequency(Duration.ONE_SECOND);"
> >
> > Is there a way that one can only allow the HTML's to be reloaded that
> too on
> > an Event rather than a polling mechanism?
> >
> >
> > -----
> > Software documentation is like sex: when it is good, it is very, very
> good; and when it is bad, it is still better than nothing!
> > --
> > View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ReLoad-HTML-only-tp4670330.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: ReLoad HTML only

Posted by Francois Meillet <fr...@gmail.com>.
look at getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().getMarkup(final MarkupContainer container, final Class<?> clazz, final boolean enforceReload)

François Meillet








Le 16 avr. 2015 à 18:19, Arjun Dhar <dh...@yahoo.com> a écrit :

> Hi,
> for production mode its not sensible to use
> "setResourcePollFrequency(Duration.ONE_SECOND);"
> 
> Is there a way that one can only allow the HTML's to be reloaded that too on
> an Event rather than a polling mechanism?
> 
> 
> -----
> Software documentation is like sex: when it is good, it is very, very good; and when it is bad, it is still better than nothing!
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/ReLoad-HTML-only-tp4670330.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: ReLoad HTML only

Posted by Adam Hammer <ad...@gmail.com>.
Websockets
On Apr 16, 2015 9:35 AM, "Arjun Dhar" <dh...@yahoo.com> wrote:

> Hi,
> for production mode its not sensible to use
> "setResourcePollFrequency(Duration.ONE_SECOND);"
>
> Is there a way that one can only allow the HTML's to be reloaded that too
> on
> an Event rather than a polling mechanism?
>
>
> -----
> Software documentation is like sex: when it is good, it is very, very
> good; and when it is bad, it is still better than nothing!
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ReLoad-HTML-only-tp4670330.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
>
>