Martin Cooper wrote:

Huh? What's not terribly important? If I don't have the form bean (which
Struts has not yet created for me), how am I going to populate it with the
values I want displayed in the form?

It's irrelevant whether or not the form is created if you haven't drawn the association between the action and the form so that Struts knows you wish to have it populated, right?

Huh? Ok I think I missed something here. I've always had my form available to me if I told Struts an action used it. If you're not pre-populating (for display) it's really not important to have it created ahead of time. You're guaranteed the form will be there to
Um, this whole thread is about pre-populating for display... That's what Sri
is trying to do. In his scenario, there is *no way* to have Struts create
the form bean for him automagically.

... I think the thing that prompted us here was discussing how Struts would create a form if you drew the lines to tell it to ... and that drawing those lines enables other behavior - population being one of them.

--
Martin Cooper

--
Eddie Bush




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to