my case goes like this

inside SetupAssignUserSystemAction class,
it associates with another form,

        UserSystemForm userSystemForm = (UserSystemForm)form;
        userSystemForm.setMethod("create");

Can it be casted to "UserForm userForm = (UserForm )form;"
to get the value of previous page UserForm

And then cast it again "UserSystemForm userSystemForm =
(UserSystemForm)form;"  ?


My english is not good. hope you understand.


Thanks


On 1/11/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> pc leung wrote the following on 1/10/2006 9:47 AM:
> > The following is the dropdown box in jsp
> >
> > <html:form action="setupAssignUserSystem.do" method="post" focus="engName">
> >             <html:select name="userForm" property="engName">
> >                 <html:options collection="userList" property="engName"/>
> >             </html:select>
> >
> >
> > How to get the value selected in action class ?
>
> Assuming UserForm is a standard ActionForm:
>
> UserForm userForm = (UserForm )form;
> String engName = userForm.getEngName();
>
> --
> Rick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to