This is what I did and it seems to work alreadyl.
addComponentInstantiationListener(new IComponentInstantiationListener()
{
public void onInstantiation(Component component) {
// TODO Auto-generated method stub
System.out.println("HELLO");
get().getMarkupSettings().getMarkupCache().clear();
}
});
igor.vaynberg wrote:
>
> if wicket is in development mode it will reload resources on the fly.
> if this is not working for you then something is not properly
> configured, eg when you save your .css file your ide does not copy it
> out of src folder into classes folder...
>
> -igor
>
>
> On Sat, Mar 1, 2008 at 9:57 AM, carloc <[EMAIL PROTECTED]> wrote:
>>
>> Hi Guys,
>>
>> I've noticed that everytime I want to change something in my markup I
>> would
>> need to restart
>> the server as the changes don't take effect immediately. Is there
>> anything I
>> can do to avoid this behavior?
>> I'm trying to adjust my css and i'm spending more time restarting the
>> server...
>>
>> Thanks
>> Carlo
>> --
>> View this message in context:
>> http://www.nabble.com/Markup-Reloading-tp15779009p15779009.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]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Markup-Reloading-tp15779009p15784708.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]