org.apache.wicket.core.request.handler
Interface IPageAndComponentProvider

All Superinterfaces:
IPageProvider
All Known Implementing Classes:
PageAndComponentProvider

public interface IPageAndComponentProvider
extends IPageProvider

Extension of IPageProvider that is also capable of providing a Component belonging to the page.

Author:
Matej Knopp

Method Summary
 IRequestableComponent getComponent()
          Returns component on specified page with given path.
 String getComponentPath()
          Returns the page relative component path.
 
Methods inherited from interface org.apache.wicket.core.request.handler.IPageProvider
detach, getPageClass, getPageId, getPageInstance, getPageParameters, getRenderCount, hasPageInstance, isNewPageInstance, isPageInstanceFresh
 

Method Detail

getComponent

IRequestableComponent getComponent()
Returns component on specified page with given path.

Returns:
component

getComponentPath

String getComponentPath()
Returns the page relative component path.

Returns:
the page relative component path.


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.