You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/04/09 02:56:05 UTC

DO NOT REPLY [Bug 34381] New: - dynamic selection list 'selected' tag never appear

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34381>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34381

           Summary: dynamic selection list 'selected' tag never appear
           Product: Cocoon 2
           Version: 2.1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: johnson@soho.club.tw


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.