申請是針對特定使用者或角色定義的 Cúram 當事人的特定視圖,請參照簡介。它是使用副檔名為 .app 的 XML 配置檔所定義。.app 檔案位於 EJBServer\components\<component-name>\clientapps 目錄中,其中 <component-name> 是自訂元件。定義申請詳述包含單一區段的極簡式申請(將在稍後說明)。
<?xml version="1.0" encoding="ISO-8859-1"?> id="SimpleApp" logo="SimpleApp.logo" title="SimpleApp.title" subtitle="SimpleApp.subtitle" user-message="SimpleApp.UserMessage"> <ac:application-menu> <ac:preferences title="preferences.title"/> <ac:help title="help.title"/> <ac:logout title="logout.title"/> </ac:application-menu> <ac:section-ref id="SimpleAppHomeSection"/> </ac:application>
SimpleApp.app 應該有對應的 SimpleApp.properties 檔案,其詳述申請的可本地化內容。例如:
SimpleApp.logo=CDEJ/themes/v6/images/application-logo.png SimpleApp.title=C\u00FAram SimpleApp.subtitle=Simple Application SimpleApp.UserMessage=Welcome, %user-full-name preferences.title=User Preference help.title=Help logout.title=Logout
SimpleApp.app 已在申請的申請橫幅中配置下列元素: