The example.war shows how to read the login info from the action class, but it would be much better if the example used dynamic forms in a way that populated the form in advance through the action. That is the part that I can't get working.
-----Original Message----- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 4:22 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: How-to dynamically name properties? Check out the Struts 1.1b source code and example.war Basically, you set up the definition of a form bean in your struts-config.xml and then use wherever you like. (you don't actually have to write/compile an ActionForm) The coolest thing is that you also don't have to change any non-nested (I think/hope [:{o ) references in your jsp. JM > -----Original Message----- > From: Steve Scheepmaker [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 4:08 PM > To: Struts Users Mailing List > Subject: RE: How-to dynamically name properties? > > > What exactly is all this DynaActionForm stuff? I've seen references to it > but have not been able to find any information on it... > > Steve. > > > -----Original Message----- > > From: James Mitchell [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 14, 2002 1:10 PM > > To: Struts Users Mailing List > > Subject: RE: How-to dynamically name properties? > > > > > > Out of curiosity. > > > > Why do you need this done? > > > > You want to be able to tell Struts which get???() and set???() to > > call based > > on a value in a bean? > > > > Wouldn't the DynaActionFrom suit your needs? > > > > JM > > > > > -----Original Message----- > > > From: Michael Marrotte [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, May 14, 2002 3:59 PM > > > To: [EMAIL PROTECTED] > > > Subject: How-to dynamically name properties? > > > > > > > > > Can someone help me figure a way to do something like this? > > > > > > <html:select property="x_<bean:write name="y" property="z" > > > filter="true"/>"> > > > > > > What I wanted to do is dynamically name the <html:select> property, > > > x_[some-dynamic-value]. > > > > > > Any idea on how I should really approach this? > > > > > > Thanks, > > > > > > --Michael Marrotte > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

