You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Witold Czaplewski <wi...@cts-media.eu> on 2009/12/10 12:08:18 UTC

Refresh resources in deployment mode

Hello,

In deployment mode, is it possible to refresh resources like html- or
property-files without reloading the context or server? For example if you
have a simple typo which you want to fix.

Regards,
Witold

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


Re: Refresh resources in deployment mode

Posted by Hauke Ingmar Schmidt <ha...@gmail.com>.
Hej,
what about activating JMX and clearing the cache with it's help?
Bye
Hauke Ingmar

2009/12/10 Martijn Dashorst <ma...@gmail.com>:

> Set the resource poll frequency to something other than null in your
> init() method

> On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
> <wi...@cts-media.eu> wrote:

>> In deployment mode, is it possible to refresh resources like html- or
>> property-files without reloading the context or server? For example if you
>> have a simple typo which you want to fix.

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


Re: Refresh resources in deployment mode

Posted by Martijn Dashorst <ma...@gmail.com>.
This is the recommended way to deploy: use deployment mode and enable
stuff you need. Never deploy a wicket application in development mode
on your production servers.

Martijn

On Thu, Dec 10, 2009 at 12:34 PM, Witold Czaplewski
<wi...@cts-media.eu> wrote:
> Oh...I test it. You were right.
>
> Sorry and thanks a lot martijn. :)
>
> Am Thu, 10 Dec 2009 12:29:04 +0100
> schrieb Witold Czaplewski <wi...@cts-media.eu>:
>
>> Hmm...i thought this only work in development mode?
>>
>> Am Thu, 10 Dec 2009 12:10:25 +0100
>> schrieb Martijn Dashorst <ma...@gmail.com>:
>>
>> > Set the resource poll frequency to something other than null in your
>> > init() method
>> >
>> > Martijn
>> >
>> > On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
>> > <wi...@cts-media.eu> wrote:
>> > > Hello,
>> > >
>> > > In deployment mode, is it possible to refresh resources like html- or
>> > > property-files without reloading the context or server? For example if you
>> > > have a simple typo which you want to fix.
>> > >
>> > > Regards,
>> > > Witold
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > > For additional commands, e-mail: users-help@wicket.apache.org
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0

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


Re: Refresh resources in deployment mode

Posted by Witold Czaplewski <wi...@cts-media.eu>.
Oh...I test it. You were right.

Sorry and thanks a lot martijn. :)

Am Thu, 10 Dec 2009 12:29:04 +0100
schrieb Witold Czaplewski <wi...@cts-media.eu>:

> Hmm...i thought this only work in development mode?
> 
> Am Thu, 10 Dec 2009 12:10:25 +0100
> schrieb Martijn Dashorst <ma...@gmail.com>:
> 
> > Set the resource poll frequency to something other than null in your
> > init() method
> > 
> > Martijn
> > 
> > On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
> > <wi...@cts-media.eu> wrote:
> > > Hello,
> > >
> > > In deployment mode, is it possible to refresh resources like html- or
> > > property-files without reloading the context or server? For example if you
> > > have a simple typo which you want to fix.
> > >
> > > Regards,
> > > Witold
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


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


Re: Refresh resources in deployment mode

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Take a look at method Application.configure()

Ernesto

On Thu, Dec 10, 2009 at 12:29 PM, Witold Czaplewski <
witold-mailing@cts-media.eu> wrote:

> Hmm...i thought this only work in development mode?
>
> Am Thu, 10 Dec 2009 12:10:25 +0100
> schrieb Martijn Dashorst <ma...@gmail.com>:
>
> > Set the resource poll frequency to something other than null in your
> > init() method
> >
> > Martijn
> >
> > On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
> > <wi...@cts-media.eu> wrote:
> > > Hello,
> > >
> > > In deployment mode, is it possible to refresh resources like html- or
> > > property-files without reloading the context or server? For example if
> you
> > > have a simple typo which you want to fix.
> > >
> > > Regards,
> > > Witold
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Refresh resources in deployment mode

Posted by Witold Czaplewski <wi...@cts-media.eu>.
Hmm...i thought this only work in development mode?

Am Thu, 10 Dec 2009 12:10:25 +0100
schrieb Martijn Dashorst <ma...@gmail.com>:

> Set the resource poll frequency to something other than null in your
> init() method
> 
> Martijn
> 
> On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
> <wi...@cts-media.eu> wrote:
> > Hello,
> >
> > In deployment mode, is it possible to refresh resources like html- or
> > property-files without reloading the context or server? For example if you
> > have a simple typo which you want to fix.
> >
> > Regards,
> > Witold
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> 
> 
> 


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


Re: Refresh resources in deployment mode

Posted by Martijn Dashorst <ma...@gmail.com>.
Set the resource poll frequency to something other than null in your
init() method

Martijn

On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
<wi...@cts-media.eu> wrote:
> Hello,
>
> In deployment mode, is it possible to refresh resources like html- or
> property-files without reloading the context or server? For example if you
> have a simple typo which you want to fix.
>
> Regards,
> Witold
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0

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