You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Roland McIntosh (JIRA)" <ji...@apache.org> on 2011/06/21 20:35:48 UTC

[jira] [Created] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
--------------------------------------------------------------------------------

                 Key: WW-3652
                 URL: https://issues.apache.org/jira/browse/WW-3652
             Project: Struts 2
          Issue Type: Task
          Components: Documentation
    Affects Versions: 2.2.3, 2.2.1.1, 2.1.8.1
            Reporter: Roland McIntosh
            Priority: Trivial


The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
http://struts.apache.org/2.2.3/docs/redirect-action-result.html

Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").

The "Parameters" section might be amended with:
* parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
* anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.

An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.

Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

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

        

[jira] [Updated] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Posted by "JB (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

JB updated WW-3652:
-------------------

    Attachment: org.apache.struts2.dispatcher.ServletRedirectResult.patch
                org.apache.struts2.dispatcher.ServletActionRedirectResult.patch

Patch files contain additions and edits to Javadoc for documentation.
                
> Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
> --------------------------------------------------------------------------------
>
>                 Key: WW-3652
>                 URL: https://issues.apache.org/jira/browse/WW-3652
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.1.8.1, 2.2.1.1, 2.2.3
>            Reporter: Roland McIntosh
>            Priority: Trivial
>         Attachments: org.apache.struts2.dispatcher.ServletActionRedirectResult.patch, org.apache.struts2.dispatcher.ServletRedirectResult.patch
>
>
> The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
> http://struts.apache.org/2.2.3/docs/redirect-action-result.html
> Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").
> The "Parameters" section might be amended with:
> * parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
> * anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.
> An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.
> Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

--
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] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Posted by "JB (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053405#comment-13053405 ] 

JB commented on WW-3652:
------------------------

Began reading docs associated with issue; Updated source-code for creating patch.

> Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
> --------------------------------------------------------------------------------
>
>                 Key: WW-3652
>                 URL: https://issues.apache.org/jira/browse/WW-3652
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.1.8.1, 2.2.1.1, 2.2.3
>            Reporter: Roland McIntosh
>            Priority: Trivial
>
> The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
> http://struts.apache.org/2.2.3/docs/redirect-action-result.html
> Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").
> The "Parameters" section might be amended with:
> * parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
> * anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.
> An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.
> Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

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

        

[jira] [Resolved] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Posted by "Maurizio Cucchiara (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maurizio Cucchiara resolved WW-3652.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Maurizio Cucchiara

Patch applied thank you guys.
                
> Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
> --------------------------------------------------------------------------------
>
>                 Key: WW-3652
>                 URL: https://issues.apache.org/jira/browse/WW-3652
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.1.8.1, 2.2.1.1, 2.2.3
>            Reporter: Roland McIntosh
>            Assignee: Maurizio Cucchiara
>            Priority: Trivial
>             Fix For: 2.3
>
>         Attachments: org.apache.struts2.dispatcher.ServletActionRedirectResult.patch, org.apache.struts2.dispatcher.ServletRedirectResult.patch
>
>
> The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
> http://struts.apache.org/2.2.3/docs/redirect-action-result.html
> Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").
> The "Parameters" section might be amended with:
> * parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
> * anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.
> An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.
> Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

--
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] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Posted by "JB (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053406#comment-13053406 ] 

JB commented on WW-3652:
------------------------

Began reading docs associated with issue; Updated source-code for creating patch. -- @jeffblack360

> Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
> --------------------------------------------------------------------------------
>
>                 Key: WW-3652
>                 URL: https://issues.apache.org/jira/browse/WW-3652
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.1.8.1, 2.2.1.1, 2.2.3
>            Reporter: Roland McIntosh
>            Priority: Trivial
>
> The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
> http://struts.apache.org/2.2.3/docs/redirect-action-result.html
> Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").
> The "Parameters" section might be amended with:
> * parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
> * anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.
> An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.
> Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

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

        

[jira] [Commented] (WW-3652) Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135559#comment-13135559 ] 

Hudson commented on WW-3652:
----------------------------

Integrated in Struts2 #365 (See [https://builds.apache.org/job/Struts2/365/])
    WW-3652 - Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs (patch submitted by Jeff Black)

mcucchiara : 
Files : 
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java

                
> Add example for "anchor" (aka "hash" or "fragment") to RedirectActionResult docs
> --------------------------------------------------------------------------------
>
>                 Key: WW-3652
>                 URL: https://issues.apache.org/jira/browse/WW-3652
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 2.1.8.1, 2.2.1.1, 2.2.3
>            Reporter: Roland McIntosh
>            Assignee: Maurizio Cucchiara
>            Priority: Trivial
>             Fix For: 2.3
>
>         Attachments: org.apache.struts2.dispatcher.ServletActionRedirectResult.patch, org.apache.struts2.dispatcher.ServletRedirectResult.patch
>
>
> The documentation for the Redirect Action Result fails to mention that an "anchor" parameter is possible.  Here is the doc:
> http://struts.apache.org/2.2.3/docs/redirect-action-result.html
> Additionally, the is one more parameters technically supported by Redirect Action Result inherited from ServletRedirectResult: "parse" ( "location" is also inherited, but hidden by "actionName").
> The "Parameters" section might be amended with:
> * parse - boolean, true by default.  If set to false, the actionName param will not be parsed for Ognl expressions
> * anchor - optional.  Also known as "fragment" or colloquially as "hash."  You can specify an anchor for a result.
> An example of usage should be added to the wiki / javadocs for the anchor param, perhaps to the existing example "gatherReportInfo" action.
> Lastly, since "anchor" is also used to refer to the <a> tag, I recommend that the documentation also include the more common terms "fragment" and "hash" as given above.  This will enable folks searching for this functionality to find it quicker.

--
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