Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.2
-
None
-
None
-
BEA Portal 10
Description
Hi,
Please take a look at the following code snippet:
[code]
@Jpf.Controller(
sharedFlowRefs =
)
public final class MasterPinPopulateController extends BigGatewayAgentController {
private static final long serialVersionUID = -3177980439461585579L;
@Jpf.SharedFlowField(name = "rootSharedFlow")
private BigGatewayAgentSharedFlow sharedFlow;
.
.
.
}
public class BigGatewayAgentController extends PageFlowController {
private static final long serialVersionUID = 6528555130532846044L;
private transient Logger log = Logger.getLogger(this.getClass());
@Jpf.Action(
forwards =
)
public Forward begin() throws Exception
public Logger getLog()
{ return log; }}
[/code]
When running the code I get this error in the logs:
ERROR org.apache.beehive.netui.pageflow.PageFlowController - Could not find shared flow with name "rootSharedFlow" to initialize field sharedFlow in com.company.portlets.extensivesearch.MasterPinPopulateController
I think the error has something to do with the fact that I'm declaring a shared flow in a class that doesn't extend PageFlowController directly.
The same happens with other classes that declare their page flows in a similar fashion.