ValueBinding ?

I'm trying to set binding of a column in an existing table,

the columns are generated correctly but the binding value not,

if I look at the browser souce the table row values are here, but without value.

I have no error.

I do not understand what is wrong (maybe the binding value)?

My code (where detailValues is an Objetc[][]:

...

FacesContext ctx = FacesContext.getCurrentInstance ();

Application app = ctx.getApplication ();

TableColumn tc =new TableColumn ();

tc.setAlign ("right" );

tc.setHeaderText ( colTxt );

ValueBinding vb = app.createValueBinding ("#{detailsValues[TariffsPage.myDataProvider.cursorRow.rowId][" + colNbr +"]}");

StaticText st =new StaticText ();

st.setValueBinding ("Text", vb);

tc.getChildren ().add (st);

...

Thanks fo help.

Franco

[1061 byte] By [fbiaggi] at [2007-11-25 22:34:44]
# 1
FYI,the statement:st.setValueBinding ( "Text", vb);must be coded:st.setValueBinding ( "text", vb);
fbiaggi at 2007-7-5 2:52:47 > top of Java-index,Development Tools,Java Tools...