> -----Original Message-----
> From: Michael Jobe [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 16, 2003 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: Undergrad student seeking help with struts
>
>
> I am a undergrad student and I am just getting started
> developing using struts for a senior project. Here are
> the questions that I have.
>
> 1. If I have an application where each user has
> different menu options, how do I load each menu option
> depending on the user?

you can use logic:present and the role attribute if the menus are based on
security roles (admin, editor, manager, user, etc.)


>
> 2. I have the draft of my application in HTML form. I
> have multiple forms on one page. How do I make this
> using struts?
>
> Thanks everyone!
> Mike
>

I'm not sure exactly what your requirements are, but you can have multiple
forms on a single page as long as they don't overlap one another.
<html:form action="/action1">

</html:form>
<html:form action="/action2">

</html:form>
etc.


If you need the same form elements on a given page to be submitted to
different actions, the easiest way to achieve this is to use one of the
various actions in in the actions package (DispatchAction or ForwardAction)
or the scaffold RelayAction

Hope this helps.

>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
>
> ---------------------------------------------------------------------
> 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