DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16320>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16320 Anchor parameter for <html:form> [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-02-10 13:34 ------- Even if the anchor were pasted back into the action URI, it wouldn't buy you anything. A form written with the html form tag does not submit directly to another page, and the anchor would be lost. The express purpose of the html:form tag is to expose the ActionMapping element. The ActionMapping can forward to another page, but it is a static forward. To make use of the anchor, you need to get some type of Struts Action class involved. Once you have the Action class involved, parsing an anchor from the URI would be a serious pain. Struts expects that something like an anchor to come in as a ActionForm property. So there would be an anchor property on your ActionForm, and a hidden anchor field on the instant form. The Action can then create the ActionForward using the form property, using something like: return new ActionForward( mapping.findforward("success") + "#" + myForm.getAnchor )); If you really need anchor functionality in the tag, then this tag would be outside the scope of the Struts framework. Nothing wrong with that. Many applications have many behaviors that are outside the scope of Struts. The beauty of this platform is that you can always create your own form submit tag that does what *you* want to do in *your* application. If you would like to discuss this further, the user list would be a better venue. -Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]