You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carl-Eric Menzel (JIRA)" <ji...@apache.org> on 2012/05/21 18:10:41 UTC

[jira] [Created] (WICKET-4567) Allow a page render to go to an #anchor

Carl-Eric Menzel created WICKET-4567:
----------------------------------------

             Summary: Allow a page render to go to an #anchor
                 Key: WICKET-4567
                 URL: https://issues.apache.org/jira/browse/WICKET-4567
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.0.0-beta1, 1.5.6
            Reporter: Carl-Eric Menzel
            Assignee: Carl-Eric Menzel


Currently, we are not able to send an #anchor as part of the URL to the browser for cases like setResponsePage. Only BookmarkableLink and friends can do that.

I'm going to investigate whether we can have something like "setResponseAnchor" or so that would cause a redirect to an URL with that anchor. Probably this would only work with the redirect render strategies, but I don't think that's a problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4567) Allow a page render to go to an #anchor

Posted by "Carl-Eric Menzel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280562#comment-13280562 ] 

Carl-Eric Menzel commented on WICKET-4567:
------------------------------------------

mylyn context
                
> Allow a page render to go to an #anchor
> ---------------------------------------
>
>                 Key: WICKET-4567
>                 URL: https://issues.apache.org/jira/browse/WICKET-4567
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.6, 6.0.0-beta1
>            Reporter: Carl-Eric Menzel
>            Assignee: Carl-Eric Menzel
>         Attachments: mylyn-context.zip
>
>
> Currently, we are not able to send an #anchor as part of the URL to the browser for cases like setResponsePage. Only BookmarkableLink and friends can do that.
> I'm going to investigate whether we can have something like "setResponseAnchor" or so that would cause a redirect to an URL with that anchor. Probably this would only work with the redirect render strategies, but I don't think that's a problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4567) Allow a page render to go to an #anchor

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280772#comment-13280772 ] 

Martin Grigorov commented on WICKET-4567:
-----------------------------------------

I'm not sure whether this will work when there is a REDIRECT_TO_XYZ strategy in use.
The reason is that the redirect url will contain the anchor (fragment) but there is no way to read the fragment from the request url after the redirect. And maybe WebPageRenderer wont be able to handle this ...
You have to try and see.
                
> Allow a page render to go to an #anchor
> ---------------------------------------
>
>                 Key: WICKET-4567
>                 URL: https://issues.apache.org/jira/browse/WICKET-4567
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.6, 6.0.0-beta1
>            Reporter: Carl-Eric Menzel
>            Assignee: Carl-Eric Menzel
>         Attachments: mylyn-context.zip
>
>
> Currently, we are not able to send an #anchor as part of the URL to the browser for cases like setResponsePage. Only BookmarkableLink and friends can do that.
> I'm going to investigate whether we can have something like "setResponseAnchor" or so that would cause a redirect to an URL with that anchor. Probably this would only work with the redirect render strategies, but I don't think that's a problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4567) Allow a page render to go to an #anchor

Posted by "Carl-Eric Menzel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl-Eric Menzel updated WICKET-4567:
-------------------------------------

    Attachment: mylyn-context.zip
    
> Allow a page render to go to an #anchor
> ---------------------------------------
>
>                 Key: WICKET-4567
>                 URL: https://issues.apache.org/jira/browse/WICKET-4567
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.6, 6.0.0-beta1
>            Reporter: Carl-Eric Menzel
>            Assignee: Carl-Eric Menzel
>         Attachments: mylyn-context.zip
>
>
> Currently, we are not able to send an #anchor as part of the URL to the browser for cases like setResponsePage. Only BookmarkableLink and friends can do that.
> I'm going to investigate whether we can have something like "setResponseAnchor" or so that would cause a redirect to an URL with that anchor. Probably this would only work with the redirect render strategies, but I don't think that's a problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira