Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Extending org.kuali.

...

kfs.kns.web.struts.action.KualiTransactionalDocumentActionBase
Anchor
action_base
action_base

For our own document's actions, we need to extend org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase or a descendant class. Again, the rules about parallel hierarchies are also in effect here. The class should be named {transactional document name}Action and should live in the org.kuali.kfs.module.{the module we're working in}.web.struts package.

...

KualiDocumentActionBase also has methods to handle adding and deleting ad hoc routing and the adding or deleting of notes and attachments. There are only two action methods defined in org.kuali.ricekfs.kns.web.struts.action.KualiTransactionalDocumentActionBase:

...

Code Block
xml
xml
<form-bean name="KualiForm" type="org.kuali.ricekfs.kns.web.struts.form.KualiForm" />

<action path="/portal" name="KualiForm" type="org.kuali.ricekfs.kns.web.struts.action.KualiSimpleAction">
  <forward name="basic" path="/portal.jsp" />
</action>

...