An update:

My attempt to forward from action to action failed.
These are the mappings for the actions involved.

<action path="/multi" type="bla.presentation.MultiAction" name="multiForm" >
        <forward name="layer" path="/pages/multi_layer.jsp"/>
        <forward name="findname" path="/pages/multi_findname.jsp"/>
        <forward name="findaddress" path="/pages/multi_findaddress.jsp"/>
        <forward name="comment" path="/pages/multi_comment.jsp"/>
</action>

<action path="/multi/findname" type="bla.presentation.MultiFindNameAction"
name="multiFindNameForm" >
        <forward name="findname" path="/pages/multi_findname.jsp"/>
</action>

I tried to replace
        <forward name="findname" path="/pages/multi_findname.jsp"/>
with
        <forward name="findname" path="/multi/findname.do"/>

but somehow the MultiFindNameAction's execute method is apparently called
with the ActionForm param set to null:

"No getter method available for property layerId for bean under name null"

This seems to indicate that that's not proper way to do
initialization--which is OK, as it's the Action's job to handle user input,
not to preprocess the Form bean.
So, back to square one: what's the proper way to get init values from a
Model object that's held in the session into an ActionForm?


-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl


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

Reply via email to