--- Chris Pat <[EMAIL PROTECTED]> wrote:
> Can I from an Action populate a formbean, from a database, set 
> it in the session and forward to a jsp that is configured to use that 
> formbean as the encompassing formbean for the form?

Sure, but you shouldn't need to set it in the session yourself; that (IIRC)
is handled in the configuration file.

Whether or not you should has been the subject of conversation here over the
years. I'm in the "no" camp; I'd rather keep as much as possible un-tied to
the S1 libraries. Just makes things easier. Other people will disagree with
that.

Fortunately I haven't done a new S1 app in a couple of years now, so it's
okay :)

> What is the syntax, where do I put the name of the formbean 
> in the struts form tag to match the name of the formbean 
> I populated from the action?

I thought in S1 the form bean was named in the S1 configuration file; you
shouldn't have to do anything in particular with the form tag.

Dave



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

Reply via email to