D2W newbie question
"Pierre Gilquin" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I try a simple thing with D2W and doesnot seem to work :
On a query page of my entity, I had a simple query on the name (String) using D2WQueryStringOperator but this is not taken into
account.
The select generated by EOF has no clause and the whole table is retrived.
Am I doing something wrong ?
Thanks for you help.
Pierre
The rule :
{
"class" = "com.webobjects.directtoweb.Rule";
"author" = "100";
"rhs" = {
"class" = "com.webobjects.directtoweb.Assignment";
"value" = "Nom Local";
"keyPath" = "displayNameForProperty";
};
"lhs" = {
"class" = "com.webobjects.eocontrol.EOAndQualifier";
"qualifiers" = (
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "query";
"selectorName" = "isEqualTo";
"key" = "task";
},
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "SubstanceActive";
"selectorName" = "isEqualTo";
"key" = "entity.name";
},
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "nomLocal";
"selectorName" = "isEqualTo";
"key" = "propertyKey";
}
);
};
}