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=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/main.ftl Fri Oct 20 00:16:54 2006 @@ -33,32 +33,28 @@ <tr> <td> <#if !userLogin?has_content> - <div class="tabletext">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</div> + <div class="tabletext">${uiLabelMap.WebtoolsMessage14}.</div> <br/> </#if> - <div class="tabletext">The purpose of this Web Tools administration package is to contain all of the - administration tools that directly relate to the various Core Tool Components. The Core Tool Component layer is - defined in the architecture documents as the container of all entity definitions shared by the vertical applications that - are built on top of these entity definitions and the tools surrounding them such as the entity, workflow, and rule engines, - content and knowledge management, data analysis, and so forth.</div> + <div class="tabletext">${uiLabelMap.WebtoolsTitle1} ${uiLabelMap.WebtoolsTitle2} ${uiLabelMap.WebtoolsTitle3} ${uiLabelMap.WebtoolsTitle4} ${uiLabelMap.WebtoolsTitle5} ${uiLabelMap.WebtoolsTitle6}.</div> <br/> - <div class="tabletext">This application is primarily intended for developers and system administrators.</div> + <div class="tabletext">${uiLabelMap.WebtoolsMessage13}.</div> <#if userLogin?has_content> <ul> - <li><div class="tabletext">Cache & Debug Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsCachDebugTools}</div> <ul> - <li><a href="<@ofbizUrl>/FindUtilCache</@ofbizUrl>" class="linktext">Cache Maintenance</a> - <li><a href="<@ofbizUrl>/LogConfiguration</@ofbizUrl>" class="linktext">Adjust Debugging Levels</a> + <li><a href="<@ofbizUrl>/FindUtilCache</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsCacheMaintenance}</a> + <li><a href="<@ofbizUrl>/LogConfiguration</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsAdjustDebuggingLevels}</a> </ul> <#if security.hasPermission("ENTITY_MAINT", session)> - <li><div class="tabletext">Entity Engine Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsEntityEngineTools}</div> <ul> - <li><a href="<@ofbizUrl>/entitymaint</@ofbizUrl>" class="linktext">Entity Data Maintenance</a> - <li><a href="<@ofbizUrl>/view/entityref</@ofbizUrl>" class="linktext" target="_blank">Entity Reference</a> <a href="<@ofbizUrl>/view/entityref?forstatic=true</@ofbizUrl>" class="linktext" target="_blank">[Static Version]</a> - <li><a href="<@ofbizUrl>/EntitySQLProcessor</@ofbizUrl>" class="linktext">Entity SQL Processor</a> - <li><a href="<@ofbizUrl>/EntitySyncStatus</@ofbizUrl>" class="linktext">Entity Sync Status</a> - <li><a href="<@ofbizUrl>/view/ModelInduceFromDb</@ofbizUrl>" target="_blank" class="linktext">Induce Model XML from Database</a><br/> - <li><a href="<@ofbizUrl>/view/checkdb</@ofbizUrl>" class="linktext">Check/Update Database</a> + <li><a href="<@ofbizUrl>/entitymaint</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsEntityDataMaintenance}</a> + <li><a href="<@ofbizUrl>/view/entityref</@ofbizUrl>" class="linktext" target="_blank">${uiLabelMap.WebtoolsServiceReference}</a> <a href="<@ofbizUrl>/view/entityref?forstatic=true</@ofbizUrl>" class="linktext" target="_blank">[Static Version]</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/> + <li><a href="<@ofbizUrl>/view/checkdb</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsCheckUpdateDatabase}</a> <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO <ul> @@ -76,41 +72,41 @@ <li><a href="<@ofbizUrl>/view/dataMySql</@ofbizUrl>" class="linktext">MySQL Auto Data SQL</a> --> </ul> - <li><div class="tabletext">Entity XML Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsEntityXMLTools}</div> <ul> - <li><a href="<@ofbizUrl>/xmldsdump</@ofbizUrl>" class="linktext">XML Data Export</a> - <li><a href="<@ofbizUrl>/EntityExportAll</@ofbizUrl>" class="linktext">XML Data Export All</a> - <li><a href="<@ofbizUrl>/EntityImport</@ofbizUrl>" class="linktext">XML Data Import</a> - <li><a href="<@ofbizUrl>/EntityImportDir</@ofbizUrl>" class="linktext">XML Data Import Dir</a> + <li><a href="<@ofbizUrl>/xmldsdump</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleEntityExport}</a> + <li><a href="<@ofbizUrl>/EntityExportAll</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleEntityExportAll}</a> + <li><a href="<@ofbizUrl>/EntityImport</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleEntityImport}</a> + <li><a href="<@ofbizUrl>/EntityImportDir</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleEntityImportDir}</a> </ul> </#if> <#if security.hasPermission("SERVICE_MAINT", session)> - <li><div class="tabletext">Service Engine Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsServiceEngineTools}</div> <ul> - <li><a href="<@ofbizUrl>/availableServices</@ofbizUrl>" class="linktext">Service Reference</a> - <li><a href="<@ofbizUrl>/scheduleJob</@ofbizUrl>" class="linktext">Schedule Job</a> - <li><a href="<@ofbizUrl>/jobList</@ofbizUrl>" class="linktext">Job List</a> - <li><a href="<@ofbizUrl>/threadList</@ofbizUrl>" class="linktext">Thread List</a> - <li><a href="<@ofbizUrl>/serviceList</@ofbizUrl>" class="linktext">Service Log</a> + <li><a href="<@ofbizUrl>/availableServices</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsServiceReference}</a> + <li><a href="<@ofbizUrl>/scheduleJob</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleScheduleJob}</a> + <li><a href="<@ofbizUrl>/jobList</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleJobList}</a> + <li><a href="<@ofbizUrl>/threadList</@ofbizUrl>" class="linktext">${uiLabelMap.PageTitleThreadList}</a> + <li><a href="<@ofbizUrl>/serviceList</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsServiceLog}</a> </ul> </#if> <#if security.hasPermission("WORKFLOW_MAINT", session)> - <li><div class="tabletext">Workflow Engine Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsWorkflowEngineTools}</div> <ul> - <li><a href="<@ofbizUrl>/workflowMonitor</@ofbizUrl>" class="linktext">Workflow Monitor</a> - <li><a href="<@ofbizUrl>/readxpdl</@ofbizUrl>" class="linktext">Read XPDL File</a> + <li><a href="<@ofbizUrl>/workflowMonitor</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsWorkflowMonitor}</a> + <li><a href="<@ofbizUrl>/readxpdl</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsReadXPDLFile}</a> </ul> </#if> <#if security.hasPermission("DATAFILE_MAINT", session)> - <li><div class="tabletext">Data File Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsDataFileTools}</div> <ul> - <li><a href="<@ofbizUrl>/viewdatafile</@ofbizUrl>" class="linktext">Work With Data Files</a> + <li><a href="<@ofbizUrl>/viewdatafile</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsWorkWithDataFiles}</a> </ul> </#if> - <li><div class="tabletext">Misc. Setup Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsMiscSetupTools}</div> <ul> <#if security.hasPermission("PERIOD_MAINT", session)> - <li><a href="<@ofbizUrl>/EditCustomTimePeriod</@ofbizUrl>" class="linktext">Edit Custom Time Periods</a> + <li><a href="<@ofbizUrl>/EditCustomTimePeriod</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsEditCustomTimePeriods}</a> </#if> <#if security.hasPermission("ENUM_STATUS_MAINT", session)> <!-- @@ -119,20 +115,20 @@ --> </#if> </ul> - <li><div class="tabletext">Performance Tests</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsPerformanceTests}</div> <ul> - <li><a href="<@ofbizUrl>/EntityPerformanceTest</@ofbizUrl>" class="linktext">Entity Engine</a> + <li><a href="<@ofbizUrl>/EntityPerformanceTest</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsEntityEngine}</a> </ul> <#if security.hasPermission("SERVER_STATS_VIEW", session)> - <li><div class="tabletext">Server Hit Statistics Tools</div> + <li><div class="tabletext">${uiLabelMap.WebtoolsServerHitStatisticsTools}</div> <ul> - <li><a href="<@ofbizUrl>/StatsSinceStart</@ofbizUrl>" class="linktext">Stats Since Server Start</a> + <li><a href="<@ofbizUrl>/StatsSinceStart</@ofbizUrl>" class="linktext">${uiLabelMap.WebtoolsStatsSinceServerStart}</a> </ul> </#if> </ul> </#if> - <div class="tabletext">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"</div> + <div class="tabletext">${uiLabelMap.WebtoolsNote1}</div> </td> </tr> </table> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml Fri Oct 20 00:16:54 2006 @@ -19,25 +19,25 @@ xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd"> <form name="scheduleJob" type="single" target="setServiceParameters" title="" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext"> - <field name="SERVICE_NAME" title="Service"><text/></field> - <field name="POOL_NAME" title="Pool Name"><text/></field> - <field name="SERVICE_TIME" title="Start Date/Time"><date-time/></field> - <field name="SERVICE_END_TIME" title="Finish Date/Time"><date-time/></field> - <field name="SERVICE_FREQUENCY" title="Frequency"> + <field name="SERVICE_NAME" title="${uiLabelMap.WebtoolsService}"><text/></field> + <field name="POOL_NAME" title="${uiLabelMap.WebtoolsPool}"><text/></field> + <field name="SERVICE_TIME" title="${uiLabelMap.CommonStartDateTime}"><date-time/></field> + <field name="SERVICE_END_TIME" title="${uiLabelMap.CommonEndDateTime}"><date-time/></field> + <field name="SERVICE_FREQUENCY" title="${uiLabelMap.WebtoolsFrequency}"> <drop-down> - <option key="" description="None"/> - <option key="4" description="Daily"/> - <option key="5" description="Weekly"/> - <option key="6" description="Monthly"/> - <option key="7" description="Yearly"/> - <option key="3" description="Hourly"/> - <option key="2" description="Minutely"/> - <option key="1" description="Secondly"/> + <option key="" description="${uiLabelMap.CommonNone}"/> + <option key="4" description="${uiLabelMap.CommonDaily}"/> + <option key="5" description="${uiLabelMap.CommonWeekly}"/> + <option key="6" description="${uiLabelMap.CommonMonthly}"/> + <option key="7" description="${uiLabelMap.CommonYearly}"/> + <option key="3" description="${uiLabelMap.CommonHourly}"/> + <option key="2" description="${uiLabelMap.CommonMinutely}"/> + <option key="1" description="${uiLabelMap.CommonSecondly}"/> </drop-down> </field> - <field name="SERVICE_INTERVAL" title="Interval" tooltip="for use with frequency"><text/></field> - <field name="SERVICE_COUNT" title="Count" tooltip="number of time the job will run; use -1 for no limit i.e. forever"><text default-value="1"/></field> - <field name="SERVICE_MAXRETRY" title="Max Retry" tooltip="number of time the job will retry on error; use -1 for no limit or leave empty for service default"><text/></field> + <field name="SERVICE_INTERVAL" title="${uiLabelMap.WebtoolsInterval}" tooltip="${uiLabelMap.WebtoolsMessage8}"><text/></field> + <field name="SERVICE_COUNT" title="${uiLabelMap.WebtoolsCount}" tooltip="${uiLabelMap.WebtoolsMessage9}"><text default-value="1"/></field> + <field name="SERVICE_MAXRETRY" title="${uiLabelMap.WebtoolsMaxRetry}" tooltip="${uiLabelMap.WebtoolsMessage10}"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> </forms> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/availableservices.ftl Fri Oct 20 00:16:54 2006 @@ -24,11 +24,11 @@ <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> <td align='left'><div class='boxhead'> - Service: ${selectedServiceMap.serviceName}</div> + ${uiLabelMap.WebtoolsService}: ${selectedServiceMap.serviceName}</div> </td> <td align='right'> - <a href='<@ofbizUrl>/scheduleJob?SERVICE_NAME=${selectedServiceMap.serviceName}</@ofbizUrl>' class='submenutext'>Schedule</a> - <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='submenutextright'>List All</a> + <a href='<@ofbizUrl>/scheduleJob?SERVICE_NAME=${selectedServiceMap.serviceName}</@ofbizUrl>' class='submenutext'>${uiLabelMap.WebtoolsSchedule}</a> + <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='submenutextright'>${uiLabelMap.CommonListAll}</a> </td> </tr> </table> @@ -37,7 +37,7 @@ <br> <table border='0' width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> - <td><div class='boxhead'>WSDL Service definition</div></td> + <td><div class='boxhead'>${uiLabelMap.WebtoolsServiceWSDL}</div></td> </tr> </table> <table border=0 width='100%' cellspacing='0' cellpadding='5' class='boxoutside'> @@ -45,7 +45,7 @@ <td align="center"><form><textarea class="textAreaBox" rows="20" cols="85" name="wsdloutput">${selectedServiceMap.wsdl}</textarea></form></td> </tr> <tr> - <td align="center"><a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}</@ofbizUrl>' class='linktext'>Back</a></td> + <td align="center"><a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}</@ofbizUrl>' class='linktext'>${uiLabelMap.CommonBack}</a></td> </tr> </table> <#else> @@ -55,18 +55,18 @@ <tr> <td width='10%'> </td> <td align='left' valign='top'><br> - <b>Service Name:</b> ${selectedServiceMap.serviceName}<br> - <b>Description:</b> ${selectedServiceMap.description}<br> - <b>Exportable:</b> ${selectedServiceMap.export}<#if selectedServiceMap.export = "True"> (<a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&show_wsdl=true</@ofbizUrl>' class='linktext'>Show wsdl</a>)</#if><br> + <b>${uiLabelMap.WebtoolsServiceName}:</b> ${selectedServiceMap.serviceName}<br> + <b>${uiLabelMap.CommonDescription}:</b> ${selectedServiceMap.description}<br> + <b>${uiLabelMap.WebtoolsExportable}:</b> ${selectedServiceMap.export}<#if selectedServiceMap.export = "True"> (<a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&show_wsdl=true</@ofbizUrl>' class='linktext'>${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if><br> <td width='10' align='left'> </td> <td align='left' valign='top'><br> - <b>Engine Name:</b> <a href='<@ofbizUrl>${url}?constraint=engine_name@${selectedServiceMap.engineName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.engineName}</a><br> - <b>Invoke:</b> ${selectedServiceMap.invoke}<br> - <b>Location:</b> </b><a href='<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>' class='linktext'>${selectedServiceMap.location}</a><br> - <b>Default Entity Name:</b> <a href='<@ofbizUrl>${url}?constraint=default_entity_name@${selectedServiceMap.defaultEntityName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.defaultEntityName}</a><br> - <b>Require new transaction:</b> ${selectedServiceMap.requireNewTransaction}<br> - <b>Use transaction:</b> ${selectedServiceMap.useTrans}<br> - <b>Max retries:</b> ${selectedServiceMap.maxRetry} + <b>${uiLabelMap.WebtoolsEngineName}:</b> <a href='<@ofbizUrl>${url}?constraint=engine_name@${selectedServiceMap.engineName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.engineName}</a><br> + <b>${uiLabelMap.WebtoolsInvoke}:</b> ${selectedServiceMap.invoke}<br> + <b>${uiLabelMap.WebtoolsLocation}:</b> </b><a href='<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>' class='linktext'>${selectedServiceMap.location}</a><br> + <b>${uiLabelMap.WebtoolsDefaultEntityName}:</b> <a href='<@ofbizUrl>${url}?constraint=default_entity_name@${selectedServiceMap.defaultEntityName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.defaultEntityName}</a><br> + <b>${uiLabelMap.WebtoolsRequireNewTransaction}:</b> ${selectedServiceMap.requireNewTransaction}<br> + <b>${uiLabelMap.WebtoolsUseTransaction}:</b> ${selectedServiceMap.useTrans}<br> + <b>${uiLabelMap.WebtoolsMaxRetries}:</b> ${selectedServiceMap.maxRetry} </td> </tr> </table> @@ -77,7 +77,7 @@ <td valign='top' width='50%'> <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> - <td class='tabletext'><div class='boxhead'>Permission Groups</div></td> + <td class='tabletext'><div class='boxhead'>${uiLabelMap.PartySecurityGroups}</div></td> </tr> </table> <table border=0 width='100%' cellspacing='5' cellpadding='1' class='boxoutside'> @@ -86,9 +86,9 @@ <#if selectedServiceMap.permissionGroups!='NA'> <table border=0 width='100%' cellspacing='5' cellpadding='1'> <tr> - <td class='tableheadtext'>Name or Role</td> - <td class='tableheadtext'>Permission Type</td> - <td class='tableheadtext'>Action</td> + <td class='tableheadtext'>${uiLabelMap.WebtoolsNameOrRole}</td> + <td class='tableheadtext'>${uiLabelMap.WebtoolsPermissionType}</td> + <td class='tableheadtext'>${uiLabelMap.WebtoolsAction}</td> </tr> <tr> <td class='sepbar' colspan='3'><hr class='sepbar'></td> @@ -112,7 +112,7 @@ <td valign='top' width='50%'> <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> - <td class='tabletext'><div class='boxhead'>Implemented Services</div></td> + <td class='tabletext'><div class='boxhead'>${uiLabelMap.WebtoolsImplementedServices}</div></td> </tr> </table> <table border=0 width='100%' cellspacing='5' cellpadding='1' class='boxoutside'> @@ -145,7 +145,7 @@ </script> <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> - <td><div class='boxhead'>Service ECA's</div></td> + <td><div class='boxhead'>${uiLabelMap.WebtoolsServiceECA}</div></td> </tr> </table> <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'> @@ -153,11 +153,11 @@ <td width='50%' align='left'> <table border=0 width='100%' cellspacing='0' cellpadding='2'> <tr> - <td align='left' valign='top'><div class='tableheadtext'>Event name</div></td> - <td align='left' valign='top'><div class='tableheadtext'>Run on error</div></td> - <td align='left' valign='top'><div class='tableheadtext'>Run on failure</div></td> - <td align='left' valign='top'><div class='tableheadtext'>Actions</div></td> - <td align='left' valign='top'><div class='tableheadtext'>Conditions</div></td> + <td align='left' valign='top'><div class='tableheadtext'>${uiLabelMap.WebtoolsEventName}</div></td> + <td align='left' valign='top'><div class='tableheadtext'>${uiLabelMap.WebtoolsRunOnError}</div></td> + <td align='left' valign='top'><div class='tableheadtext'>${uiLabelMap.WebtoolsRunOnFailure}</div></td> + <td align='left' valign='top'><div class='tableheadtext'>${uiLabelMap.WebtoolsActions}</div></td> + <td align='left' valign='top'><div class='tableheadtext'>${uiLabelMap.WebtoolsConditions}</div></td> </tr> <tr><td colspan='5'><hr class='sepbar'></td></tr> <#list ecaMapList as ecaMap> @@ -170,7 +170,7 @@ <#list ecaMap.actions as action> <a href='<@ofbizUrl>${url}?sel_service_name=${action.serviceName}</@ofbizUrl>' class='linktext'>${action.serviceName?default("NA")}</a> <a href='javascript:detailsPopup("<@ofbizUrl>${popupUrl}?detail_type=action&prt_srv=${selectedServiceMap.serviceName}<#if ecaMap.eventName?exists>&prt_evt_name=${ecaMap.eventName}</#if><#if ecaMap.runOnError?exists>&prt_run_on_err=${ecaMap.runOnError}</#if><#if ecaMap.runOnFailure?exists>&prt_run_on_fail=${ecaMap.runOnFailure}</#if>&acx_srv=${action.serviceName}<#if action.eventName?exists>&acx_evt_name=${action.eventName}</#if><#if action.ignoreError?exists>&acx_ig_err=${action.ignoreError}</#if><#if action.ignoreFailure?exists>&acx_ig_fail=${action.ignoreFailure}</#if><#if action.persist?exists>&acx_pers=${action.persist}</#if><#if action.resultToContext?exists>&acx_res_to_ctx=${action.resultToContext}</#if><#if action.serviceMode?exists>&acx_srv_mode=${action.serviceMode}</#if><#if action.resultMapName?exists>&acx_res_map_name=${action.resultMapName}</#if></@ofbizUrl>")' class='linktext'> - [Details] + [${uiLabelMap.CommonDetail}] </a> </#list> </#if> @@ -181,10 +181,10 @@ <table class='boxoutside' width='100%'> <tr> <td class='tabletext'> - <b>Compare type:</b> ${condition.compareType?default("NA")} + <b>${uiLabelMap.WebtoolsCompareType}:</b> ${condition.compareType?default("NA")} </td> <td class='tabletext'> - <b>Condition service:</b> + <b>${uiLabelMap.WebtoolsConditionService}:</b> <#if condition.conditionService?exists && condition.conditionService?has_content> <a href='<@ofbizUrl>${url}?sel_service_name=${condition.conditionService}</@ofbizUrl>' class='linktext'>${condition.conditionService?default("NA")}</a> <#else> @@ -192,35 +192,35 @@ </#if> </td> <td class='tabletext'> - <b>Format:</b> ${condition.format?default("NA")} + <b>${uiLabelMap.WebtoolsFormat}:</b> ${condition.format?default("NA")} </td> </tr> <tr> <td class='tabletext'> - <b>Is service:</b> ${condition.isService?default("NA")} + <b>${uiLabelMap.WebtoolsIsService}:</b> ${condition.isService?default("NA")} </td> <td class='tabletext'> - <b>Is constant:</b> ${condition.isConstant?default("NA")} + <b>${uiLabelMap.WebtoolsIsConstant}:</b> ${condition.isConstant?default("NA")} </td> <td class='tabletext'> - <b>Operator:</b> ${condition.operator?default("NA")} + <b>${uiLabelMap.WebtoolsOperator}:</b> ${condition.operator?default("NA")} </td> </tr> <tr> <td class='tabletext'> - <b>LHS map name:</b> ${condition.lhsMapName?default("NA")} + <b>${uiLabelMap.WebtoolsLHSMapName}:</b> ${condition.lhsMapName?default("NA")} </td> <td class='tabletext'> - <b>LHS value name:</b> ${condition.lhsValueName?default("NA")} + <b>${uiLabelMap.WebtoolsLHSValueName}:</b> ${condition.lhsValueName?default("NA")} </td> <td></td> </tr> <tr> <td class='tabletext'> - <b>RHS map name:</b> ${condition.rhsMapName?default("NA")} + <b>${uiLabelMap.WebtoolsRHSMapName}:</b> ${condition.rhsMapName?default("NA")} </td> <td class='tabletext'> - <b>RHS value name:</b> ${condition.rhsValueName?default("NA")} + <b>${uiLabelMap.WebtoolsRHSValueName}:</b> ${condition.rhsValueName?default("NA")} </td> <td></td> </tr> @@ -251,13 +251,13 @@ <table border=0 width='100%' cellspacing='0' cellpadding='2'> <#if paramList.paramList?exists && paramList.paramList?has_content> <tr> - <td align='left'><div class='tableheadtext'>Parameter Name</div></td> - <td align='left'><div class='tableheadtext'>Optional</div></td> - <td align='left'><div class='tableheadtext'>Type</div></td> - <td align='left'><div class='tableheadtext'>Mode</div></td> - <td align='left'><div class='tableheadtext'>Is set internally</div></td> - <td align='left'><div class='tableheadtext'>Entity Name</div></td> - <td align='left'><div class='tableheadtext'>Field Name</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsParameterName}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsOptional}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.CommonType}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsMode}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsIsSetInternally}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsEntityName}</div></td> + <td align='left'><div class='tableheadtext'>${uiLabelMap.WebtoolsFieldName}</div></td> <tr> <tr> <td align='left' colspan='7'><hr class='sepbar'></td> @@ -278,7 +278,7 @@ </tr> </#list> <#else> - No parameters defined + ${uiLabelMap.WebtoolsNoParametersDefined} </#if> </table> </td> @@ -319,7 +319,7 @@ <#if dispArrList?exists && dispArrList?has_content> <select id='sd' name='selDisp' onChange='submitDispForm();' class='selectBox'> - <option value='' selected>Select dispatcher</option> + <option value='' selected>${uiLabelMap.WebtoolsSelectDispatcher}</option> <option value='' ></option> <#list dispArrList as disp> <option value='${disp}'>${disp}</option> @@ -337,10 +337,10 @@ <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'> <tr> <td align='left'><div class='boxhead'> - Services list for ${dispatcherName?default("NA")}(${servicesFoundCount} found)</div> + ${uiLabelMap.WebtoolsServicesListFor} ${dispatcherName?default("NA")}(${servicesFoundCount} ${uiLabelMap.CommonFound})</div> </td> <td align='right'> - <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='submenutextright'>List All</a> + <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='submenutextright'>${uiLabelMap.CommonListAll}</a> </td> </tr> </table> @@ -349,23 +349,23 @@ <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'> <tr> <td align='left'><div class='tableheadtext'> - Service Name</div> + ${uiLabelMap.WebtoolsServiceName}</div> </td> <td> </td> <td align='left'><div class='tableheadtext'> - Engine Name</div> + ${uiLabelMap.WebtoolsEngineName}</div> </td> <td> </td> <td align='left'><div class='tableheadtext'> - DefaultEntityName</div> + ${uiLabelMap.WebtoolsDefaultEntityName}</div> </td> <td> </td> <td align='left'><div class='tableheadtext'> - Invoke</div> + ${uiLabelMap.WebtoolsInvoke}</div> </td> <td> </td> <td align='left'><div class='tableheadtext'> - Location</div> + ${uiLabelMap.WebtoolsLocation}</div> </td> </tr> @@ -408,11 +408,11 @@ <table border=0 width='100%' cellspacing='2' cellpadding='5' class='boxoutside'> <tr> <td align='left' class='tableheadtext'> - No services found... + ${uiLabelMap.WebtoolsNoServicesFound}... <td> <td align='right'> - <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='linktext'>List All</a> + <a href='<@ofbizUrl>${url}</@ofbizUrl>' class='linktext'>${uiLabelMap.CommonListAll}</a> </td> </tr> </table> -</#if> \ No newline at end of file +</#if> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/jobs.ftl Fri Oct 20 00:16:54 2006 @@ -16,12 +16,12 @@ <table cellpadding="2" cellspacing="0" border="1" width="100%"> <tr> - <td><div class="tableheadtext">Job</div></td> - <td><div class="tableheadtext">Pool</div></td> - <td><div class="tableheadtext">Run Time</div></td> - <td><div class="tableheadtext">Start Time</div></td> - <td><div class="tableheadtext">Service</div></td> - <td><div class="tableheadtext">Finish Time</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsJob}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsPool}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsRunTime}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonStartDateTime}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsService}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonEndDateTime}</div></td> <td> </td> </tr> <#list jobs as job> @@ -42,7 +42,7 @@ </td> <td align="center"> <#if !(job.startDateTime?exists) && !(job.finishDateTime?exists) && !(job.cancelDateTime?exists)> - <a href="<@ofbizUrl>cancelJob?jobId=${job.jobId}</@ofbizUrl>" class="buttontext">Cancel Job</a> + <a href="<@ofbizUrl>cancelJob?jobId=${job.jobId}</@ofbizUrl>" class="buttontext">${uiLabelMap.WebtoolsCancelJob}</a> </#if> </td> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/serviceTabBar.ftl Fri Oct 20 00:16:54 2006 @@ -17,8 +17,8 @@ <#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}> <div class="tabContainer"> - <a href="<@ofbizUrl>serviceList</@ofbizUrl>" class="${selectedClassMap.ServiceList?default(unselectedClassName)}">Service List</a> - <a href="<@ofbizUrl>jobList</@ofbizUrl>" class="${selectedClassMap.JobList?default(unselectedClassName)}">Job List</a> - <a href="<@ofbizUrl>threadList</@ofbizUrl>" class="${selectedClassMap.ThreadList?default(unselectedClassName)}">Thread List</a> - <a href="<@ofbizUrl>scheduleJob</@ofbizUrl>" class="${selectedClassMap.ScheduleJob?default(unselectedClassName)}">Schedule Job</a> + <a href="<@ofbizUrl>serviceList</@ofbizUrl>" class="${selectedClassMap.ServiceList?default(unselectedClassName)}">${uiLabelMap.WebtoolsServiceList}</a> + <a href="<@ofbizUrl>jobList</@ofbizUrl>" class="${selectedClassMap.JobList?default(unselectedClassName)}">${uiLabelMap.WebtoolsJobList}</a> + <a href="<@ofbizUrl>threadList</@ofbizUrl>" class="${selectedClassMap.ThreadList?default(unselectedClassName)}">${uiLabelMap.WebtoolsThreadList}</a> + <a href="<@ofbizUrl>scheduleJob</@ofbizUrl>" class="${selectedClassMap.ScheduleJob?default(unselectedClassName)}">${uiLabelMap.WebtoolsScheduleJob}</a> </div> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/services.ftl Fri Oct 20 00:16:54 2006 @@ -16,11 +16,11 @@ <table cellpadding="2" cellspacing="0" border="1" width="100%"> <tr> - <td><div class="tableheadtext">Service Name</div></td> - <td><div class="tableheadtext">Dispatcher Name</div></td> - <td><div class="tableheadtext">Mode</div></td> - <td><div class="tableheadtext">Start Time</div></td> - <td><div class="tableheadtext">End Time</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsServiceName}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsDispatcherName}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsMode}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonStartDateTime}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonEndDateTime}</div></td> </tr> <#list services as service> <tr> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/setServiceParameter.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/setServiceParameter.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/setServiceParameter.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/setServiceParameter.ftl Fri Oct 20 00:16:54 2006 @@ -31,7 +31,7 @@ </tr> </#list> <tr> - <td colspan="2" align="center"><input type="submit" class="smallSubmit" value="Submit"></td> + <td colspan="2" align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.CommonSubmit}"></td> </tr> </table> </form> Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl (original) +++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/service/threads.ftl Fri Oct 20 00:16:54 2006 @@ -16,18 +16,18 @@ <table cellpadding="2" cellspacing="0" border="1" width="100%"> <tr> - <td><div class="tableheadtext">Thread</div></td> - <td><div class="tableheadtext">Status</div></td> - <td><div class="tableheadtext">Job</div></td> - <td><div class="tableheadtext">Service</div></td> - <td><div class="tableheadtext">Time (ms)</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsThread}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonStatus}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsJob}</div></td> + <td><div class="tableheadtext">${uiLabelMap.WebtoolsService}</div></td> + <td><div class="tableheadtext">${uiLabelMap.CommonTime} (ms)</div></td> </tr> <#list threads as thread> <tr> <td><div class="tabletext">${thread.threadName?if_exists} </div></td> <td><div class="tabletext">${thread.status?if_exists} </div></td> - <td><div class="tabletext">${thread.jobName?default("[none]")}</div></td> - <td><div class="tabletext">${thread.serviceName?default("[none]")}</div></td> + <td><div class="tabletext">${thread.jobName?default("[${uiLabelMap.CommonNone}]")}</div></td> + <td><div class="tabletext">${thread.serviceName?default("[${uiLabelMap.CommonNone}]")}</div></td> <td><div class="tabletext">${thread.runTime?if_exists} </div></td> </tr> </#list> Modified: incubator/ofbiz/trunk/framework/webtools/widget/AvailableServicesScreens.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/widget/AvailableServicesScreens.xml?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/widget/AvailableServicesScreens.xml (original) +++ incubator/ofbiz/trunk/framework/webtools/widget/AvailableServicesScreens.xml Fri Oct 20 00:16:54 2006 @@ -21,6 +21,7 @@ <section> <actions> <set field="appButtonItem" value="service"/> + <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/> <script location="component://webtools/webapp/webtools/WEB-INF/actions/service/availableservices.bsh"/> </actions> <widgets> Modified: incubator/ofbiz/trunk/framework/webtools/widget/LogScreens.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/widget/LogScreens.xml?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/widget/LogScreens.xml (original) +++ incubator/ofbiz/trunk/framework/webtools/widget/LogScreens.xml Fri Oct 20 00:16:54 2006 @@ -28,7 +28,7 @@ <decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> <container> - <link target="LogView" text="View Log" style="buttontext"/> + <link target="LogView" text="${uiLabelMap.WebtoolsViewLog}" style="buttontext"/> </container> <container style="boxoutside"> <container style="boxtop"> @@ -74,14 +74,14 @@ <decorator-screen name="CommonWebtoolsDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> <container> - <label style="head1">Log View</label> + <label style="head1">${uiLabelMap.WebtoolsViewLog}</label> </container> <container> - <link target="LogConfiguration" text="Adjust Debugging Levels" style="buttontext"/> + <link target="LogConfiguration" text="${uiLabelMap.WebtoolsAdjustDebuggingLevels}" style="buttontext"/> <link target="LogView" text="${uiLabelMap.CommonRefresh}" style="buttontext"/> </container> <container> - <label style="tableheadtext">Log File Name:</label> + <label style="tableheadtext">${uiLabelMap.WebtoolsLogFileName}:</label> <label style="tabletext">${logFileName}</label> </container> <container> Modified: incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml?view=diff&rev=466018&r1=466017&r2=466018 ============================================================================== --- incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml (original) +++ incubator/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml Fri Oct 20 00:16:54 2006 @@ -120,7 +120,7 @@ <widgets> <decorator-screen name="CommonServiceDecorator"> <decorator-section name="body"> - <label style="head1">Step 1: Service And Recurrence Information</label> + <label style="head1">${uiLabelMap.WebtoolsMessage11}</label> <include-form name="scheduleJob" location="component://webtools/webapp/webtools/service/ServiceForms.xml"/> </decorator-section> </decorator-screen> @@ -138,7 +138,7 @@ <widgets> <decorator-screen name="CommonServiceDecorator"> <decorator-section name="body"> - <label style="head1">Step 2: Service Parameters</label> + <label style="head1">${uiLabelMap.WebtoolsMessage12}</label> <platform-specific> <html><html-template location="component://webtools/webapp/webtools/service/setServiceParameter.ftl"/></html> </platform-specific> |
Free forum by Nabble | Edit this page |