You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/05/23 21:16:52 UTC

[jira] Closed: (BEEHIVE-224) petstoreWeb needs to be updated to reference actions in shared flow correctly

     [ http://issues.apache.org/jira/browse/BEEHIVE-224?page=all ]
     
Jeremiah Johnson closed BEEHIVE-224:
------------------------------------


Verified in dist built from SVN 177983.

The following actions are defined in the shared flow:
signoff
globalShowHelp
globalViewCart
globalViewCategory
globalEditAccount
globalViewProductById
globalViewAddresses
globalViewCreateAccount
globalViewOrders
globalCheckOut
signon
actionSignon
search
globalShop
loginDone

I used a visual inspection to verify using the following to pull the uses of those actions:

---
#!/bin/sh

SHARED_ACTIONS="\
  signoff\
  globalShowHelp\
  globalViewCart\
  globalViewCategory\
  globalEditAccount\
  globalViewProductById\
  globalViewAddresses\
  globalViewCreateAccount\
  globalViewOrders\
  globalCheckOut\
  signon\
  actionSignon\
  search\
  globalShop\
  loginDone"

for sharedAction in $SHARED_ACTIONS
do
  echo Checking for $sharedAction\" use:
  find . -type f -exec grep "$sharedAction\"" {} \; | \
    egrep -v "@Jpf.SimpleAction|SHARED_ACTIONS"
done
---

In all cases, the actions were called using rootSharedFlow.{shared action name}.  

> petstoreWeb needs to be updated to reference actions in shared flow correctly
> -----------------------------------------------------------------------------
>
>          Key: BEEHIVE-224
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-224
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Eddie O'Neil
>     Assignee: Jeremiah Johnson
>      Fix For: V1Beta

>
> With changes to the way NetUI references actions defined in SharedFlows, the petstoreWeb is now out of date and needs to be updated to reference SharedFlow actions correctly.
> The basic change is to prefix the name of the shaerd flow to the action name on NetUI forms and anchors in JSPs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira