org.apache.wicket.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.
 java.lang.String getComponentPath()
          Returns the page relative component path.
 
Methods inherited from interface org.apache.wicket.request.handler.IPageProvider
detach, getPageClass, getPageId, getPageInstance, getPageParameters, getRenderCount, isNewPageInstance
 

Method Detail

getComponent

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

Returns:
component

getComponentPath

java.lang.String getComponentPath()
Returns the page relative component path.

Returns:
the page relative component path.


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