public class XFormsBean
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
XFormsBean.AlfrescoSubmissionHandler |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_NAME |
| Constructor and Description |
|---|
XFormsBean() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.web.forms.xforms.XFormsBean.XFormsSession |
createSession(org.w3c.dom.Document formInstanceData,
java.lang.String formInstanceDataName,
Form form)
Initializes the chiba process with the xform and registers any necessary
event listeners.
|
void |
fireAction()
fires an action associated with a trigger.
|
protected Schema2XFormsProperties |
getSchema2XFormsProperties() |
void |
getXForm()
Writes the xform out to the http servlet response.
|
org.alfresco.web.forms.xforms.XFormsBean.XFormsSession |
getXformsSession() |
void |
handleAction()
handles submits and sets the instance data.
|
void |
handleSubmit(org.w3c.dom.Node result) |
boolean |
isXformValid()
Introduced for ALF-10162 and ALF-10163
This method is used in JSF context to be able to validate last inserted values.
|
void |
setAvmBrowseBean(AVMBrowseBean avmBrowseBean) |
void |
setNavigator(NavigationBean navigator) |
void |
setRepeatIndeces()
sets the value of a control in the processor.
|
void |
setSchema2XFormsProperties(Schema2XFormsProperties schema2XFormsProperties) |
void |
setXFormsSession(org.alfresco.web.forms.xforms.XFormsBean.XFormsSession xformsSession) |
void |
setXFormsValue()
sets the value of a control in the processor.
|
void |
swapRepeatItems()
Swaps model nodes to implement reordering within repeats.
|
public org.alfresco.web.forms.xforms.XFormsBean.XFormsSession getXformsSession()
public void setSchema2XFormsProperties(Schema2XFormsProperties schema2XFormsProperties)
schema2XFormsProperties - the schema2XFormsProperties to set.protected Schema2XFormsProperties getSchema2XFormsProperties()
public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
avmBrowseBean - the avmBrowseBean to set.public void setNavigator(NavigationBean navigator)
public void setXFormsSession(org.alfresco.web.forms.xforms.XFormsBean.XFormsSession xformsSession)
throws FormBuilderException,
org.chiba.xml.xforms.exception.XFormsException
xformsSession - the current sessionFormBuilderExceptionorg.chiba.xml.xforms.exception.XFormsExceptionpublic org.alfresco.web.forms.xforms.XFormsBean.XFormsSession createSession(org.w3c.dom.Document formInstanceData,
java.lang.String formInstanceDataName,
Form form)
public void getXForm()
throws java.io.IOException,
org.chiba.xml.xforms.exception.XFormsException
java.io.IOExceptionorg.chiba.xml.xforms.exception.XFormsExceptionpublic void setXFormsValue()
throws org.chiba.xml.xforms.exception.XFormsException,
java.io.IOException
org.chiba.xml.xforms.exception.XFormsExceptionjava.io.IOExceptionpublic void setRepeatIndeces()
throws org.chiba.xml.xforms.exception.XFormsException,
java.io.IOException
org.chiba.xml.xforms.exception.XFormsExceptionjava.io.IOExceptionpublic void fireAction()
throws org.chiba.xml.xforms.exception.XFormsException,
java.io.IOException
org.chiba.xml.xforms.exception.XFormsExceptionjava.io.IOExceptionpublic void handleAction()
public void handleSubmit(org.w3c.dom.Node result)
public void swapRepeatItems()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isXformValid()
CreateWebContentWizardCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.