cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hovi <>
Subject set avariable to an repeater item
Date Thu, 15 Mar 2007 08:09:06 GMT
Dear all,

I would like to put a variable to an item of a repeater widget:

miscs[0].code = "ISIL";
miscs[0].misc = cocoon.session.getAttribute("mpf_aaa_isil");

Maybe i must change somehow the binding file:

        <fb:context path="misc-group">
            <fb:repeater id="miscs" parent-path="." row-path="misc">

<!--                     <fb:value id="misc" path="."/> -->
        <fb:javascript id="miscs.0.misc" path=".">

<!--                     <fb:value id="code" path="@role"/> -->
        <fb:javascript id="miscs.0.code" path="@role">


Could anyone help me.

Best Regards,

Erik Hovi

View raw message