Hello everybody,

I'm new on this mailinglist, happy to "see" you ;-)

After tried a lot of solutions found on internet, i write there my problem.

I use Tapestry JQuery.
I have an actionlink which refresh a zone "windowZone".
But the action link is in this same zone "windowZone".

       <!-- return the block to show -->
       <t:zone t:id="windowZone" id="windowZone">
             <t:delegate to="activeBlock"/>
       </t:zone>

       <!-- PART 2 : Preview validation -->
       <t:block t:id="preview">
             <div style="width: 1024px; height: 550px;">
                    [...]
                    <div id="previewDivBottomLeft" style="position: 
absolute;bottom: 1em;left: 50%;width: 25%;">
                           <t:actionlink t:id="validatePreview" 
id="validatePreview"  zone="windowZone" >
                                  Valider
                           </t:actionlink>
                    </div>
             </div>
       </t:block>

A first time I refresh the zone by javascript like this :
----------
An applet call this method :
             function uploadImage()     {
                   // read the value in applet
                   var imageApplet = document.ScannerApplet.getBase64Image();
                   var data = {
                                 imageStringB64 : imageApplet
                          };
                   // set the value on server
                   jQuery.ajax({
                          url : "digitalize.scannerpopup.sendimage",
                          type : "post",
                          data: data,
                          dataType : "json",
                          cache : false,
                          async : false,
                          fail : function() { alert("error uploadImage"); },
                          success: function(data){
                                 refreshWindowZone(data.content);
                          }
                   });

             };
             function refreshWindowZone(htmlCode){
                    $("#windowZone").empty().hide();
                    // put new data in zone
                    $("#windowZone").html(htmlCode);
                    // show new zone
                    $('#windowZone').fadeIn(0);
             };

So i read value in the applet and send it to server, it's ok.
I show the good things at screen in windowZone, but my actionLink isn't good, 
if I click on it to refresh the zone, nothing happened.
My actionLink's id had changed.

--------
I tried what I found on internet but without success (get id from .java, static 
value or injectcomponent, ...).

Can you help me ?


Cordialy,

Benoit

Ps : my apologies if my english is not very good

________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité d'Atos ne pourra être recherchée 
quant au contenu de ce message. Bien que les meilleurs efforts soient faits 
pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne 
aucune garantie à cet égard et sa responsabilité ne saurait être recherchée 
pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos liability cannot be triggered for the message 
content. Although the sender endeavours to maintain a computer virus-free 
network, the sender does not warrant that this transmission is virus-free and 
will not be liable for any damages resulting from any virus transmitted.

Reply via email to