Hello
When i add button on EntityCombinedScreen , i can’t edit entity on this page
How can i solve this task?
Any solitions, why this not work.
Version 6.9.2
Platform v.6.9.3
Hi
could you please share the XML file of the screen with us?
Yes, of cource
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
caption="msg://tracker"
class="com.company.scrumit.web.tracker.Trackerlist"
messagesPack="com.company.scrumit.web.tracker">
<dsContext>
<datasource id="trackerDs"
class="com.company.scrumit.entity.Tracker"
view="tracker-view"/>
<hierarchicalDatasource id="trackersDs"
class="com.company.scrumit.entity.Tracker"
hierarchyProperty="tracker"
view="tracker-tree">
<query>
<![CDATA[select e from scrumit$Tracker e]]>
</query>
</hierarchicalDatasource>
</dsContext>
<actions>
<action id="save"
caption="mainMsg://actions.Ok"
icon="icons/ok.png"
invoke="save"
shortcut="CTRL-ENTER"/>
<action id="cancel"
caption="mainMsg://actions.Cancel"
description="Esc"
icon="icons/cancel.png"
invoke="cancel"/>
</actions>
<dialogMode height="600"
width="800"/>
<layout>
<split height="100%"
orientation="horizontal"
reversePosition="true"
width="100%">
<vbox id="lookupBox"
expand="table"
height="100%"
margin="false,true,false,false"
spacing="true">
<filter id="filter"
applyTo="table"
datasource="trackersDs">
<properties include=".*"/>
</filter>
<treeTable id="table"
multiselect="true"
width="100%">
<actions>
<action id="create"/>
<action id="edit"/>
<action id="remove"/>
<action id="refresh"/>
<action id="upload"/>
</actions>
<columns>
<column id="shortdesc"/>
<column id="type"/>
<column id="description"/>
</columns>
<rows datasource="trackersDs"/>
<rowsCount/>
<buttonsPanel id="buttonsPanel"
alwaysVisible="true">
<button id="createBtn"
action="table.create"/>
<button id="editBtn"
action="table.edit"/>
<button id="removeBtn"
action="table.remove"/>
<button id="refreshBtn"
action="table.refresh"/>
</buttonsPanel>
</treeTable>
</vbox>
<vbox id="editBox"
expand="description"
height="100%"
margin="false,false,false,true"
spacing="true">
<fieldGroup id="fieldGroup"
datasource="trackerDs">
<column width="300px">
<field caption="mainMsg://Parent"
property="task"/>
<field property="shortdesc"/>
<field property="type"/>
</column>
</fieldGroup>
<upload id="uploadField"/>
<richTextArea id="description"
datasource="trackerDs"
property="description"
width="100%"/>
<scrollBox/>
<hbox id="actionsPane"
spacing="true"
visible="false">
<button id="saveBtn"
action="save"/>
<button id="cancelBtn"
action="cancel"/>
</hbox>
</vbox>
</split>
</layout>
</window>
It seems, that you have unused scroll box component on your screen. Please, check that you really need it, because it may cause your issue.