svn commit: r481369 - in /incubator/ofbiz/trunk/framework/webtools: config/ webapp/webtools/ webapp/webtools/WEB-INF/ webapp/webtools/entity/ widget/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r481369 - in /incubator/ofbiz/trunk/framework/webtools: config/ webapp/webtools/ webapp/webtools/WEB-INF/ webapp/webtools/entity/ widget/

jacopoc
Author: jacopoc
Date: Fri Dec  1 12:12:35 2006
New Revision: 481369

URL: http://svn.apache.org/viewvc?view=rev&rev=481369
Log:
Completed migration of entity reference screens to widgets.
Many thanks to Marco Risaliti.
OFBIZ-460

Removed:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp
Modified:
    incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.properties
    incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels_it.properties
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl
    incubator/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml

Modified: incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.properties?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.properties (original)
+++ incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.properties Fri Dec  1 12:12:35 2006
@@ -41,6 +41,7 @@
 WebtoolsAction=Action
 WebtoolsActions=Actions
 WebtoolsAddLoggerFormDescription=This form allows you to enable a logger for a specific package or class.
+WebtoolsAddMissing=Add Missing
 WebtoolsAdjustDebuggingLevels=Adjust Debugging Levels
 WebtoolsAdministration=Administration
 WebtoolsAll=All
@@ -64,7 +65,12 @@
 WebtoolsCount=Count
 WebtoolsCreate=Crt
 WebtoolsCreateDummyFks=Create "Dummy" FKs
+WebtoolsCreateRemoveAllDeclaredIndices=Create/Remove All Declared Indices
+WebtoolsCreateRemoveAllForeignKeys=Create/Remove All Foreign Keys
+WebtoolsCreateRemoveAllForeignKeyIndices=Create/Remove All Foreign Key Indices
+WebtoolsCreateRemoveAllPrimaryKeys=Create/Remove All Primary Keys
 WebtoolsDataFileTools=Data File Tools
+WebtoolsDbName=DB Name
 WebtoolsDebuggingLevelFormDescription=This form allows you to change application debugging levels.
 WebtoolsDefaultEntityName=Default Entity Name
 WebtoolsDeleteFiles=Delete Files Afterwards?
@@ -72,12 +78,18 @@
 WebtoolsDispatcherName=Dispatcher Name
 WebtoolsEditCustomTimePeriods=Edit Custom Time Periods
 WebtoolsElements=Elements
+WebtoolsEnable=Enable
 WebtoolsEngineName=Engine Name
+WebtoolsEntity=ENTITY
 WebtoolsEntityDataMaintenance=Entity Data Maintenance
+WebtoolsEntityDisplayed=Displayed
 WebtoolsEntityEngine=Entity Engine
 WebtoolsEntityEngineTools=Entity Engine Tools
 WebtoolsEntityName=Entity Name
 WebtoolsEntityReference=Entity Reference
+WebtoolsEntityReferenceChart=Entity Reference Chart
+WebtoolsEntityReferenceMainPage=Entity Reference Main Page
+WebtoolsEntityReferenceStaticVersion=Static Version
 WebtoolsEntitySyncStatus=Entity Sync Status
 WebtoolsEntityXMLTools=Entity XML Tools
 WebtoolsEntityView=View Entity
@@ -97,11 +109,14 @@
 WebtoolsFindAllRecords=Find All Records
 WebtoolsFindRecord=Find Record
 WebtoolsFindValues=Find Values
+WebtoolsFkIdx=Fk-Idx
 WebtoolsFKName=FK Name
+WebtoolsFks=Fks
 WebtoolsForEntity=For Entity
 WebtoolsFormat=Format
 WebtoolsFreeMemory=FREE
 WebtoolsFrequency=Frequency
+WebtoolsGroupName=Group Name
 WebtoolsHits=Hits
 WebtoolsImplementedServices=Implemented Services
 WebtoolsImport=Import
@@ -120,6 +135,8 @@
 WebtoolsIsService=Is service
 WebtoolsIsSetInternally=Is set internally
 WebtoolsIsURL=Is URL?
+WebtoolsJavaName=Java Name
+WebtoolsJavaType=Java Type
 WebtoolsJob=Job
 WebtoolsJobList=Job List
 WebtoolsLeaveAllEntriesBlank=leave all entries blank
@@ -170,6 +187,9 @@
 WebtoolsNoParametersDefined=No parameters defined
 WebtoolsNoServicesFound=No services found
 WebtoolsNote1=NOTE: If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"
+WebtoolsNote2=NOTE: Use the following at your own risk; make sure you know what you are doing before running these...
+WebtoolsNote3=NOTE: Foreign keys may also be created in the Check/Update database operation if the check-fks-on-start and other options on the datasource element are setup to do so.
+WebtoolsNotFound=NOT FOUND
 WebtoolsNotPresent=NP
 WebtoolsNoRecordsFound=No Records found for Entity
 WebtoolsNoUtilCacheFound=No UtilCache instances found
@@ -185,15 +205,20 @@
 WebtoolsPermissionError=Webtools Permission Error
 WebtoolsPermissionType=Permission Type
 WebtoolsPk=Primary Key
+WebtoolsPks=Pks
 WebtoolsPool=Pool
+WebtoolsPopupWebToolsMain=Pop up WebTools Main
 WebtoolsRelatedEntity=Related Entity
+WebtoolsRelation=Relation
 WebtoolsRelations=Relations
 WebtoolsRelationType=Relation Type
 WebtoolsReln=Reln
 WebtoolsReloadCacheList=Reload Cache List
+WebtoolsRemoveAllTables=Remove All Tables
 WebtoolsRemoves=removes:H/M
 WebtoolsRemovesHit=removes:Hit
 WebtoolsRemovesMisses=removes:Misses
+WebtoolsRepairColumnSizes=Repair Column Sizes
 WebtoolsRequireNewTransaction=Require new transaction
 WebtoolsRHSMapName=RHS map name
 WebtoolsRHSValueName=RHS value name
@@ -230,9 +255,11 @@
 WebtoolsSyncResetRunStatus=Reset Run Status
 WebtoolsSqlProcessor=SQL Processor
 WebtoolsSqlCommand=SQL Command
+WebtoolsSqlType=SQL Type
 WebtoolsStatsSinceServerStart=Stats Since Server Start
 WebtoolsReadXPDLFile=Read XPDL File
 WebtoolsResults=Results
+WebtoolsTable=TABLE
 WebtoolsThread=Thread
 WebtoolsThreadList=Thread List
 WebtoolsTimeoutSeconds=TX Timeout Seconds (for each entity)
@@ -246,13 +273,16 @@
 WebtoolsTitle5=are built on top of these entity definitions and the tools surrounding them such as the entity, workflow, and rule engines,
 WebtoolsTitle6=content and knowledge management, data analysis, and so forth
 WebtoolsToFindAll=To find ALL of Entity
+WebtoolsTotalEntities=Total Entities
 WebtoolsTotalMemory=TOTAL
+WebtoolsUpdateCharacterSetAndCollate=Update character-set and collate (based on settings on datasource in entityengine.xml)
 WebtoolsUsedMemory=USED
 WebtoolsUseFileStore=Use File Store ?
 WebtoolsUseSoftRef=Use Soft Ref ?
 WebtoolsUseTransaction=Use transaction
 WebtoolsVerboseLogLevel=Verbose
 WebtoolsVerboseLogLevelTooltip=The Verbose Level designates fine-grained informational events that are most useful to debug an application.
+WebtoolsViewData=view data
 WebtoolsViewLog=View Log
 WebtoolsViewRelations=View Relations
 WebtoolsViewValue=View Value

Modified: incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels_it.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels_it.properties?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels_it.properties (original)
+++ incubator/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels_it.properties Fri Dec  1 12:12:35 2006
@@ -37,6 +37,7 @@
 WebtoolsAction=Azione
 WebtoolsActions=Azioni
 WebtoolsAddLoggerFormDescription=Questa form ti permette di abilitare un logger per uno specifico package o classe.
+WebtoolsAddMissing=Aggiungi Mancanti
 WebtoolsAdjustDebuggingLevels=Aggiustamento Livello di Debugging
 WebtoolsAdministration=Amministra
 WebtoolsAll=Tutto
@@ -60,7 +61,12 @@
 WebtoolsCount=Conta
 WebtoolsCreate=Crea
 WebtoolsCreateDummyFks=Creare "Dummy" FKs
+WebtoolsCreateRemoveAllDeclaredIndices=Creare/Rimuovere Tutti gli Indici Dichiarati
+WebtoolsCreateRemoveAllForeignKeys=Creare/Rimuovere Tutte le Chiavi Esterne
+WebtoolsCreateRemoveAllForeignKeyIndices=Creare/Rimuovere Tutti gli Indici di Chiave Esterna
+WebtoolsCreateRemoveAllPrimaryKeys=Creare/Rimuovere Tutte le Chiave Primarie
 WebtoolsDataFileTools=Strumenti per File Dati
+WebtoolsDbName=Nome DB
 WebtoolsDeleteFiles=Cancellare i Files Successivamente?
 WebtoolsDeleteThisValue=Cancella Questo Valore
 WebtoolsDebuggingLevelFormDescription=Questa form ti permette di cambiare i livelli di debug dell'applicazione.
@@ -68,11 +74,18 @@
 WebtoolsDispatcherName=Nome Dispatcher
 WebtoolsEditCustomTimePeriods=Aggiorna Periodi di Tempo Personalizzati
 WebtoolsElements=Elementi
+WebtoolsEnable=Abilita
 WebtoolsEngineName=Nome Engine
+WebtoolsEntity=ENTITA'
 WebtoolsEntityDataMaintenance=Manutenzione Dati Entit\u00e0
+WebtoolsEntityDisplayed=Visualizzate
 WebtoolsEntityEngine=Engine Entit\u00e0
 WebtoolsEntityEngineTools=Strumenti per Engine Entit\u00e0
 WebtoolsEntityName=Nome Entit\u00e0
+WebtoolsEntityReference=Riferimenti Entit\u00e0
+WebtoolsEntityReferenceChart=Tabella Riferimenti Entit\u00e0
+WebtoolsEntityReferenceMainPage=Pagina Principale Riferimenti Entit\u00e0
+WebtoolsEntityReferenceStaticVersion=Versione Statica
 WebtoolsEntitySyncStatus=Stato Sincronizzazioni Entit\u00e0
 WebtoolsEntityXMLTools=Strumenti per Entit\u00e0 XML
 WebtoolsEntityView=Entit\u00e0 Vista
@@ -92,11 +105,14 @@
 WebtoolsFindAllRecords=Ricerca Tutti i Records
 WebtoolsFindRecord=Ricerca Record
 WebtoolsFindValues=Ricerca Valori
+WebtoolsFkIdx=Indice-Chiave Esterna
 WebtoolsFKName=Nome Chiave Esterna
+WebtoolsFks=Chiave Esterne
 WebtoolsForEntity=Per Entit\u00e0
 WebtoolsFormat=Formato
 WebtoolsFreeMemory=LIBERA
 WebtoolsFrequency=Frequenza
+WebtoolsGroupName=Nome Gruppo
 WebtoolsHits=Colpi
 WebtoolsImplementedServices=Servizi Implementati
 WebtoolsImport=Importazione
@@ -115,6 +131,8 @@
 WebtoolsIsService=E' un servizio
 WebtoolsIsSetInternally=E' impostato internamente
 WebtoolsIsURL=E' un URL?
+WebtoolsJavaName=Nome Java
+WebtoolsJavaType=Tipo Java
 WebtoolsJob=Lavoro
 WebtoolsJobList=Lista Lavori
 WebtoolsLeaveAllEntriesBlank=lasciare tutte le voci vuote
@@ -165,6 +183,9 @@
 WebtoolsNoParametersDefined=Nessun parametro definito
 WebtoolsNoServicesFound=Nessun servizio trovato
 WebtoolsNote1=NOTA: Se non hai ancora eseguito lo script di installazione di caricamento dei dati, esegui dalla home directory di ofbiz "ant run-install" o "java -jar ofbiz.jar install"
+WebtoolsNote2=NOTA: Usare questo sopra รจ a tuo rischio; devi essere sicuro di conoscere cosa stai facendo prima di eseguire questi...
+WebtoolsNote3=NOTA: Chiave esterne potrebbero anche essere create nelle operazione di Controlla/Aggiorna Databasete se il controllo di chiavi esterne inizia e altre opzioni sull'elemento datasource che sono configurati per fare cosi'.
+WebtoolsNotFound=NON TROVATO
 WebtoolsNotPresent=Non Presente
 WebtoolsNoRecordsFound=Nessun Records trovato per l'Entit\u00e0
 WebtoolsNoUtilCacheFound=Nessuna istanza di Cache trovata
@@ -180,15 +201,20 @@
 WebtoolsPerformanceTests=Test delle Prestazioni
 WebtoolsPermissionType=Tipo Permesso
 WebtoolsPk=Chiave Primaria
+WebtoolsPks=Chiavi Primarie
 WebtoolsPool=Pool
+WebtoolsPopupWebToolsMain=Pop up Pagina Principale Strumenti Web
 WebtoolsRelatedEntity=Entit\u00e0  Relazionata
+WebtoolsRelation=Relazione
 WebtoolsRelations=Relazioni
 WebtoolsRelationType=Tipo Relazione
 WebtoolsReln=Rel
 WebtoolsReloadCacheList=Ricarica Lista Cache
+WebtoolsRemoveAllTables=Rimuovi Tutte le Tabelle
 WebtoolsRemoves=Rimossi: Colpi Persi
 WebtoolsRemovesHit=Rimossi: Colpi
 WebtoolsRemovesMisses=Rimossi: Persi
+WebtoolsRepairColumnSizes=Ripara Ampiezza Colonna
 WebtoolsRequireNewTransaction=Richiesta nuova transazione
 WebtoolsRHSMapName=Nome mappa RHS
 WebtoolsRHSValueName=Nome valore RHS
@@ -225,9 +251,11 @@
 WebtoolsSyncResetRunStatus=Esegui Azzeramento Stato
 WebtoolsSqlProcessor=Esegui SQL
 WebtoolsSqlCommand=Comando SQL
+WebtoolsSqlType=Tipo SQL
 WebtoolsStatsSinceServerStart=Statistiche da quanto il Server \u00e8 Avviato
 WebtoolsReadXPDLFile=Leggi File XPDL
 WebtoolsResults=Risultati
+WebtoolsTable=TABELLA
 WebtoolsThread=Thread
 WebtoolsThreadList=Lista Thread
 WebtoolsTimeoutSeconds=TX Timeout in Secondi (per ogni entit\u00e0)
@@ -241,13 +269,16 @@
 WebtoolsTitle5=sono costruite alla base di queste definizioni di entit\u00e0 e strumenti intorno a questi come entit\u00e0, flussi di lavoro, e engine delle regole,
 WebtoolsTitle6=gestione contenuti, analisi dati, e cos\u00ec via
 WebtoolsToFindAll=Per ricercare TUTTO sull'Entit\u00e0
+WebtoolsTotalEntities=Totale Entit\u00e0
 WebtoolsTotalMemory=TOTALE
+WebtoolsUpdateCharacterSetAndCollate=Aggiorna set di caratteri e collate (basato sulle impostazioni del datasource in entityengine.xml)
 WebtoolsUsedMemory=USATA
 WebtoolsUseFileStore=Usa File Memorizzato ?
 WebtoolsUseSoftRef=Usa Riferimento Soft ?
 WebtoolsUseTransaction=Usa transazione
 WebtoolsVerboseLogLevel=Dettaglio
 WebtoolsVerboseLogLevelTooltip=Il livello Dettaglio designa eventi informativi che sono utili per il debug dell'applicazione.
+WebtoolsViewData=mostra dati
 WebtoolsViewLog=Mostra Log
 WebtoolsViewRelations=Mostra Relazioni
 WebtoolsViewValue=Mostra Valore

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/controller.xml Fri Dec  1 12:12:35 2006
@@ -491,9 +491,9 @@
     <view-map name="login" type="screen" page="component://webtools/widget/CommonScreens.xml#login"/>
     <view-map name="ping" type="ftl" page="/ping.ftl"/>
 
-    <view-map name="entityref" page="/entity/entityref.jsp"/>
-    <view-map name="entityref_list" page="/entity/entityref_list.jsp"/>
-    <view-map name="entityref_main" page="/entity/entityref_main.jsp"/>
+    <view-map name="entityref" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityRef"/>
+    <view-map name="entityref_list" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityRefList"/>
+    <view-map name="entityref_main" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityRefMain"/>
 
     <view-map name="entitymaint" type="screen" page="component://webtools/widget/EntityScreens.xml#EntityMaint"/>
     <view-map name="FindGeneric" type="screen" page="component://webtools/widget/EntityScreens.xml#FindGeneric"/>
@@ -510,7 +510,7 @@
     <view-map name="ModelInduceFromDb" page="/entity/ModelInduceFromDb.jsp"/>
 
     <view-map name="EditEntity" type="region"/>
-    <view-map name="checkdb" type="region"/>    
+    <view-map name="checkdb" type="screen" page="component://webtools/widget/EntityScreens.xml#CheckDb"/>  
     <view-map name="xmldsdump" type="region"/>
     <view-map name="xmldsrawdump" page="/entity/xmldsrawdump.jsp"/>
 

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/regions.xml Fri Dec  1 12:12:35 2006
@@ -32,10 +32,6 @@
         <put section="title">Edit Entity Definition</put>
         <put section="content" content="/entity/EditEntity.jsp"/>
     </define>
-    <define id="checkdb" region="MAIN_REGION">
-        <put section="title">Check/Update Datasource</put>
-        <put section="content" content="/entity/checkdb.jsp"/>
-    </define>    
     <define id="xmldsdump" region="MAIN_REGION">
         <put section="title">XML Entity Data Export</put>
         <put section="content" content="/entity/xmldsdump.jsp"/>

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Fri Dec  1 12:12:35 2006
@@ -50,7 +50,7 @@
                 <li><div class="tabletext">${uiLabelMap.WebtoolsEntityEngineTools}</div>
                 <ul>
                   <li><a href="<@ofbizUrl>/entitymaint</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsEntityDataMaintenance}</a>
-                  <li><a href="<@ofbizUrl>/view/entityref</@ofbizUrl>" class="linktext" target="_blank">${uiLabelMap.WebtoolsEntityReference}</a>&nbsp;<a href="<@ofbizUrl>/view/entityref?forstatic=true</@ofbizUrl>" class="linktext" target="_blank">[Static Version]</a>
+                  <li><a href="<@ofbizUrl>/view/entityref</@ofbizUrl>" class="linktext" target="_blank">${uiLabelMap.WebtoolsEntityReference}</a>&nbsp;<a href="<@ofbizUrl>/view/entityref?forstatic=true</@ofbizUrl>" class="linktext" target="_blank">[${uiLabelMap.WebtoolsEntityReferenceStaticVersion}]</a>
                   <li><a href="<@ofbizUrl>/EntitySQLProcessor</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleEntitySQLProcessor}</a>
                   <li><a href="<@ofbizUrl>/EntitySyncStatus</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsEntitySyncStatus}</a>
                   <li><a href="<@ofbizUrl>/view/ModelInduceFromDb</@ofbizUrl>" target="_blank" class="linktext">${uiLabelMap.WebtoolsInduceModelXMLFromDatabase}</a><br/>

Modified: incubator/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml?view=diff&rev=481369&r1=481368&r2=481369
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml (original)
+++ incubator/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml Fri Dec  1 12:12:35 2006
@@ -217,5 +217,107 @@
             </fail-widgets>
         </section>
     </screen>
+    <screen name="EntityRef">
+        <section>
+            <condition>
+                <if-has-permission permission="ENTITY_MAINT"/>
+            </condition>
+            <actions>
+                <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="titleProperty" value="WebtoolsEntityReferenceChart"/>          
+                <script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityRef.bsh"/>                            
+            </actions>
+            <widgets>
+                <section>
+                    <widgets>
+                        <platform-specific>
+                            <html>
+                                <html-template location="component://webtools/webapp/webtools/entity/EntityRef.ftl"/>
+                            </html>
+                        </platform-specific>
+                    </widgets>
+                </section>                              
+            </widgets>
+            <fail-widgets>
+                <label style="head3">${uiLabelMap.WebtoolsPermissionError}</label>
+            </fail-widgets>
+        </section>
+    </screen>
+    <screen name="EntityRefMain">
+        <section>
+            <condition>
+                <if-has-permission permission="ENTITY_MAINT"/>
+            </condition>
+            <actions>
+                <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="titleProperty" value="WebtoolsEntityReferenceChart"/>          
+                <script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityRefMain.bsh"/>                            
+            </actions>
+            <widgets>
+                <section>
+                    <widgets>
+                        <platform-specific>
+                            <html>
+                                <html-template location="component://webtools/webapp/webtools/entity/EntityRefMain.ftl"/>
+                            </html>
+                        </platform-specific>
+                    </widgets>
+                </section>                              
+            </widgets>
+            <fail-widgets>
+                <label style="head3">${uiLabelMap.WebtoolsPermissionError}</label>
+            </fail-widgets>
+        </section>
+    </screen>
+    <screen name="EntityRefList">
+        <section>
+            <condition>
+                <if-has-permission permission="ENTITY_MAINT"/>
+            </condition>
+            <actions>
+                <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="titleProperty" value="WebtoolsEntityReference"/>          
+                <script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/EntityRefList.bsh"/>                            
+            </actions>
+            <widgets>
+                <section>
+                    <widgets>
+                        <platform-specific>
+                            <html>
+                                <html-template location="component://webtools/webapp/webtools/entity/EntityRefList.ftl"/>
+                            </html>
+                        </platform-specific>
+                    </widgets>
+                </section>                              
+            </widgets>
+            <fail-widgets>
+                <label style="head3">${uiLabelMap.WebtoolsPermissionError}</label>
+            </fail-widgets>
+        </section>
+    </screen>
+    <screen name="CheckDb">
+        <section>
+            <condition>
+                <if-has-permission permission="ENTITY_MAINT"/>
+            </condition>
+            <actions>
+                <property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="titleProperty" value="WebtoolsCheckUpdateDatabase"/>          
+                <script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.bsh"/>                            
+            </actions>
+            <widgets>  
+                <decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://webtools/webapp/webtools/entity/CheckDb.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+            <fail-widgets>
+                <label style="head3">${uiLabelMap.WebtoolsPermissionError}</label>
+            </fail-widgets>
+        </section>
+    </screen>
 </screens>