Table does not refresh after Dataprovider is refreshed

I have a simple form - one button, one text field and a table.

The table is bound to a dataprovider.

The prerender is working correctly and the table is display the correct results.

However the button action is changing the dataprovider (I have verifed this) but the results are still the same within the table.

The code is similar to the prerender, but this is not changing the data displayed to the user.

Here is the button action.

public String cmdSearch_action(){

String x;

x = this.txtclientName.getText().toString() +"%";

try{

getSessionBean1().getV_assign_clientRowSet().setObject(

1,x);

this.v_assign_clientDataProvider.refresh();

}catch(Exception e){

error(e.getMessage());

}

returnnull;

}

[1161 byte] By [INeedJavaHelp] at [2007-11-26 9:56:57]
# 1

Can you please provide more information like:

* the SQL statement

* the application type, web or portlet

Also, do you see any errors in the server log? You can see this in the raw at,

creator_install/SunAppserver8/domains/creator/logs/server.log.

Thanks!

-David

DavidBotterill at 2007-7-7 1:20:19 > top of Java-index,Development Tools,Java Tools...