[Opensource] why aren't ControllerElements exposed as beans to jsps?
Malcolm Wise
malcolm.wise at sde.eu.sony.com
Fri Feb 7 03:24:51 PST 2003
Hi Mike,
As you no doubt know, Struts relies on introspection, so a bean would
require matching getter methods for the 'name' and/or 'property' attributes
of the Struts tags. I guess providing a few additional methods on
ControllerElement would overcome this, though I could be oversimplifying
things here :). I guess the guys who worked on the Expresso/Struts
integration would have considered this? Also, it would seem Expresso and
Struts will be going down the JSTL road in the future.
Having come from a pure Struts background, I would also like to be able to
use some of the Struts-compatible tag libraries (Ed Hill's display tag
library (http://edhill.its.uiowa.edu/display-0.8/) is one I'm converting for
Expresso at the moment). It would be SOOOO nice to be able to use it 'off
the shelf'!
Cheers
Malc
-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of Mike Traum
Sent: 07 February 2003 03:36
To: Expresso Mailing List (E-mail)
Subject: [Opensource] why aren't ControllerElements exposed as beans to
jsps?
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.
What am I missing?
thanks,
mike
*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030207/47557e91/attachment-0002.htm
More information about the Opensource
mailing list