Menu

let's see if indentation works

Test Area
Jon
2005-07-28
2013-04-11
  • Jon

    Jon - 2005-07-28

        <action    path = "logon_s"
                   type = "LogonAction"
                   name = "logonForm"
               validate = "true"
                  input = "logon_s.tpl">
           <forward name="logon-success" nextActionPath="" />
           <forward name="logon-failure" path="logon_s.tpl"/>
        </action>

        <action    path = "AccessResource"
                   type = "AccessResourceAction"
               validate = "false">
           <forward name="isLoggedOn" path="salesReport.tpl" />
           <forward name="notLoggedOn" nextActionPath="logon_s"/>
        </action>

     
    • John Wildenauer

      John Wildenauer - 2005-08-28

      AccountManagerAction.php
      ~~~~~~~~~~~~~~~~~~~
      class AccountManagerAction extends LookupDispatchAction {
      ...---
      ...listAccounts($mapping, $form, &$request, &$response) {
      ......//You can get the objects back like this:
      ......// Get the form bean
      ......//$request->getAttribute(Action::getKey('FORM_BEAN_KEY'));

      ......// Get the value object
      ......//$request->getAttribute(Action::getKey('VALUE_OBJECT_KEY'));

      ......$fb = $request->getAttribute(Action::getKey('FORM_BEAN_KEY'));
      ......echo $fb->getUserName();

      }}

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.