org.zkoss.spring.bean
Class ZkSpringUiFactory
java.lang.Object
org.zkoss.zk.ui.impl.AbstractUiFactory
org.zkoss.zk.ui.http.SimpleUiFactory
org.zkoss.spring.bean.ZkSpringUiFactory
- All Implemented Interfaces:
- org.zkoss.zk.ui.sys.UiFactory
public class ZkSpringUiFactory
- extends org.zkoss.zk.ui.http.SimpleUiFactory
Handle new page creation issue when reuse desktop when changing page from
http to https in Spring security. Since 1.2, also handle the PageDefinition
to inject ZkSpringBeanBindingComposer on component so it will be applied to
bind the ZK component to Spring bean automatically.
- Since:
- 1.1
- Author:
- henrichen
Method Summary |
org.zkoss.zk.ui.metainfo.PageDefinition |
getPageDefinition(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String path)
|
org.zkoss.zk.ui.metainfo.PageDefinition |
getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.idom.Document content,
java.lang.String extension)
|
org.zkoss.zk.ui.metainfo.PageDefinition |
getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
java.io.Reader reader,
java.lang.String extension)
|
org.zkoss.zk.ui.metainfo.PageDefinition |
getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String content,
java.lang.String extension)
|
org.zkoss.zk.ui.Desktop |
newDesktop(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String updateURI,
java.lang.String path)
|
org.zkoss.zk.ui.Page |
newPage(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.zk.ui.metainfo.PageDefinition pagedef,
java.lang.String path)
|
org.zkoss.zk.ui.Page |
newPage(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.zk.ui.Richlet richlet,
java.lang.String path)
|
Methods inherited from class org.zkoss.zk.ui.http.SimpleUiFactory |
newSession |
Methods inherited from class org.zkoss.zk.ui.impl.AbstractUiFactory |
getRichlet, isRichlet, newComponent, newComponent, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESKTOP_REUSE
public static final java.lang.String DESKTOP_REUSE
- See Also:
- Constant Field Values
DESKTOP_URL
public static final java.lang.String DESKTOP_URL
- See Also:
- Constant Field Values
ZkSpringUiFactory
public ZkSpringUiFactory()
getPageDefinition
public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinition(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String path)
- Specified by:
getPageDefinition
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
getPageDefinition
in class org.zkoss.zk.ui.impl.AbstractUiFactory
getPageDefinitionDirectly
public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String content,
java.lang.String extension)
- Specified by:
getPageDefinitionDirectly
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
getPageDefinitionDirectly
in class org.zkoss.zk.ui.impl.AbstractUiFactory
- Since:
- 1.2
getPageDefinitionDirectly
public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.idom.Document content,
java.lang.String extension)
- Specified by:
getPageDefinitionDirectly
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
getPageDefinitionDirectly
in class org.zkoss.zk.ui.impl.AbstractUiFactory
- Since:
- 1.2
getPageDefinitionDirectly
public org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinitionDirectly(org.zkoss.zk.ui.sys.RequestInfo ri,
java.io.Reader reader,
java.lang.String extension)
throws java.io.IOException
- Specified by:
getPageDefinitionDirectly
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
getPageDefinitionDirectly
in class org.zkoss.zk.ui.impl.AbstractUiFactory
- Throws:
java.io.IOException
- Since:
- 1.2
newDesktop
public org.zkoss.zk.ui.Desktop newDesktop(org.zkoss.zk.ui.sys.RequestInfo ri,
java.lang.String updateURI,
java.lang.String path)
- Specified by:
newDesktop
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
newDesktop
in class org.zkoss.zk.ui.impl.AbstractUiFactory
newPage
public org.zkoss.zk.ui.Page newPage(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.zk.ui.metainfo.PageDefinition pagedef,
java.lang.String path)
- Specified by:
newPage
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
newPage
in class org.zkoss.zk.ui.impl.AbstractUiFactory
newPage
public org.zkoss.zk.ui.Page newPage(org.zkoss.zk.ui.sys.RequestInfo ri,
org.zkoss.zk.ui.Richlet richlet,
java.lang.String path)
- Specified by:
newPage
in interface org.zkoss.zk.ui.sys.UiFactory
- Overrides:
newPage
in class org.zkoss.zk.ui.impl.AbstractUiFactory
Copyright © 2005-2007 Potix Corporation. All Rights Reserved.