Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Greetings!
I'm using the community Edition for Joget. I'd like to know what would be the correct way to do a Dynamic cascading drop-down list, but using the Bean Shell Form Binder.
I've try to do so, but I'm not sure I'm using the query in a good way.
For example if I have my query like: "SELECT id, description, cod_materia FROM matriz.mat_motivo_tbl"
I believe the id will be the value, the description the label and the cod_materia de grouping column, also I'm using the option for "Field ID to control available options based on Grouping". But I doesn't seem to group as it's supposed to.
3 Comments
Victor Zambrano
After trying, I realized I wasn't using the Grouping property, the code will go like:
Miklos Daru
Dear Victor,
Don't forget close the connection before return f;
rs.close();
stmt.close();
con.close();
Victor Zambrano
Hi Miklos,
You are right, thanks.. I just added that code above