fixed, thanks. -igor
On Thu, Oct 14, 2010 at 9:07 AM, Alexander Morozov <alexander.v.moro...@gmail.com> wrote: > > Hi ppl, > > can anybody explain me why RequestCycle.getResponsePage() not handle > PageReferenceRequestTarget ? Is it by design or is it bug ? > > public final Page getResponsePage() > { > IRequestTarget target = getRequestTarget(); > if (target instanceof IPageRequestTarget) > { > return ((IPageRequestTarget)target).getPage(); > } > else if (target instanceof BookmarkablePageRequestTarget) > { > return > ((BookmarkablePageRequestTarget)target).getPage(); > } > return null; > } > > > Thanks, > Alexander > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/RequestCycle-getResponsePage-and-PageReferenceRequestTarget-tp2995603p2995603.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org