beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Ramirez (JIRA)" <>
Subject [jira] Commented: (BEEHIVE-220) actions don't seem to resolve correctly to shared flows
Date Tue, 01 Feb 2005 17:13:18 GMT
     [ ]
Alejandro Ramirez commented on BEEHIVE-220:

I think this issue is due to the fact that there is no explicit reference the sharedFlow in
the Jsp.  In order to invoke actions contained in sharedFlows from a jsp, you have to explicitly
reference the shared flow that contains the action.

So, in the pkg/Controller.jpf you have:
        @Jpf.SimpleAction(name="begin", path="index.jsp")
        @Jpf.SharedFlowRef(name="shared", type=shared.SharedFlow.class)

Then, you need to reference that action in the index.jsp as:
<netui:anchor action="shared.home">

I tried that and it worked.

> actions don't seem to resolve correctly to shared flows
> -------------------------------------------------------
>          Key: BEEHIVE-220
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: Win XP.  Tomcat 5.0.25.  Beehive build from SVN this morning.
>     Reporter: Eddie O'Neil
>     Assignee: Rich Feit
>      Fix For: V1Beta
>  Attachments: reproWeb.war
> Webapp is this:
>   /pkg/Controller.jpf
>       /index.jsp
>   /WEB-INF/src/shared/SharedFlow.jpfs
> With a <netui:anchor> in /index.jsp that references "home" as:
>   <netui:anchor action="home">
> the action "home" isn't resolved with the error:
>   Action 'home' is not a valid action.
> Repro will be attached shortly; to build, run:
>   ant -f ant\buildWebapp.xml build -Dwebapp.dir=d:\dev\apache\beehive\trunk\reproWeb
>   ant -f ant\buildWebapp.xml deploy -Dcontext.path=reproWeb -Dwebapp.dir=d:\dev\apache\beehive\trunk\reproWeb
> then hit:
>   http://localhost:8080/reproWeb/pkg/Controller.jpf
> The same problem is showing up in the petstoreWeb.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message