mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/MissionSetUpMgrImpl.java
private String handleVariableFlowEvent(final FlowEvent event)
    {
        //Used to allow returning to a previous tab without validating parameter values.
        if (event.getNewStep().equals(MISSION_TAB_ID))
        {
            return event.getNewStep();
        }
        
        for (MissionArgumentModel argument : m_SelectedMission.getArguments())
        {
            //Checks the arguments value for being null or blank since value is a string.
            if (argument.getCurrentValue() == null || argument.getCurrentValue().equals(""))
            {
                m_GrowlMessageUtil.createLocalFacesMessage(FacesMessage.SEVERITY_WARN, "No value for " 
                        + argument.getName() + " has been set!", "Please set a value for the parameter!");
                return event.getOldStep();
            }
        }

        return event.getNewStep();
    }
/**
     * Method that handles checking to make sure that all parameters for the mission are not blank and are set to 
     * valid values be fore allow the wizard to advance to the next tab.
     * 
     * @param event
     *          {@link FlowEvent} that represents the call to change from the variables to the next or previous tab
     *          in the wizard within the mission setup page.
     * @return
     *          The string that represents the id of the wizard tab in which to switch to.
     */
Method that handles checking to make sure that all parameters for the mission are not blank and are set to
valid values be fore allow the wizard to advance to the next tab.

@param event
FlowEvent that represents the call to change from the variables to the next or previous tab
in the wizard within the mission setup page.
@return
The string that represents the id of the wizard tab in which to switch to.
Method that handles checking to make sure that all parameters for the mission are not blank and are set to valid values be fore allow the wizard to advance to the next tab . @param event FlowEvent that represents the call to change from the variables to the next or previous tab in the wizard within the mission setup page . @return The string that represents the id of the wizard tab in which to switch to .
private String handleVariableFlowEvent(final FlowEvent event)
    {
        if (event.getNewStep().equals(MISSION_TAB_ID))
        {
            return event.getNewStep();
        }
        for (MissionArgumentModel argument : m_SelectedMission.getArguments())
        {
            if (argument.getCurrentValue() == null || argument.getCurrentValue().equals(""))
            {
                m_GrowlMessageUtil.createLocalFacesMessage(FacesMessage.SEVERITY_WARN, "No value for " 
                        + argument.getName() + " has been set!", "Please set a value for the parameter!");
                return event.getOldStep();
            }
        }
        return event.getNewStep();
    }
private String handleVariableFlowEvent ( final FlowEvent event ) { if ( event . getNewStep ( ) . equals ( MISSION_TAB_ID ) ) { return event . getNewStep ( ) ; } for ( MissionArgumentModel argument : m_SelectedMission . getArguments ( ) ) { if ( argument . getCurrentValue ( ) == null || argument . getCurrentValue ( ) . equals ( "" ) ) { m_GrowlMessageUtil . createLocalFacesMessage ( FacesMessage . SEVERITY_WARN , "No value for " + argument . getName ( ) + " has been set!" , "Please set a value for the parameter!" ) ; return event . getOldStep ( ) ; } } return event . getNewStep ( ) ; }
Method that handles checking to make sure that all parameters for the mission are not blank and are set to
 valid values be fore allow the wizard to advance to the next tab.
Method that handles checking to make sure that all parameters for the mission are not blank and are set to valid values be fore allow the wizard to advance to the next tab .
//Used to allow returning to a previous tab without validating parameter values. //Checks the arguments value for being null or blank since value is a string.