cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson" <john...@soho.club.tw>
Subject Re: dynamci selection list in cform problem
Date Sat, 09 Apr 2005 00:40:54 GMT
Hi!

We got the same problem,and we change the following code in 
forms-field-styling.xsl

          <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.
will fire a bugzilla

Best Regards

johnson


----- Original Message ----- 
From: "Grzegorz Sikora" <szefu18@op.pl>
To: "Patrick Verboom" <users@cocoon.apache.org>
Sent: Saturday, April 09, 2005 12:33 AM
Subject: Re: dynamci selection list in cform problem


> Hello Patrick,
>
> Friday, April 8, 2005, 5:41:07 PM, you wrote:
>
> PV> Am I doing something wrong or is it a BUG? Is there another way of 
> doing
> PV> this?
>
> PV> We are using the cocoon 2.2 dev.
>
> PV> <fd:field id="facility_type">
> PV>             <fd:label>Centre Type:</fd:label>
> PV>             <fd:datatype base="string"/>
> PV>             <fd:selection-list
> PV> src="cocoon:/search_CENTRE.CENTRE_TYPE.xml" dynamic="true"/>
> PV>         </fd:field>
>
> I'm not sure is it the same bug but in 2.1x there's bug with relative
> Cocoon protocol in dynamic selection list. Well, I'm not sure is it really 
> bug
> but I couldn't make cocoon to use relative protocol in those places.
> Try using cocoon:// protocol - it worked in my case.
>
> -- 
> Best regards,
> Grzegorz Sikora
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message