forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FOR-829) The text which renders to project.png and group.png still originates in skinconf.xml
Date Sun, 08 Apr 2007 19:34:32 GMT

     [ https://issues.apache.org/jira/browse/FOR-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thorsten Scherler resolved FOR-829.
-----------------------------------

    Resolution: Fixed

You can now define the name from your forrest.properties.xml like:
<!--SVG example for project/group logo-->
  <property name="group-name" value="group"/>
  <property name="project-name" value="project"/>

This properties are then in the virtual skinconf (with a lot others) and can be used like
in the project.svg (<for:project-name/>)

The dispatcher overrides the core project-to-text.xsl like:

<xsl:template match="for:*">
    <xsl:variable name="ln" select="local-name()"/>
    <xsl:value-of select="//*[@name = $ln]/@value"/>
  </xsl:template>



> The text which renders to project.png and group.png still originates in skinconf.xml
> ------------------------------------------------------------------------------------
>
>                 Key: FOR-829
>                 URL: https://issues.apache.org/jira/browse/FOR-829
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: paul bolger
>            Priority: Minor
>
> This seems pretty trivial, but it has the potential to confuse users about the distinction
between skins and Dispatcher. 

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