Friends,
I need to add a specific document type in my custom table. I believe that added "Custom View" I can put a filter and it would solve.
Could you help me? My table is with the following code:
@Override
public ComponentConfig buildComponentConfig(ComponentParams componentParams)
throws WTException {
ComponentConfigFactory factory = getComponentConfigFactory();
TableConfig table = factory.newTableConfig();
table.setLabel("Lista dos Fornecedores");
table.setView("/../../netmarkets/jsp/t3827/tableFornecedor.jsp");
table.setType("wt.pdmlink.PDMLinkProduct");
table.setSelectable(true);
table.setShowCustomViewLink(false);
table.setShowCount(true);
table.setSingleSelect(false);
table.addComponent(factory.newColumnConfig("number", true));
table.addComponent(factory.newColumnConfig("name", true));
table.setMenubarName ("forntablemenubar");
return table;
Thank you.
Felipe.