cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <j...@apache.org>
Subject [jira] Updated: (COCOON-1491) dynamic selection list 'selected' tag never appear
Date Sat, 06 Jan 2007 17:44:27 GMT

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

Jörg Heinicke updated COCOON-1491:
----------------------------------


IMO it depends on what is adding the whitespace. If the original values are correct, it's
somewhere in CForms. In any case the XSLT is not the appropriate place to fix this.

> dynamic selection list 'selected' tag never appear
> --------------------------------------------------
>
>                 Key: COCOON-1491
>                 URL: https://issues.apache.org/jira/browse/COCOON-1491
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.5
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Johnson Hsu
>         Assigned To: Cocoon Developers Team
>
> Hi!
> we found if we use dynamic selection list,the selected tag will never appear.
> we change forms-field-styling.xsl and it work
>           <xsl:if test="normalize-space(@value) = $value">
>             <xsl:attribute name="selected">selected</xsl:attribute>
>           </xsl:if>
> We found the @value from esql or sql transform is ok.but when the selection 
> list refer this,a extra blank append to the @value,so @value never equal 
> $value.
> I think it'a bug when assign the selection list to dynamic.
> Best Regards
> johnson

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

       

Mime
View raw message