johnson
Hey... I remember seeing that extra space on some of my CForm
work a while back, and never being able to track it down... was
more annoying than critical but I'm glad to hear it was not just
my problem - hopefully will be fixed in 2.2?
Derek
>>> [EMAIL PROTECTED] 2005/04/09 02:40:54 AM >>>
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" <[EMAIL PROTECTED]>
To: "Patrick Verboom" <[email protected]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]