Hi Toby,

creditCard.kont  !=  **viewform-*


Yes that is correct. It points to my continuation pipe for which I have a hidden continuation id:

 <ft:form-template action="" name="Form1" method="POST" ajax="true">
   <ft:continuation-id/>

in the form definition, my continuation pipe being:

            <map:match pattern="**.kont">
               <map:select type="request-method">
                 <map:when test="POST">
                   <map:call continuation="{request-param:continuation-id}"/>
                 </map:when>
                 <map:otherwise>
                     <map:call continuation="{1}"/>
                 </map:otherwise>
               </map:select>
            </map:match>

In my flow I call the ajax pipe as:

    var form2 = new Form("forms/CreditCardDetails.xml");
    form2.showForm("viewform-CreditCardDetails", {"userGlobal":userGlobal});

Hoepfully we can resolve this issue today!

regards

Andrew


I'm having trouble getting Ajax to work myself, but this is one piece of
the Ajax puzzle I think I understand.

You should either add an ajax-action[1] attribute to form-template
( http://tinyurl.com/ok4ky), containing the **viewform-* target you want
Ajax to use, or you should add the browser-update machinery to the
creditCard.kont pipeline.


Toby

--
Signed/encrypted mail welcome.  GPG/PGP Key-Id: 0x15C5C2EA

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to