> we are now trying to insert some filters in our webapp.
> However, we have still some problems.
> We have tried the following tag :
> <db:filter>
>     <db:filterCondition label="prova filtro">
>         AGE = ?
>         <db:filterValue type="numeric"/>
>         </db:filterCondition>
> </db:filter>   
> 
> where "AGE" is a numeric field.
> It has worked, but if we press the "unset" button only the 
> last table row is displayed.
> Is this the expected behaviour ?
Yes it is. The current row is'nt changed. You can use navigation buttons to
move to another record.
If you do not like we should dicuss to change this an show always teh first
record.
 

> 
> However, the real problem is that we were unable to use filters with
> varchar2 type fields.
> For instance, the following tag:
> <db:filter>
>     <db:filterCondition label="prova filtro">
>         NAME = ?
>         <db:filterValue type="select">
>                 <db:queryData name="q1" query="select 
> distinct CONTENT_VIEW_1.NAME as n1,  CONTENT_VIEW_1.NAME as 
> n2 from CONTENT_VIEW_1"/>
>                </db:filterValue>
>         </db:filterCondition>
> </db:filter>   


Just tested with the bookstore example and get the expected record. Maybe
it's the same problem as above and you need some navigation buttons?

Cheers,
Henner



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to