[Opensource] ControllerResponse.getStyle()
Ben Switzer
ben at site85.com
Wed Nov 13 10:09:36 PST 2002
Good day.
Having just started using Expresso, I must say that I'm impressed. I've
only been in the J2EE scene for a year and a half, but I can honestly
say I'd built an app with Expresso in two weeks that took me nearly two
months using VB and ASP. Wicked framework to build web apps on.
Now on to my problem. I have written a taglib that attempts to retrieve
the String style that's part of the response object. When I set the
style with response.setStyle("green"); in my controller, everything
seems fine. I can retrieve the String within the same controller. When
I try to retrieve it from the tag, I get null.
I've tried (ControllerResponse)
pageContext.getAttribute(Controller.RESPONSE_KEY,
PageContext.REQUEST_SCOPE); and ControllerResponse myResponse =
ControllerUtils.getResponse(pageContext); to get a ControllerResponse
that'd have my String in it. No luck.
Is there something I'm missing, or am I not able to retrieve this String
like this. Might there be another way to retrieve that String?
Thanks,
Ben Switzer [ben at site85.com]
site85.developer.*;
More information about the Opensource
mailing list