[Opensource] why aren't ControllerElements exposed as
beans to jsps?
Michael Rimov
rimovm at centercomp.com
Fri Feb 7 00:38:04 PST 2003
At 09:35 PM 2/6/2003 -0600, you wrote:
>For a while I've been wondering why blocks, inputs, outputs, and
>transitions are not exposed as beans to jsp's. Maybe I'm missing
>something, but it seems to me that if they were, all of the custom struts
>integration wouldn't be necessary. Also, we could seamlessly make use of
>other tag libraries (Struts Layout is one that I'd love to use) without
>modification.
>
>My understanding is that this would simply require looping on all
>ControllerElements, placing them in the request.
Hi Mike,
As of 5.0.3, I did expose things through Maps that should allow better
integration with JSTL in particular, but I bet it could work with the
struts tags too. I don't want to iterate through the ControllerResponse
every time, but allowing decent navigation would be excellant, especially
since the entire ControllerResponse object could easily be a bean in
itself. [Although technically, with the new additions, it's probably
'loosely' already a bean]
-Mike
More information about the Opensource
mailing list