info.magnolia.ui.framework.app.embedded
Class EmbeddedPageSubAppDescriptor

java.lang.Object
  extended by info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor
      extended by 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


Constructor Summary
EmbeddedPageSubAppDescriptor()
           
 
Method Summary
 String getUrl()
           
 void setUrl(String url)
           
 
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
 

Constructor Detail

EmbeddedPageSubAppDescriptor

public EmbeddedPageSubAppDescriptor()
Method Detail

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.