[ 
http://www.stripesframework.org/jira/browse/STS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12345#comment-12345
 ] 

Ben Gunter commented on STS-831:
--------------------------------

If I were doing it, I would use use the post-redirect pattern, too, but to each 
his own. The fragment part of the URL in the form tag's action attribute has 
nothing to with a ForwardResolution (or anything else) returned by the 
ActionBean's event handler. All the developer wants, as I understand it, is for 
the form to submit to a URL with a fragment. The desired effect is for the 
browser to submit form data to My.action#foo and have the browser jump to the 
"foo" anchor in the returned document. Currently, that's impossible using only 
Stripes tags.

> Hash anchors (#) in form action breaks binding to ActionBean
> ------------------------------------------------------------
>
>                 Key: STS-831
>                 URL: http://www.stripesframework.org/jira/browse/STS-831
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching, Tag Library
>    Affects Versions: Release 1.5.6
>            Reporter: Carl Krig
>            Priority: Minor
>             Fix For: Release 1.5.7
>
>         Attachments: STS-831.patch
>
>
> Problem:
> <form action="/My.action#my"> gives an ERROR ... tag.FormTag - Could not 
> locate an ActionBean that was bound to the URL [/My.action#my]. Without an 
> ActionBean class Stripes cannot determine whether the ActionBean is a wizard 
> or not. As a result wizard behaviour will be disabled.
> Expected:
> Properly bind to same as "/My.action" would have. More specifically, drop the 
> hash mark and everything that comes after.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to