How to show a file in a table

#file #foto #table

Write the code below

In the reserved area on the controller.java
model.loadTable_1(Core.query("conn_gestao_veiculo","SELECT  foto_fk as foto_1,name as nome_1,email as email_1 ").from("persons"));
model.getTable_1().stream().forEach(t->{
    t.setFoto_1(Core.getLinkFile(t.getFoto_1()));
});

Last updated