|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scopemvc.view.servlet.Page | +--org.scopemvc.view.servlet.jsp.JSPPage
A concrete Page
. ***** Doesn't do the
populateModel stuff yet
Constructor Summary | |
JSPPage(java.lang.String inViewID,
java.lang.String inJSPPath)
|
Method Summary | |
java.lang.String |
getPath()
Gets the path |
protected void |
init()
Do it like this so that we can pick up application-specific ScopeConfig... |
protected void |
populateBoundModelProperty(java.lang.String inPropertyDescription,
java.lang.String inValue)
Use the property_description, property_value pair passed to set a property in the bound model to a new value. |
java.util.List |
populateModel(java.util.HashMap ioParameters)
Interprets any form parameters like
<PROPERTY_ID_PREFIX>SelectorDescription
as [property_description, property_value] pairs |
Methods inherited from class org.scopemvc.view.servlet.Page |
equalsID, getBoundModel, getController, getID, getParent, issueControl, setBoundModel, setController, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JSPPage(java.lang.String inViewID, java.lang.String inJSPPath)
inViewID
- unique View ID for routing incoming ControlsinJSPPath
- the path to the JSP this View usesMethod Detail |
public final java.lang.String getPath()
public java.util.List populateModel(java.util.HashMap ioParameters)
Interprets any form parameters like
<PROPERTY_ID_PREFIX>SelectorDescription
as [property_description, property_value] pairs
Extracts the property_description from the form parameter key, then populates its model object using the String value. Any parameters treated this way are removed from the HashMap.
populateModel
in class Page
ioParameters
- form parameters to parse for [property_description,
property_value] pairs, removing any processed pairs from the
parameters before return
protected void init()
protected void populateBoundModelProperty(java.lang.String inPropertyDescription, java.lang.String inValue) throws java.lang.Exception
inPropertyDescription
- TODO: Describe the ParameterinValue
- TODO: Describe the Parameter
java.lang.Exception
- on any failure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |