[jira] Created: (OFBIZ-48) Allow header-link to process "javascript:" links.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-48) Allow header-link to process "javascript:" links.

Nicolas Malin (Jira)
Allow header-link to process "javascript:" links.
-------------------------------------------------

         Key: OFBIZ-48
         URL: http://issues.apache.org/jira/browse/OFBIZ-48
     Project: The Open For Business Project
        Type: Improvement

  Components: framework  
    Versions: SVN trunk    
    Reporter: Al Byers
 Attachments: HtmlFormRenderer.patch

HtmlFormRender.renderHyperlinkTitle does not currently support any target type other than "intra-app".
I believe that it will be useful to handle javascripts from these header links. Often they will be used to reorder.
If there are search parameters involved, they will be in an associated form and a javascript will be the best way to send  those to the server.

patch attached, I hope.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-48) Allow header-link to process "javascript:" links.

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-48?page=all ]

Al Byers updated OFBIZ-48:
--------------------------

    Attachment: HtmlFormRenderer.patch

> Allow header-link to process "javascript:" links.
> -------------------------------------------------
>
>          Key: OFBIZ-48
>          URL: http://issues.apache.org/jira/browse/OFBIZ-48
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: framework
>     Versions: SVN trunk
>     Reporter: Al Byers
>  Attachments: HtmlFormRenderer.patch
>
> HtmlFormRender.renderHyperlinkTitle does not currently support any target type other than "intra-app".
> I believe that it will be useful to handle javascripts from these header links. Often they will be used to reorder.
> If there are search parameters involved, they will be in an associated form and a javascript will be the best way to send  those to the server.
> patch attached, I hope.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-48) Allow header-link to process "javascript:" links.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-48?page=all ]
     
David E. Jones closed OFBIZ-48:
-------------------------------

    Fix Version: SVN trunk
     Resolution: Fixed
      Assign To: David E. Jones

This looks good for now. It might be nice in the future to introduce a header link type so this can be specified explicitly, but for now it's fine.

The patch is in SVN rev 7871.

> Allow header-link to process "javascript:" links.
> -------------------------------------------------
>
>          Key: OFBIZ-48
>          URL: http://issues.apache.org/jira/browse/OFBIZ-48
>      Project: The Open For Business Project
>         Type: Improvement

>   Components: framework
>     Versions: SVN trunk
>     Reporter: Al Byers
>     Assignee: David E. Jones
>      Fix For: SVN trunk
>  Attachments: HtmlFormRenderer.patch
>
> HtmlFormRender.renderHyperlinkTitle does not currently support any target type other than "intra-app".
> I believe that it will be useful to handle javascripts from these header links. Often they will be used to reorder.
> If there are search parameters involved, they will be in an associated form and a javascript will be the best way to send  those to the server.
> patch attached, I hope.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira