Hi Isomorphic,
it seems that BatchUploader validation does not use the GWT-Client (I'd prefer this) or browser language.
Please see the online BatchUploader sample using ?locale=de (now on v11.0p_2016-11-04). My browser is also configured to prefer German language (HTTP Header in all requests: "Accept-Language:de-DE,de;q=0.8,en;q=0.6,en-US;q=0.4").
If you right click the ListGrid headers you'll see that the client is indeed using German locale.
Steps to reproduce:
Video:
Perhaps the solution is to sent the GWT language to the server in the operationId=setAttributes request?
This is a minor one for me, but happens in my application (v10.1p_2016-11-03) as well.
Best regards
Blama
it seems that BatchUploader validation does not use the GWT-Client (I'd prefer this) or browser language.
Please see the online BatchUploader sample using ?locale=de (now on v11.0p_2016-11-04). My browser is also configured to prefer German language (HTTP Header in all requests: "Accept-Language:de-DE,de;q=0.8,en;q=0.6,en-US;q=0.4").
If you right click the ListGrid headers you'll see that the client is indeed using German locale.
Steps to reproduce:
- Open the sample with the link
- Download the supplyItem.csv file
- Remove the "Audio" Category value in the 1st data row to create an error
- Upload the file
- See that the server-sent error message is "Field is required" (German version expected here)
- Update the 2nd data row in the GUI and remove the "Audio"-value there as well
- See that the client-generated validation error is "Feld ist obligatorisch" (as expected)
Video:
Perhaps the solution is to sent the GWT language to the server in the operationId=setAttributes request?
This is a minor one for me, but happens in my application (v10.1p_2016-11-03) as well.
Best regards
Blama
Comment