cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: dynamci selection list in cform problem
Date Mon, 11 Apr 2005 06:34:19 GMT
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

>>> johnson@soho.club.tw 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" <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 


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


Mime
View raw message