[Midas] Notification.php

Mona Wong mona at sdsc.edu
Wed Jul 4 13:51:25 EDT 2012


	What's a good way to display an error message to the user?  I am writing a controller but if something goes wrong, I'd like to inform the user.

	I looked at the remoteprocessing module and tried:

        if ( $itemid == null )
        {
            throw new Zend_Exception ( "ERROR: missing item id, cannot continue!" );
            return;
        }

	But that didn't work...just gave me a blank page.  What am I doing wrong?
	
thanks,
Mona

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    Believing we are in control is an
    illusion that brings suffering.
*********************************************







More information about the Midas mailing list