struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <hum...@ix.netcom.com>
Subject RE: smart forwarding: page 253 <html:sbumit name="abc"> - doesn't work
Date Fri, 02 Apr 2004 04:54:42 GMT
In the author's online section of www.manning.com/husted, you can search on
"submit name=" and it is pointed out as a book error. Plus, you should use
the standard html:submit "property" attribute instead of the mistyped "name"
attribute.  The direct link to the article in the manning website is:

http://www.manning-sandbox.com/thread.jspa?forumID=55&threadID=321&messageID
=573#573

(And YES, my copy of the book has the typo as well)

Regards,
David

-----Original Message-----
From: walkrustin [mailto:walkrustin@yahoo.com]
Sent: Thursday, April 01, 2004 5:20 PM
To: struts-user@jakarta.apache.org
Subject: smart forwarding: page 253 <html:sbumit name="abc"> - doesn't
work


Ted wrote that FindForwardAction could be used in the following
manner.

<html:sbumit name="SAVE">SAVE</html:sbumit>
<html:sbumit name="DELETE">DELETE</html:sbumit>

<action name="articleForm" path="/do/article/submit"
         type="org.apache.scaffold.FindForwardActoin">

   <forward name="save" path="/do/article/save" />
   <forward name="delete" path="/do/article/delete" />

My question is:
<html:submit> tag doesn't have any attribute named "name". Am I
missing here something?

thanks.
- Walk rustin



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message