info.magnolia.ui.framework.app.embedded
Class EmbeddedPageSubAppDescriptor
java.lang.Object
info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor
info.magnolia.ui.framework.app.embedded.EmbeddedPageSubAppDescriptor
- All Implemented Interfaces:
- SubAppDescriptor
public class EmbeddedPageSubAppDescriptor
- extends ConfiguredSubAppDescriptor
Allows to specify the url to an html page to be embedded in an iframe.
If the supplied url doesn't start with http
it will be assumed to be an internal one and thus prepended with the current webapp's context path. E.g. given the url /some-static-pages/some-page
an url will be built in the following form <magnolia-webapp-context>/some-static-pages/some-page
Methods inherited from class info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor |
getActions, getIcon, getLabel, getName, getSubAppClass, isClosable, setActions, setClosable, setIcon, setLabel, setName, setSubAppClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedPageSubAppDescriptor
public EmbeddedPageSubAppDescriptor()
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
- Parameters:
url
- if not starting with http
the url will be assumed to be an internal one and thus prepended with the current webapp's context path.
E.g. given the url some-static-pages/some-page
an url will be built in the following form <magnolia-webapp-context>/some-static-pages/some-page
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.