cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1491) dynamic selection list 'selected' tag never appear
Date Wed, 11 Oct 2006 04:40:22 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1491?page=all ]

Antonio Gallardo updated COCOON-1491:
-------------------------------------


This issue suggests the form styling should automatically trim the generated value. On the
other side, few weeks ago was a request to left the trailing empty spaces in the field values.
I think the user has the responsability to provide the correct formatted data to cforms styling.
WDYT?



> dynamic selection list 'selected' tag never appear
> --------------------------------------------------
>
>                 Key: COCOON-1491
>                 URL: http://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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message