Re: Exempt pages from pagemap

2010-05-20 Thread Loren Cole
Unfortunately no, in most cases I'm using LoadableDetachable models.

Thanks,
Loren

On Wed, May 19, 2010 at 5:09 AM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> Are your models static instead of LoadableDetachable and/or PropertyModels?
>
> Martijn
>
> On Tue, May 18, 2010 at 10:38 PM, Loren Cole  wrote:
> > I've got a couple of pages which display data that changes often and I
> want
> > to be sure that when a user hits refresh they get a fresh new copy of
> that
> > page.  Unfortunately, if I've used setResponsePage(new MyPage(params); to
> > get to these pages, then a refresh does not update the data, while
> hitting
> > the back button and resubmitting or clicking a link to the bookmarkable
> page
> > does.
> >
> > Is there a way I can simply exempt these pages from the cache using
> wicket
> > 1.3.7?
> >
> > Thanks,
> > Loren
> >
>
>
>
> --
> 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.7
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Exempt pages from pagemap

2010-05-19 Thread Martijn Dashorst
Are your models static instead of LoadableDetachable and/or PropertyModels?

Martijn

On Tue, May 18, 2010 at 10:38 PM, Loren Cole  wrote:
> I've got a couple of pages which display data that changes often and I want
> to be sure that when a user hits refresh they get a fresh new copy of that
> page.  Unfortunately, if I've used setResponsePage(new MyPage(params); to
> get to these pages, then a refresh does not update the data, while hitting
> the back button and resubmitting or clicking a link to the bookmarkable page
> does.
>
> Is there a way I can simply exempt these pages from the cache using wicket
> 1.3.7?
>
> Thanks,
> Loren
>



-- 
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.7

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



Exempt pages from pagemap

2010-05-18 Thread Loren Cole
I've got a couple of pages which display data that changes often and I want
to be sure that when a user hits refresh they get a fresh new copy of that
page.  Unfortunately, if I've used setResponsePage(new MyPage(params); to
get to these pages, then a refresh does not update the data, while hitting
the back button and resubmitting or clicking a link to the bookmarkable page
does.

Is there a way I can simply exempt these pages from the cache using wicket
1.3.7?

Thanks,
Loren