HI,
I know how to send an exception from a listener to the browser. For example, the following code snippet can throw an alert message to the browser.
MsgObject msgObject=CustomerMsg.getMsgObject("The image you are trying to upload is too large. ("+limitMB +"MB Max) Please contact the admin team if you need assistance.");
throw ValidationException.getOne(ASErrorCode.MGD_OBJ_PRE_CREATE_ERROR,this,msgObject);
-------
But here I have a requirement where I need to show a warning from the listener. Just a warning, not an exception.
Exception means, we can't proceed.
Warning means, we can proceed by clicking ok button or something.
If you could provide a code snippet about how to send a warning to the browser, that could be great.
thanks
Srini