html:form tag and coupling between ActionForm and Action

2003-07-21 Thread Christopher Bare
Hi, Does anyone know why the "name" and "type" attributes of the form tag are deprecated? It seems to me that a tight coupling between a jsp and it's associated ActionForm makes more sense than coupling the ActionForm with the Action, which is the consequence of the putting the "name" attribute i

Any interest in a tag for URL parameters?

2003-07-01 Thread Christopher Bare
I'm thinking of coding up a new tag for the html tag set called 'parameter' that could be nested inside the tag. Usage of this tag would be like these examples: This would give you the ability to append an arbitrary number of parameters to a URL while remaining purely tag based. Al

RE: why are name and type deprecated? [was: choosing ActionForm dynamically]

2003-06-27 Thread Christopher Bare
do it, or is this approach just discouraged in general? Thanks, -Chris > -Original Message- > From: Christopher Bare [mailto:[EMAIL PROTECTED] > Sent: June 26, 2003 4:50 PM > To: [EMAIL PROTECTED] > Subject: choosing ActionForm dynamically > > > I'm a fairl

choosing ActionForm dynamically

2003-06-26 Thread Christopher Bare
I'm a fairly new Struts user, struggling to get up that first hump on the learning curve, so sorry if this is a clueless question: I have a family of subclasses descended from a common base class. Because they are all similar, I wrote one DisplayAction to look up and display any of the subclasses.