fyi, just checked in a couple of enhancements for the Wicket viewer
(ISIS-349, ISIS-350):

* getContainer().informUser(...)   will raise a growl-like notification;
this hides automatically after a while [blue accent colour]
* getContainer().warnUser(...) raises a similar notification, but which
must be acknowledged [orange]
* getContainer().raiseError(...) also raises a notification, but which must
be acknowledged [red]

As an alternative to raiseError(), you can also just throw new
ApplicationException(...) - defined in the applib.  The two are equivalent,
use whichever you prefer.

In addition, if any unhandled runtime exceptions occur, these are now
caught and rendered more pleasantly than before.

Check it out, let me know if you hit issues

Dan

Reply via email to