wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: setResponsePage
Date Thu, 20 Jun 2013 06:38:42 GMT

PageProvider is more an internal API. There is a ticket that it is complex
and needs some kind of simplification.
I don't want to expose it more to the user APIs.
How exactly you find it more convenient than the current #setResponsePage()
versions ?
It has constructors that accept renderCount and pageId, but those are
usually extracted from the request url. In your code you should not deal
with them.

On Thu, Jun 20, 2013 at 4:55 AM, Colin Rogers <
Colin.Rogers@objectconsulting.com.au> wrote:

> Wicketeers,
> Super-minor API thing...
> I've started using PageProvider class within our frameworks, as it's a
> really convenient class for detailing pages, etc. and avoid having to use
> Reflection directly.
> With this in mind, would it be possible to overload
> Component#setResponsePage that takes a PageProvider or IPageProvider?
> Cheers,
> Col.
> EMAIL DISCLAIMER This email message and its attachments are confidential
> and may also contain copyright or privileged material. If you are not the
> intended recipient, you may not forward the email or disclose or use the
> information contained in it. If you have received this email message in
> error, please advise the sender immediately by replying to this email and
> delete the message and any associated attachments. Any views, opinions,
> conclusions, advice or statements expressed in this email message are those
> of the individual sender and should not be relied upon as the considered
> view, opinion, conclusions, advice or statement of this company except
> where the sender expressly, and with authority, states them to be the
> considered view, opinion, conclusions, advice or statement of this company.
> Every care is taken but we recommend that you scan any attachments for
> viruses.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message