My problem is that some of my portlets lose their states without an
apparent reason.

The pageFlow beans are accessible on th controller like so:

        private BredbaandData bredbaandData;

        public BredbaandData getBredbaandData() {
                return bredbaandData;
        }

        public void setBredbaandData(BredbaandData bredbaandData) {
                this.bredbaandData = bredbaandData;
        }

The controller typically has two actions, where the begin action
forwards to one of them, like so:

    @Jpf.Action(
            forwards={
               @Jpf.Forward(name="current", action="current")
            }
        )
        public Forward begin(){
                Forward forward = new Forward("current");
                return forward;
    }

On the JSP I refer to the bean like so:

${pageFlow.bredbaandData.firstCall.display}

On the first go it works fine, but when running an action on another
portlet, the protlet shown above fails with the error:

Caught exception when evaluating expression
"{pageFlow.bredbaandOversigt.selectedPhoneNumberAsString}" with
available binding contexts [actionForm, pageFlow, globalApp, request,
session, application, pageContext, bundle, container, url, pageInput].
Root cause: java.lang.RuntimeException: Can not evaluate the identifier
"bredbaandOversigt" on a null object.

It indicates that the 'pageFlow' is null, how can this be? - the other
protlets dont get this.

Reply via email to