cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dev at weitling <d...@weitling.net>
Subject Re: Access to bizData in <fd:on-action><fd:javascript>
Date Wed, 25 Jul 2007 08:38:32 GMT
Hi Tobia,

your solution works like a charm but I became jaunty and tried the
following:

--- flowscript ---
var selist = new Packages.demo.MyJavaSelection();

form.getChild('mySelectionList').setSelectionList(selist);

--- MySelectionList.java ---
    protected boolean build () throws Exception {
        super.addItem("!!","Hey, you!");
        super.addItem("??","Who me?");
        return true;
    }

And this results in always in a NullPointerException.

Do you have any idea? Well, I can surround this, but using
AbstractJavaSelectionList shouldn't have so many obstacles :-)

Bye,
Florian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message