istricesrl / glisweb

GlisWeb framework is a stable and lightweight framework for building both web sites and web applications
https://glisweb.istricesrl.it
Other
4 stars 3 forks source link

gestire il campo "esito" nelle risposte ai tasti delle interfacce metro #9

Open fabiomosti opened 4 years ago

fabiomosti commented 4 years ago

la chiamata metroWs() dovrebbe gestire eventuali errori aprendo un popup per informare l'utente, e la spunta dovrebbe apparire solo se esito è uguale a true

chiaragdl commented 3 years ago

attualmente qualunque sia l'esito del webservice nel metro butto appare la spunta. gestire l'esito del webservice in modo da mostrare 'x'(o comunque un alert) al posto della spunta se il webservice non è andato a buon fine; successivamente si potrebbe far restituire dal webservice il messaggio di errore in modo da mostrarlo all'utente in modo tale da sapere se il ws è fallito e perchè