|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.forms.xforms.XFormsBean
public class XFormsBean
Bean for interacting with the chiba processor from the ui using ajax requests. Manages the chiba bean lifecycle.
Nested Class Summary | |
---|---|
static class |
XFormsBean.AlfrescoSubmissionHandler
|
Field Summary | |
---|---|
static java.lang.String |
BEAN_NAME
|
Constructor Summary | |
---|---|
XFormsBean()
|
Method Summary | |
---|---|
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)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String BEAN_NAME
Constructor Detail |
---|
public XFormsBean()
Method Detail |
---|
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 session
FormBuilderException
org.chiba.xml.xforms.exception.XFormsException
public 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.IOException
org.chiba.xml.xforms.exception.XFormsException
public void setXFormsValue() throws org.chiba.xml.xforms.exception.XFormsException, java.io.IOException
org.chiba.xml.xforms.exception.XFormsException
java.io.IOException
public void setRepeatIndeces() throws org.chiba.xml.xforms.exception.XFormsException, java.io.IOException
org.chiba.xml.xforms.exception.XFormsException
java.io.IOException
public void fireAction() throws org.chiba.xml.xforms.exception.XFormsException, java.io.IOException
org.chiba.xml.xforms.exception.XFormsException
java.io.IOException
public void handleAction()
public void handleSubmit(org.w3c.dom.Node result)
public void swapRepeatItems() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |