Added missing include method.
This commit is contained in:
parent
91d2a79f73
commit
53953db75c
1 changed files with 16 additions and 0 deletions
|
@ -261,6 +261,22 @@ public class Page extends TagDataManager
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param id
|
||||
* @param page
|
||||
* @throws Exception
|
||||
*/
|
||||
public void includePage(final String id, final URL source) throws Exception
|
||||
{
|
||||
if ((id != null) && (source != null))
|
||||
{
|
||||
Page page = PageFactory.instance().create(source);
|
||||
|
||||
include(id, page);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
|
|
Loading…
Reference in a new issue