myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Glensk (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOBAGO-625) Misleading documentation to reference images or style files in TLD for tc:image and tc:style
Date Wed, 27 Feb 2008 09:27:51 GMT
Misleading documentation to reference images or style files in TLD for tc:image and tc:style
--------------------------------------------------------------------------------------------

                 Key: TOBAGO-625
                 URL: https://issues.apache.org/jira/browse/TOBAGO-625
             Project: MyFaces Tobago
          Issue Type: Task
          Components: Core
    Affects Versions: 1.0.15
            Reporter: Tobias Glensk
            Priority: Minor


The documentation for the attribute value in tc:image says: "Absolute url to an image or image
name to lookup in tobago resource path". As far I know an absolute paths begin with a "/"
(slash), but if I am using the slash the image is not found.

For example, I have an image in the folder <webapp-root>/image/myimage.jpg. If I am
referencing the file like this <tc:image value="/image/myimage.jpg"/>  the image is
not found. After I changed it to <tc:image value="image/myimage.jpg"/> it works.

The same behavior can be observed for the attribute style in <tc:style>.

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


Mime
View raw message