@Execute
    public HtmlResponse details(final String dictId, final int crudMode, final long id) {
        verifyCrudMode(crudMode, CrudMode.DETAILS, dictId);
        saveToken();
        return asDetailsHtml().useForm(
                EditForm.class,
                op -> {
                    op.setup(form -> {
                        synonymService
                                .getSynonymItem(dictId, id)
                                .ifPresent(entity -> {
                                    form.inputs = entity.getInputsValue();
                                    form.outputs = entity.getOutputsValue();
                                })
                                .orElse(() -> {
                                    throwValidationError(
                                            messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, dictId + ":" + id),
                                            () -> asListHtml(dictId));
                                });
                        form.id = id;
                        form.crudMode = crudMode;
                        form.dictId = dictId;
                    });
                });
    }
@ Execute public HtmlResponse details ( final String dictId , final int crudMode , final long id ) { verifyCrudMode ( crudMode , CrudMode . DETAILS , dictId ) ; saveToken ( ) ; return asDetailsHtml ( ) . useForm ( EditForm . class , op -> { op . setup ( form -> { synonymService . getSynonymItem ( dictId , id ) . ifPresent ( entity -> { form . inputs = entity . getInputsValue ( ) ; form . outputs = entity . getOutputsValue ( ) ; } ) . orElse ( ( ) -> { throwValidationError ( messages -> messages . addErrorsCrudCouldNotFindCrudTable ( GLOBAL , dictId + ":" + id ) , ( ) -> asListHtml ( dictId ) ) ; } ) ; form . id = id ; form . crudMode = crudMode ; form . dictId = dictId ; } ) ; } ) ; }
-------