You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luca Albertazzi <lu...@cedac.com> on 2006/07/24 12:32:04 UTC

Binding framework issue

Hello,
    my binding file looks like this:

<fb:context xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" path="/">   

    <fb:repeater row-path="bdyBonOrds/bdyBonOrd[1]/pmtInf/pmtTxs/paymentTransaction[1]/rmtInfs/objects" parent-path="." id="informazioniDiRiconciliazione" >

        <fb:on-bind>

            <fb:javascript id="testoLibero" path="ustrd">

              <fb:load-form>

                print("hello load");

                var appValue = jxpathPointer.getValue();

                widget.setValue(appValue);

              </fb:load-form>

              <fb:save-form>

                print("hello save");

                var formValue = widget.getValue();

                jxpathPointer.setValue(formValue);

              </fb:save-form>

            </fb:javascript>

        </fb:on-bind>

    </fb:repeater>

</fb:context>

The problem is: load binding works, save binding doesn't work. I have 
placed two debug print() in the binding file and I have noticed that 
print("hello load"), but print("hello save") is not executed. Someone 
has got some ideas?

Finally these are my configuration details:
Cocoon 2.1.6
Windows XP Professional
JDK 1.4.2_08
jakarta-tomcat-5.0.28

-- 
Luca Albertazzi
Cedac Software S.r.l.
Filiale: Via Emilia Ponente, 479 - 40132 Bologna - Tel. 0516179236
E-mail: luca.albertazzi@cedac.com
www.cedac.com

******
Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo piĆ¹ grave illecito, ed espone il responsabile alle relative conseguenze.

Confidentially notice. This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(S).
Any use, distribution, reproduction or disclosure by any other person is strictly prohibited.
If you have received this e-mail in error, please notify the sender and destroy the original transmission and its attachments without reading or saving it in any manner.
******


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