Guide
  • Introduction
  • Intro
    • Introduction
  • Beginner
    • How to send a param to another page
    • How to fill a select/combobox, radiolist, checkboxlist
    • How to order a list by a columm (java)
    • How to change the first page(home) of an application
  • Intermediate
    • How to make a filter/search with QueryInterface
    • How to hide a table context button?
    • How to show a file in a table
    • How to consume a JSON... GET and POST
    • How to make a SoapRequest
    • How to fill SeparatorList or FormList
    • How to map an entity to table using hibernate??
  • Advanced
    • OUT OF SERVICE - How to use a switch in a table - UI designer
    • How to implement a process BPMN in IGRP Studio
Powered by GitBook
On this page
  1. Intermediate

How to show a file in a table

#file #foto #table

PreviousHow to hide a table context button?NextHow to consume a JSON... GET and POST

Last updated 6 years ago

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()));
});

The table will look like this.