[html-formfu] lost equal sign

Gabor HALASZ halasz.g at freemail.hu
Fri Oct 29 11:16:47 GMT 2010


Hi!

I created the next config:

...
<model_config>
   model                   System::User
   id_column               id
   label_column            login
   <condition>
     <id>
       >       1
     </id>
     <dead>
       =       0
     </dead>
   </condition>
</model_config>
...

but I got an sql error:

WHERE ( ( dead  ? AND id > ? ) )" with ParamValues: 0="0", 1="1"

Tried with varius strings instead of equal (==, !=, '=', \=, blah, ...), 
I got back everything in the query except the =. Finally, I discovered, 
if the identifier contains a space, the equal works again:
<dead >= 0</dead > creates dead = 0 query
<dead =>0</dead => creates dead = 0 IS NULL query
<dead =>= 0</dead> creates dead = = 0 query, etc...

What about this? This is a formfu's or other component's problem?

Thanks




More information about the HTML-FormFu mailing list