Change @Form to [EMAIL PROTECTED]
Change @Submit to @AjaxSubmit
Surround the price with <div id="priceDiv" jwcid="[EMAIL PROTECTED]"> ... </div>

Add updateComponents="ognl:{'ajaxForm', 'priceDiv'}" to the new AjaxForm

Henri Dupre wrote:

>I'm very new to Ajax and outside the tacos Ajax example, I don't know much
>else...
>On our website we have a complex form to customize your own computer (e.g.
>http://www.actualis.com/app/article?ref=ACTCFG_PCGAMD) . This form is a list
>of @PropertySelection and when you change the option in the list, the total
>price is updated.
>The form used to be sent after changing anything on the form using
>Javascript but this was way too heavyweight for many users so we changed
>that back and now there is a submit button but it is not very satisfactory.
>I was wondering if this type of form would be feasible/complex in Ajax?
>(send the @PropertySelection data and then refresh the @PropertySelection
>content + the total price)
>Could the tacos components do some majic and make it easy?? ;-)
>
>
>Thanks,
>
>Henri.
>
>  
>

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

Reply via email to