3.5.6: Webclient/AJAX/Calculated Field issue

Hi,

I have the following issue, that is giving me lot of troubles.
It is 3.5.6 / Webclient / AJAX specific problem.

Maybe there is a solution for this.

I have a webshop and a customer can browse in the catalog and order articles.

In my article table I have a field, Calculated thats has as expression

field: webshop_order_quantity: return;

In the webshop the customer can enter a value in the field. The current view is a table view (important!)

When entering a value (for example 20) I see the field to be refreshed (because on the screen the format is 20,00)
But when pressing the BUY-button no orderline is added to the shopping basket. Also the minimum order quantity check doesn’t show an error that was expected (because minimum order quantity = 25 for this article)

So it looks like the value entered in the webclient is not being saved in the webserver.

It happens also quite often, that the field is even being cleaned.
When having a table view with 5 articles and I put 6 as quantity in each order, then often on the 3rd of 4th line the quantity is cleared. There I get an error (24 < 25) but when entering 6+6+6+6+6=30 the error should not occur.

I can even see some delay on the screen when going to the next record. So it looks like client is geoing back to the server when going to next line.

I’ve put off the AJAX feature and I noticed that clearing the line didn’t happen anymore, going to the next record is going faster also, but some other functionality is not working in that case (click in treeview bean doesn’t work anymore without AJAX).

Is this kind of situation familiar to someone? I guess I’m not the only one with a webshop where articles can be ordered in a tableview in webclient with AJAX.

I’ll be happy to hear from you.

Martin

After more and more testing, I noticed also that

application.showFormInDialog()

is not working in webclient when AJAX is switched off
To be more specific when modal window is true

So the reason that I didn’t get the errormessage because of minimum order quantity , was because of the above.

I created a test solution and there it shows the same situation
I’ll report it as a bug

But the situation of clearing the quantity field still remains.

I got a message from Johan that ShowFormInDialog depends on AJAX.
So this means that it looks like you can’t use ShowFormInDialog when AJAX is disabled
I didn’t see a remark in de manual that this feature doesn’t work without AJAX.

Brings me to the next question:

What other functionality doesn’t work when AJAX is disabled?

Is there a overview of this?
And can this be included in the next manual where for each function there is a remark if the function is supported with/without AJAX. Like it is important to know which functions are not available in webclient.