No, problem solved. I was having some strange problems. My code was very
similar to Brock's code. 

I've taken Brock's code and made some modifications to it. If an "id"
attribute has been specified, will place the instantiated bean into the
PageContext and ActionContext.

If it's in the PageContext, you can get at the value using JSTL if you
want:

<c:out value=${counter.foo}"/>

or using property tag and the ActionContext:

<ww:property value="#counter.foo"/>

I'm going to take my modified version of Brock's code, his unit test,
along with some updated jsp's to demonstrate it's use and place it on
Jira.

The BeanTag class also has some good doco for javadoc ;).

One other thing, I've also updated OgnlUtil, particularly the
setProperties() method. The current one takes in a map of properties.
I've created one that takes in a 

(String name, String value, Object bean, Map context)

so that with the addParam() method we don't have to create a new Map
each time we set a parameter.

Wheew! Any questions, just ask.

rick

P.S. Brock, thanks!

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jason Carreira
> Sent: Tuesday, March 25, 2003 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] WW2 Action Context
> 
> Ok, excuse me, but we trimmed off too much of this conversation.... So
> what's the problem? Is it still a problem?
> 
> > -----Original Message-----
> > From: Rick Salsa [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 25, 2003 7:59 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [OS-webwork] WW2 Action Context
> >
> >
> > >
> > > What does createActionContext() do?
> >
> > It's just a private method that's suppose to create a new
> > ActionContext if one isn't created.
> >
> > rick
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:
> > The Definitive IT and Networking Event. Be There!
> > NetWorld+Interop Las Vegas 2003 -- Register today!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to