Files
Babydatenbank/xava/controllers.xml

77 lines
2.3 KiB
XML

<?xml version = "1.0" encoding = "ISO-8859-1"?>
<!DOCTYPE controllers SYSTEM "dtds/controllers.dtd">
<controllers>
<!-- Environment variable:
<env-var name="Babydatenbank_DEFAULT_YEAR" value="2015"/>
-->
<!-- Session object:
<object name="Babydatenbank_activeYear" class="java.lang.Integer" value="2015"
scope="global"/>
-->
<!-- Controller:
<controller name="Teacher">
<extends controller="Typical"/>
<action name="new" icon="library-plus" keystroke="Control N"
class="actions.CreateTeacher">
</action>
</controller>
-->
<controller name="CRUD">
<action name="new"
class="org.openxava.actions.NewAction"
image="new.gif"
icon="library-plus"
keystroke="Control N"
loses-changed-data="true">
<set property="restoreModel" value="true"/>
</action>
<action
name="save" mode="detail"
class="com.yourcompany.babydatenbank.actions.SaveAndShowListAction"
by-default="if-possible"
image="save.gif"
icon="content-save"
keystroke="Control S"/>
<action name="refresh" mode="detail"
class="org.openxava.actions.SearchAction"
image="refresh.gif"
icon="refresh"
keystroke="control B"/>
<action name="delete" mode="detail" confirm="true"
class="org.openxava.actions.DeleteAction"
image="delete.gif"
icon="delete"
available-on-new="false"
keystroke="Control D"/>
<action name="searchByViewKey" hidden="true"
class="org.openxava.actions.SearchByViewKeyAction"/>
<action name="searchExecutingOnChange" hidden="true"
class="org.openxava.actions.SearchExecutingOnChangeAction"/>
<action name="searchReadOnly" hidden="true"
class="org.openxava.actions.SearchReadOnlyAction"/>
<action name="deleteSelected" mode="list" confirm="true"
process-selected-items="true"
image="delete.gif"
icon="delete"
class="org.openxava.actions.DeleteSelectedAction"
keystroke="Control D"/>
<action name="deleteRow" mode="NONE" confirm="true"
class="org.openxava.actions.DeleteSelectedAction"
image="delete.gif"
icon="delete"
in-each-row="true"/>
</controller>
</controllers>