org.yawlfoundation.yawl.resourcing.jsf
Class dynForm

java.lang.Object
  extended by com.sun.rave.web.ui.appbase.FacesBean
      extended by com.sun.rave.web.ui.appbase.AbstractPageBean
          extended by org.yawlfoundation.yawl.resourcing.jsf.dynForm

public class dynForm
extends com.sun.rave.web.ui.appbase.AbstractPageBean

Backing bean for the dynamic forms.

Author:
Michael Adams BPM Group, QUT Australia v0.1, 08/01/2008 Last Date: 16/03/2008

Constructor Summary
dynForm()
           
 
Method Summary
 String btnCancel_action()
          Returns to referring page without saving changed values
 String btnCancelUploadAction(javax.faces.event.ActionEvent event)
           
 String btnComplete_action()
          Same as btnOK, but also sets a flag to complete the item directly.
 String btnDocumentAction(javax.faces.event.ActionEvent event)
           
 String btnOccursAction(javax.faces.event.ActionEvent event)
           
 String btnOK_action()
          Updates workitem parameters with values added by user
 String btnUploadAction(javax.faces.event.ActionEvent event)
           
 void destroy()
           
protected  ApplicationBean getApplicationBean()
           
 com.sun.rave.web.ui.component.Body getBody1()
           
 com.sun.rave.web.ui.component.PanelLayout getBottomPanel()
           
 com.sun.rave.web.ui.component.Button getBtnCancel()
           
 com.sun.rave.web.ui.component.Button getBtnComplete()
           
 com.sun.rave.web.ui.component.Button getBtnOK()
           
 com.sun.rave.web.ui.component.Form getForm1()
           
 com.sun.rave.web.ui.component.Head getHead1()
           
 com.sun.rave.web.ui.component.Html getHtml1()
           
 com.sun.rave.web.ui.component.Link getLink1()
           
 com.sun.rave.web.ui.component.Page getPage1()
           
 com.sun.rave.web.ui.component.PanelLayout getPnlContainer()
           
protected  SessionBean getSessionBean()
           
 com.sun.rave.web.ui.component.StaticText getTxtHeader()
           
 void init()
           
 void preprocess()
          Abstract Method Implementations
 void prerender()
           
 void setBody1(com.sun.rave.web.ui.component.Body b)
           
 void setBottomPanel(com.sun.rave.web.ui.component.PanelLayout pnl)
           
 void setBtnCancel(com.sun.rave.web.ui.component.Button b)
           
 void setBtnComplete(com.sun.rave.web.ui.component.Button b)
           
 void setBtnOK(com.sun.rave.web.ui.component.Button b)
           
 void setForm1(com.sun.rave.web.ui.component.Form f)
           
 void setHead1(com.sun.rave.web.ui.component.Head h)
           
 void setHtml1(com.sun.rave.web.ui.component.Html h)
           
 void setLink1(com.sun.rave.web.ui.component.Link l)
           
 void setPage1(com.sun.rave.web.ui.component.Page p)
           
 void setPnlContainer(com.sun.rave.web.ui.component.PanelLayout pnl)
           
 void setTxtHeader(com.sun.rave.web.ui.component.StaticText st)
           
 
Methods inherited from class com.sun.rave.web.ui.appbase.AbstractPageBean
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, beforeRestoreView, beforeUpdateModelValues, isPostBack, renderResponse, responseComplete
 
Methods inherited from class com.sun.rave.web.ui.appbase.FacesBean
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getCachedExceptions, getContext, getExternalContext, getFacesContext, getLifecycle, getRequestMap, getSessionMap, getValue, info, info, log, log, setBean, setValue, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dynForm

public dynForm()
Method Detail

getApplicationBean

protected ApplicationBean getApplicationBean()
Returns:
a reference to the application scoped data bean.

getSessionBean

protected SessionBean getSessionBean()
Returns:
a reference to the session scoped data bean.

init

public void init()
Overrides:
init in class com.sun.rave.web.ui.appbase.AbstractPageBean

preprocess

public void preprocess()
Abstract Method Implementations

Overrides:
preprocess in class com.sun.rave.web.ui.appbase.AbstractPageBean

destroy

public void destroy()
Overrides:
destroy in class com.sun.rave.web.ui.appbase.AbstractPageBean

getPage1

public com.sun.rave.web.ui.component.Page getPage1()

setPage1

public void setPage1(com.sun.rave.web.ui.component.Page p)

getHtml1

public com.sun.rave.web.ui.component.Html getHtml1()

setHtml1

public void setHtml1(com.sun.rave.web.ui.component.Html h)

getHead1

public com.sun.rave.web.ui.component.Head getHead1()

setHead1

public void setHead1(com.sun.rave.web.ui.component.Head h)

getLink1

public com.sun.rave.web.ui.component.Link getLink1()

setLink1

public void setLink1(com.sun.rave.web.ui.component.Link l)

getBody1

public com.sun.rave.web.ui.component.Body getBody1()

setBody1

public void setBody1(com.sun.rave.web.ui.component.Body b)

getForm1

public com.sun.rave.web.ui.component.Form getForm1()

setForm1

public void setForm1(com.sun.rave.web.ui.component.Form f)

getTxtHeader

public com.sun.rave.web.ui.component.StaticText getTxtHeader()

setTxtHeader

public void setTxtHeader(com.sun.rave.web.ui.component.StaticText st)

getBtnOK

public com.sun.rave.web.ui.component.Button getBtnOK()

setBtnOK

public void setBtnOK(com.sun.rave.web.ui.component.Button b)

getBtnCancel

public com.sun.rave.web.ui.component.Button getBtnCancel()

setBtnCancel

public void setBtnCancel(com.sun.rave.web.ui.component.Button b)

getBtnComplete

public com.sun.rave.web.ui.component.Button getBtnComplete()

setBtnComplete

public void setBtnComplete(com.sun.rave.web.ui.component.Button b)

getPnlContainer

public com.sun.rave.web.ui.component.PanelLayout getPnlContainer()

setPnlContainer

public void setPnlContainer(com.sun.rave.web.ui.component.PanelLayout pnl)

getBottomPanel

public com.sun.rave.web.ui.component.PanelLayout getBottomPanel()

setBottomPanel

public void setBottomPanel(com.sun.rave.web.ui.component.PanelLayout pnl)

prerender

public void prerender()
Overrides:
prerender in class com.sun.rave.web.ui.appbase.AbstractPageBean

btnOK_action

public String btnOK_action()
Updates workitem parameters with values added by user

Returns:
a reference to the referring page

btnComplete_action

public String btnComplete_action()
Same as btnOK, but also sets a flag to complete the item directly. Note: this button is only visible for item edits, and not for case starts

Returns:
a reference to the referring page

btnCancel_action

public String btnCancel_action()
Returns to referring page without saving changed values

Returns:
a reference to the referring page

btnOccursAction

public String btnOccursAction(javax.faces.event.ActionEvent event)

btnDocumentAction

public String btnDocumentAction(javax.faces.event.ActionEvent event)

btnUploadAction

public String btnUploadAction(javax.faces.event.ActionEvent event)

btnCancelUploadAction

public String btnCancelUploadAction(javax.faces.event.ActionEvent event)


Copyright © 2004-2012 The YAWL Foundation.