diff --git a/src/fr/devinsy/xidyn/pages/Page.java b/src/fr/devinsy/xidyn/pages/Page.java index 795d829..73d251d 100644 --- a/src/fr/devinsy/xidyn/pages/Page.java +++ b/src/fr/devinsy/xidyn/pages/Page.java @@ -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