⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 availableservices.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2003 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a  *  copy of this software and associated documentation files (the "Software"),  *  to deal in the Software without restriction, including without limitation  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,  *  and/or sell copies of the Software, and to permit persons to whom the  *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included  *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     Ashish Hareet(ashish.hareet@cpbinc.com - http://www.cpbinc.com) *@version    $Rev: 6426 $--><#--Dispatcher Name: ${dispatcherName?default("NA")} --><#assign url='availableServices'><#assign popupUrl='serviceEcaDetail'><#-- Selected Service is available --><#if selectedServiceMap?exists>    <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'>        <tr>            <td align='left'><div class='boxhead'>                Service: ${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>            </td>        </tr>    </table>	<#if showWsdl?exists && showWsdl = true>	    <br>		<table border='0' width='100%' cellspacing='0' cellpadding='0' class='boxtop'>            <tr>                <td><div class='boxhead'>WSDL Service definition</div></td>            </tr>        </table>        <table border=0 width='100%' cellspacing='0' cellpadding='5' class='boxoutside'>            <tr>               <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>            </tr>        </table>    <#else>	    <table border=0 width='100%' cellspacing='5' cellpadding='5' class='tabletext'>        <tr>            <td width='10%'>&nbsp;</td>            <td align='left' valign='top'><br>                <b>Service Name:</b>&nbsp;${selectedServiceMap.serviceName}<br>                <b>Description:</b>&nbsp;${selectedServiceMap.description}<br>                <b>Exportable:</b>&nbsp;${selectedServiceMap.export}<#if selectedServiceMap.export = "True">&nbsp;(<a href='<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&show_wsdl=true</@ofbizUrl>' class='linktext'>Show wsdl</a>)</#if><br>            <td width='10' align='left'>&nbsp;</td>            <td align='left' valign='top'><br>                <b>Engine Name:</b>&nbsp;<a href='<@ofbizUrl>${url}?constraint=engine_name@${selectedServiceMap.engineName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.engineName}</a><br>                <b>Invoke:</b>&nbsp;${selectedServiceMap.invoke}<br>                <b>Location:</b>&nbsp;</b><a href='<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>' class='linktext'>${selectedServiceMap.location}</a><br>                <b>Default Entity Name:</b>&nbsp;<a href='<@ofbizUrl>${url}?constraint=default_entity_name@${selectedServiceMap.defaultEntityName}</@ofbizUrl>' class='linktext'>${selectedServiceMap.defaultEntityName}</a><br>                <b>Require new transaction:</b>&nbsp;${selectedServiceMap.requireNewTransaction}<br>                <b>Use transaction:</b>&nbsp;${selectedServiceMap.useTrans}<br>                <b>Max retries:</b>&nbsp;${selectedServiceMap.maxRetry}            </td>        </tr>    </table>    <table border=0 width='100%' cellspacing='5' cellpadding='1'>        <tr>            <#-- Permission Groups -->            <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>                    </tr>                </table>                <table border=0 width='100%' cellspacing='5' cellpadding='1' class='boxoutside'>                    <tr>                        <td class='tabletext'>                        <#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>                            </tr>                            <tr>                                <td class='sepbar' colspan='3'><hr class='sepbar'></td>                            </tr>                            <#list selectedServiceMap.permissionGroups as permGrp>                            <tr>                                <td class='tabletext'>${permGrp.nameOrRole?default("NA")}</b></td>                                <td class='tabletext'>${permGrp.permType?default("NA")}</td>                                <td class='tabletext'>${permGrp.action?default("NA")}</td>                            </tr>                            </#list>                    </table>                        <#else>                            <b>${selectedServiceMap.permissionGroups}</b>                        </#if>                        </td>                    </tr>                </table>            </td>            <#-- Impl Services -->            <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>                    </tr>                </table>                <table border=0 width='100%' cellspacing='5' cellpadding='1' class='boxoutside'>                    <tr>                        <td class='tabletext'>                        <#if selectedServiceMap.implServices=='NA'>                            <b>${selectedServiceMap.implServices}</b>                        <#elseif selectedServiceMap.implServices?has_content>                            <#list selectedServiceMap.implServices as implSrv>                                <a href='<@ofbizUrl>${url}?sel_service_name=${implSrv}</@ofbizUrl>' class='linktext'>${implSrv}</a><br>                            </#list>                        </#if>                        </td>                    </tr>                </table>            </td>        </tr>    </table>    <!-- If service has ECA's -->    <#if ecaMapList?exists && ecaMapList?has_content>        <#-- add the javascript for modalpopup's -->        <script language='javascript' type='text/javascript'>            function detailsPopup(viewName){                    var lookupWinSettings = 'top=50,left=50,width=600,height=300,scrollbars=auto,status=no,resizable=no,dependent=yes,alwaysRaised=yes';                    var params = '';                    var lookupWin = window.open(viewName, params, lookupWinSettings);                    if(lookupWin.opener == null) lookupWin.opener = self;                    lookupWin.focus();            }        </script>        <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxtop'>            <tr>                <td><div class='boxhead'>Service ECA's</div></td>            </tr>        </table>        <table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>            <tr>                <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>                        </tr>                        <tr><td colspan='5'><hr class='sepbar'></td></tr>                        <#list ecaMapList as ecaMap>                            <tr>                                <td align='left' valign='top'><div class='tableheadtext'>${ecaMap.eventName?if_exists}</div></td>                                <td align='left' valign='top'><div class='tableheadtext'>${ecaMap.runOnError?if_exists}</div></td>                                <td align='left' valign='top'><div class='tableheadtext'>${ecaMap.runOnFailure?if_exists}</div></td>                                <td align='left' valign='top'>                                    <#if ecaMap.actions?exists && ecaMap.actions?has_content>                                        <#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]                                            </a>                                        </#list>                                    </#if>                                </td>                                <td valign='top'>                                    <#if ecaMap.conditions?exists && ecaMap.conditions?has_content>                                        <#list ecaMap.conditions as condition>                                            <table class='boxoutside' width='100%'>                                                <tr>                                                    <td class='tabletext'>                                                        <b>Compare type:</b> ${condition.compareType?default("NA")}                                                    </td>                                                    <td class='tabletext'>                                                        <b>Condition service:</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>                                                            ${condition.conditionService?default("NA")}                                                        </#if>                                                    </td>                                                    <td class='tabletext'>                                                        <b>Format:</b> ${condition.format?default("NA")}                                                    </td>                                                </tr>                                                <tr>                                                                                                        <td class='tabletext'>                                                        <b>Is service:</b> ${condition.isService?default("NA")}                                                    </td>                                                    <td class='tabletext'>                                                        <b>Is constant:</b> ${condition.isConstant?default("NA")}                                                    </td>                                                    <td class='tabletext'>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -