[
http://www.stripesframework.org/jira/browse/STS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12311#comment-12311
]
Clemens Fuchslocher commented on STS-831:
-----------------------------------------
The attached patch [^STS-831.patch] strips off the hash anchor from the action
binding.
On the client-side the hash is accessible via JavaScript:
document.location.hash.
You can apply the patch on a Linux-based system like this:
{noformat}
$ svn co https://stripes.svn.sourceforge.net/svnroot/stripes/tags/1.5.6/
stripes-1.5.6
$ cd stripes-1.5.6/stripes
$ patch -p1 < ~/STS-831.patch
$ mvn clean
$ mvn package
$ ls -1 target/stripes-1.5.6*
target/stripes-1.5.6-javadoc.jar
target/stripes-1.5.6-sources.jar
target/stripes-1.5.6-tlddoc.jar
target/stripes-1.5.6.jar
$ mvn install
{noformat}
Use at own risk.
> 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
> 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
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development