Hi,
        I have this requirement to have a dynamic result dispatch. I am 
accomplishing this the following way - 
                <action name="MyAction_*" method="{1}"
                        class="com.action.MyAction">
                        <result name="success">${loginPage}</result>
                        <result name="input">${loginPage}</result>
                </action>
 
        The page dynamically shows up, no problems there. However when 
there's a validation error on this page, the framework returns a result 
"input" and I guess its not able to find the value for ${loginPage} then. 
My action class has the field loginPage with a getter method and thats how 
it works for "success". What can I do to make the value of loginPage 
available for result type "input" ?

Thanks,
Dwipin Chandran



=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to