|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Controller
implementation that allows multiple request types to be handled by the same
class.PagedListHolder.getFirstElementOnPage() and PagedListHolder.getLastElementOnPage()
are a workaround for a problem in jsp implementation that PagedListHolder.getLastElementOnPage()
may not return -1 (numbers below 0) which is neccessary when the list is empty
(because the first element will be 0 then and the last element must be below this value
otherwise an unexisting element might be indexed)
PagedListHolder.getFirstElementOnPage() and PagedListHolder.getLastElementOnPage()
are a workaround for a problem in jsp implementation that PagedListHolder.getLastElementOnPage()
may not return -1 (numbers below 0) which is neccessary when the list is empty
(because the first element will be 0 then and the last element must be below this value
otherwise an unexisting element might be indexed)
null or an instance of ModelAndView.
target object, which must be
of a Class for which the #supports(Class) method
typically has (or would) return true.
ModelUtils.unwrapIfNecessary(Object)
When showing model entity objects in a form we may want to decorate them
with additional information that should'nt be saved to the database,
e.g.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||