What beans get instantiated as an Action class is created?  Is it
exclusively a function of the bean mappings in the spring config, or is
there something more going on?  I cannot find the source for the
StrutsSpringObjectFactory and I'm seeing a null passed into a setter method
on an Action class.  Naturally this is causing problems!

Also, what logic does the ParameterInterceptor use to set() properties on
Actions and or the Action POJOs?  Does it reflect on each property and bean
in the action class?  I have the following JSP control:

<select name="PayrollUpdate.reasonId"
id="PayrollUpdate_add_PayrollUpdate_reasonId">

   <option value="0">New Hire</option>
   <option value="1">Rehire</option>
   <option value="2">Promotion</option>
   ...
</select>

That is updating the following bean in its Action class:

public class PayrollUpdateAction extends BaseAction {
        private PayrollUpdate payrollUpdate;
       ...

PayrollUpdate bean has a setReasonId(...) but it's a bit of a mystery
that it can be discovered when the JSP control
name does not starting with a lowercase "p."  The PayrollUpdateAction
does have a getPayrollUpdate() method.

--
Scott
[EMAIL PROTECTED]

Reply via email to