com.sri.emo.wizard.creation
Class CustomPartHandlerPage

java.lang.Object
  extended by com.sri.emo.wizard.defaults.EmoWizardPage
      extended by com.sri.emo.wizard.creation.CustomPartHandlerPage
All Implemented Interfaces:
WizardPage, Serializable

public class CustomPartHandlerPage
extends EmoWizardPage

Custom Part Handler Page.

Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
static String INVALID_MARKER
           
 
Constructor Summary
CustomPartHandlerPage(Integer newId, PageMetadata pageMetadata)
          Constructor that builds the part handler page.
 
Method Summary
 void setData(Serializable newData)
          Sets the data associated with the page.
 
Methods inherited from class com.sri.emo.wizard.defaults.EmoWizardPage
addError, equals, getData, getId, getMenu, getMetadata, getPageErrors, getPrintableData, hashCode, removeErrors, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_MARKER

public static final String INVALID_MARKER
See Also:
Constant Field Values
Constructor Detail

CustomPartHandlerPage

public CustomPartHandlerPage(Integer newId,
                             PageMetadata pageMetadata)
Constructor that builds the part handler page.

Parameters:
newId - Integer
pageMetadata - PageMetadata
Method Detail

setData

public void setData(Serializable newData)
             throws WizardException
Sets the data associated with the page.

intercepting values from form after user clicks 'next'

Validate, calling super.addError("Error Message"); for each failed criteria. Sequential wizard logic will automagically detect errors and revert to original page.

Specified by:
setData in interface WizardPage
Overrides:
setData in class EmoWizardPage
Parameters:
newData - Is a Map of all Parameters passed into the wizard by CompletionWizardAction
Throws:
WizardException - upon error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.