Hi!
You can do it in two way:
1) In designtime: doubleclick on RowSet (usually it is placed in SessionBean1, expand it's node in Outline window and find RowSet) and then add parameter in Query Editor.
2) In runtime:
yourRowSet().setObject(int index, Object value);
yourDataProvider().refresh();
, where yourDataProvider is data provider for dropdown, which is bound to yourRowSet, index is parameter's number (if there are more than one parameter), value is parameter's value.
Thanks,
Roman.
Hi,
Yes, I added it in desingtime.
If I use table component from basic section to show data it works fine. But I need to use datatable from standard section, because I put gridpanel to column and so on to get defined layout.
From server log I get "java.sql.SQLException: Statement parameter 1 not set"