if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( getSelectedDataType( ) ) ) { try { defaultValue = convertToStandardFormat( DEUtil.convertToDate( defaultValue ) ); } catch ( ParseException e ) { ExceptionHandler.handle( e ); return false; } }
	protected boolean initDialog( )	{		Assert.isNotNull( inputParameter );		nameEditor.setText( inputParameter.getName( ) );		if ( !StringUtil.isBlank( inputParameter.getPromptText( ) ) )		{			promptTextEditor.setText( inputParameter.getPromptText( ) );		}		helpTextEditor.setText( UIUtil.convertToGUIString( inputParameter.getHelpText( ) ) );		if ( inputParameter.getValueType( )				.equals( DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC ) )		{			staticRadio.setSelection( true );			for ( Iterator iter = inputParameter.getPropertyHandle( ScalarParameterHandle.SELECTION_LIST_PROP )					.iterator( ); iter.hasNext( ); )			{				SelectionChoiceHandle choiceHandle = (SelectionChoiceHandle) iter.next( );				choiceList.add( choiceHandle.getStructure( ) );			}		}		else		{			dynamicRadio.setSelection( true );		}		defaultValue = inputParameter.getDefaultValue( );		if ( inputParameter.getPropertyHandle( ScalarParameterHandle.LIST_LIMIT_PROP )				.isSet( ) )		{			listLimit.setText( String.valueOf( inputParameter.getListlimit( ) ) );		}		isHidden.setSelection( inputParameter.isHidden( ) );		allowNull.setSelection( inputParameter.allowNull( ) );		allowBlank.setSelection( inputParameter.allowBlank( ) );		doNotEcho.setSelection( inputParameter.isConcealValue( ) );		needSort.setSelection( !inputParameter.isFixedOrder( ) );		changeDataType( );		dataTypeChooser.setText( dataType.findChoice( inputParameter.getDataType( ) )				.getDisplayName( ) );		switchParamterType( );		loading = false;		return true;	}