58 lines
1.6 KiB
XML
58 lines
1.6 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="BabydatenbankDefaultController">
|
|
<extends controller="Typical" excluded-actions="new, save, refresh, delete" />
|
|
|
|
<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"/>
|
|
</controller>
|
|
|
|
</controllers> |