Forget it!!!
I found the problem. I was constructing the valuesEmbque variable with
a Fields Array in the RemessaBean's Constructor.
Thanks any way!!!
Guedes
On 10/20/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> That's what I did. But something is wrong, because the error
> "[ServletExcepti
That's what I did. But something is wrong, because the error
"[ServletException in:/eservices/layout/layout.jsp] null' " appears.
public DataModel getFieldsEmbque() {
if(fieldsEmbqueModel == null) {
fieldsEmbqueModel = new ArrayDataModel(fieldsEmbque);
}
return fieldsEmbqueModel;
Sorry, but I don't understand (I am learning yet). How can I fill the
row data? With an Array?
Thanks,
Guedes
On 10/18/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote:
> try to use an instance of DataModel as the value for either
> valuesEmbque or fieldsEmbque. You can then determine with
> Data
try to use an instance of DataModel as the value for either
valuesEmbque or fieldsEmbque. You can then determine with
DataModel.getRowData() the current value of the List to determine
which value you should return for each cell:
public class RemessaBean
{
private DataModel fieldsEmbqueModel;
p
Thanks for your reply! That's exactly what I needed. But, now I have
another problem. How can I reference an Object's attribute in a
ArrayList? Follow a simple example (very ugly) :
private static final Fields[] fiel
try out the t:columns component which allows you to have NxM tables.
Take a look into the myfaces-examples (opendatatable)
2005/10/18, PATRICIA GUEDES <[EMAIL PROTECTED]>:
> Hi, I´m from Brazil (sorry my bad English) and I need to build a
> table where the columns are dynamics. The columns came f
Hi, I´m from Brazil (sorry my bad English) and I need to build a
table where the columns are dynamics. The columns came from a
ArrayList of "fields" and the lines came from each field's values. How
can I do that?
Ex:
field1 field2 field3 field4 field5 (colunas vêm de um
ArrayList de
7 matches
Mail list logo