Joe Hertz wrote:

> 1) I'm finding that calls to Action.getServlet() are returning null. I
> can't imagine what I've done to cause this. If so, what should I be
> looking for?

Don't understand why this happens AFAIK the only time the servlet is set to
null in an Action is when the RequestProcessor shuts down - i.e in its
destroy() method.


> 2) The following Snippet of code compiled as of the 3/27 Nightly.
>
> DynaActionFormClass dynaClass =
> DynaActionFormClass.createDynaActionFormClass(
>         formConfig);
>
> Sometime before 4/14, it apparently dissapeared, now the snippet has to
> read like this:
>
> DynaActionFormClass dynaClass =
> DynaActionFormClass.createDynaActionFormClass(
>         formConfig, moduleConfig);
>

My understanding is that the  form config used to have a reference to the
module config in it, but it was removed because it meant that if an
ActionForm was serialized then it tried to serialize the ModuleConfig as
well - so createDynaActionFormClass() used to get a reference for the
ModuleConfig from the form config, now it can't - so it needs to be passed
into the method.

> (yes, my day is just ducky)
>
> -Joe



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to