private void renderDBfillers() { descriptionEditor.clear(); richTextEditor = new RichTextEditor(); richTextEditor.setHeight(200); richTextEditor.setWidth("600px"); richTextEditor.setBorder("1px solid green"); richTextEditor.setZIndex(0); // richTextEditor.setOverflow(Overflow.HIDDEN); richTextEditor.setCanDragResize(true); // richTextEditor.setZIndex(-99900); // richTextEditor.setShowEdges(true); // Standard control group options include // "fontControls", "formatControls", "styleControls" and "colorControls" // richTextEditor.setControlGroups(new String[]{"fontControls", "styleControls"}); richTextEditor.setValue(dto.getDesctiption()); descriptionEditor.add(richTextEditor); // layout.addMember(); elasticDBfields.clear(); _db_.setDesc("Метаданные исследования"); mv = new MultiValuedField(_db_, null, dto.getFilling(), ""); elasticDBfields.add(mv); }
public AdminResearchEditView(SocioResearchDTO dto, MetaUnitMultivaluedEntityDTO db_entity) { this(); this._db_ = db_entity; this.dto = dto; research_id = dto.getId(); weight_var_ids = dto.getVar_weight_ids(); // weights.setMultipleSelect(true); // int i = 0; // if(dto.getPublications()!=null) // for (String publName:dto.getPublications()) // { // String doi=null,url=null; // if (i < dto.getPublications_dois().size())doi = dto.getPublications_dois().get(i); // if (i < dto.getPublications_urls().size())url = dto.getPublications_urls().get(i); // VerticalPanel panel = new VerticalPanel(); // panel.add(new Label(publName)); // panel.add(new Label(doi)); // panel.add(new Label(url)); // // flexPubl_tbl.setWidget(i, 0, panel); // i++; // } renderDBfillers(); }