Re: Handling Exceptions in ActionForm

2003-10-03 Thread Michael Ruppin
At your own risk, manipulate the ActionErrors and ActionMessages collections any way you like. They're in the request scope and named according to Globals.ERROR_KEY and Globals.MESSAGE_KEY. m --- Shane Mingins <[EMAIL PROTECTED]> wrote: > Hi > > I have a Swing app where the SwingView implemen

RE: Handling Exceptions in ActionForm

2003-10-02 Thread Karr, David
> -Original Message- > From: Shane Mingins [mailto:[EMAIL PROTECTED] > > Using Struts, if I have an ActionForm implement the view > interface, how > would it create an ActionError or ActionMessage? It seems > that from an > ActionForm the validate() method can do it, and an Action can

Handling Exceptions in ActionForm

2003-10-02 Thread Shane Mingins
Hi I have a Swing app where the SwingView implements the view interface and has a method duplicateException(String s). In the SwingView it is implemented as public void duplicateException(String duplicateName) { JOptionPane.showMessageDialog(this, "That would result in a duplicate Channel",