Re: [Chiba-users] Problem with XPath ?
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Martin W. <mwe...@pl...> - 2005-12-01 14:10:41
|
On Thursday 01 December 2005 12:00, Florian Lacoste wrote: > Hi, > I'm currently experiencing some problem. I have to use an application > that generate and displays forms using chiba (core 1.1.1). The xhtml > form page is stocked on the server, and it uses two instances (one to > submit, one with the differents label values) that are stocked as > context objects. > > I'm trying to improve a little this forms but I can only modify the file > xform.xhtml with the basic form. When I add a conditional relevant > attribute in a bind, it doesn't work. In fact if the condition is "this > attribute='this value'", it's always false and if it is "this > attribute!='this value'", it's always true. > > Does someone know where this could come from ? A problem in > interpreting XPath ? Bad definitions in a css ? Some class somewhere > mixing with the default behavior ? I only used chiba-web till now so I > don't really know what to expect. > > Thanks for the help. Let's try to force more knowledgeable people to to step in ;) May be, what is returned by 'this value' is the node, not the value. May be 'this value' is not a string. I would first try to use the number() or string() functions to make sure you are not comparing apples and oranges. 2c, M. |