[Webwork-devel] Thoughts on JSTL support
Brought to you by:
baldree,
rickardoberg
|
From: Bill B. <bi...@pr...> - 2002-05-15 20:35:04
|
Hello,
It occurs to me that if the contents ValueStack could be accessed via
api's similar to a Map or List, then the VS could be accessed directly
from JSTL (or Velocity for that matter) provided it could be added as a
friendly name to the request. For instance:
${valuestack.current} - calls vs.getCurrent() which calls
findValue(".")
${valuestack.parent} - calls vs.getParent() which calls
findValue("..")
${valuestack.top} - calls vs.getTop() which calls findValue("/")?
-Bill
|