Joe -

I agree that html:form is being too aggressive in its requirement of a form
bean.  I believe there is already an open BugZilla ticket for this issue:

http://issues.apache.org/bugzilla/show_bug.cgi?id=24356

Your reasoning is a little different than the reasoning in the ticket, so it
might be useful to include your email as a comment on the bug.

Matt
----- Original Message ----- 
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 10:32 AM
Subject: why are form beans required for html:form?


> I'm working with an old Struts application recently ported to a
> Struts 1.2 nightly.  One land mine that keeps popping up is that
> pages using the <html:form> JSP tag which used to work now no longer
> do.  I have one specific case where a developer chose not to
> implement an ActionForm class (probably because the app also
> pre-dated DynaForms and/or he was being lazy) so now the JSP throws
> an exception when it comes to the html:form tag and can't find a form
> bean associated with the destination action.
>
> Now, I'm all for encouraging people to use Struts the way it was
> designed to be used, but in this case, the form has no HTML fields
> which are pre-filled from a form bean, so it seems pushy of the
> html:form tag to insist that this is an error condition.
>
> Would it make more sense to have the individual input tags complain
> if they can't find a form bean, and have html:form be more permissive?
>
> Joe
>
> -- 
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
>        "Imagine if every Thursday your shoes exploded if you tied them
> the usual way.  This happens to us all the time with computers, and
> nobody thinks of complaining."
>              -- Jef Raskin
>
> ---------------------------------------------------------------------
> 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