FernandoPaiva FernandoPaiva - 1 year ago 159
Java Question

JPAContainer filter like?

I'm trying make a "search by name" using JPAContainer Filter. Using Compare I still didn't have success. The comparison doesn't work, for example if I enter name: fernando, the filter doesn't work.

I'm trying this.

TextField searchByName = new TextField();
searchByName.setInputPrompt("Search by name");
searchByName.addBlurListener(new BlurListener() {
public void blur(BlurEvent event) {

/** filter by name */
private void nameFilter(){
Filter filter = new Compare.Equal("name", searchByName.getValue());

There's some way search with LIKE ???

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download