Added missing include method.

This commit is contained in:
Christian P. MOMON 2016-10-06 03:48:46 +02:00
parent 91d2a79f73
commit 53953db75c

View file

@ -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 * @return