You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/10/28 21:28:19 UTC

[jira] Created: (PIVOT-661) Standardize on use of leading slash character for resource paths

Standardize on use of leading slash character for resource paths
----------------------------------------------------------------

                 Key: PIVOT-661
                 URL: https://issues.apache.org/jira/browse/PIVOT-661
             Project: Pivot
          Issue Type: Improvement
            Reporter: Greg Brown
            Priority: Minor
             Fix For: 2.0


For example, rather than specifying a resource with an absolute path as follows:

<ImageView image="com/foo/bar.png"/>

it will be done like this:

<ImageView image="/com/foo/bar.png"/>

The leading slash makes it clear that this value is an absolute path that is relative to the current classpath.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-661) Standardize on use of leading slash character for resource paths

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

Greg Brown resolved PIVOT-661.
------------------------------

    Resolution: Fixed

> Standardize on use of leading slash character for resource paths
> ----------------------------------------------------------------
>
>                 Key: PIVOT-661
>                 URL: https://issues.apache.org/jira/browse/PIVOT-661
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Greg Brown
>            Priority: Minor
>             Fix For: 2.0
>
>
> For example, rather than specifying a resource with an absolute path as follows:
> <ImageView image="com/foo/bar.png"/>
> it will be done like this:
> <ImageView image="/com/foo/bar.png"/>
> The leading slash makes it clear that this value is an absolute path that is relative to the current classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.