Hello All,
I am just starting to use the reference data method in cancellableformcontroller to populate some data on my jsp page.
The method I have so far is simple:
protected Map referenceData(HttpServletRequest request)
{
Map referenceDataModel = new HashMap();
referenceDataModel.put("testData", "This is my data");
logger.debug ("Were getting here" + referenceDataModel.toString());
return referenceDataModel;
}
How do I access this 'testData' on my JSP page? I tried using:
THIS IS THE VALUE: <c:out value="${model.testData}"/>!
but no success. I thought that this 'testData' field would just get merged into the model that is returned to the form view.
Any ideas or links you can point me to?
Thanks!
Yogesh


Reply With Quote
