svn commit: r481367 - in /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity: CheckDb.ftl EntityRef.ftl EntityRefList.ftl EntityRefMain.ftl checkdb.jsp entityref.jsp entityref_list.jsp entityref_main.jsp

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

svn commit: r481367 - in /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity: CheckDb.ftl EntityRef.ftl EntityRefList.ftl EntityRefMain.ftl checkdb.jsp entityref.jsp entityref_list.jsp entityref_main.jsp

jacopoc
Author: jacopoc
Date: Fri Dec  1 12:08:12 2006
New Revision: 481367

URL: http://svn.apache.org/viewvc?view=rev&rev=481367
Log:
New ftl templates needed by the entity reference screens migrated by Marco Risaliti: OFBIZ-460

Added:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl   (with props)
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl   (with props)
Removed:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/checkdb.jsp
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref_list.jsp
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref_main.jsp
Modified:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl?view=auto&rev=481367
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl Fri Dec  1 12:08:12 2006
@@ -0,0 +1,101 @@
+<#--
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+<div>
+    <h3>${uiLabelMap.WebtoolsCheckUpdateDatabase}</h3>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="checkupdatetables"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        &nbsp;<input type="checkbox" name="checkPks" value="true" checked="checked"/>&nbsp;${uiLabelMap.WebtoolsPks}
+        &nbsp;<input type="checkbox" name="checkFks" value="true"/>&nbsp;${uiLabelMap.WebtoolsFks}
+        &nbsp;<input type="checkbox" name="checkFkIdx" value="true"/>&nbsp;${uiLabelMap.WebtoolsFkIdx}
+        &nbsp;<input type="checkbox" name="addMissing" value="true"/>&nbsp;${uiLabelMap.WebtoolsAddMissing}
+        &nbsp;<input type="checkbox" name="repair" value="true"/>&nbsp;${uiLabelMap.WebtoolsRepairColumnSizes}
+        <input type="submit" value="${uiLabelMap.WebtoolsCheckUpdateDatabase}"/>
+    </form>
+    <p>${uiLabelMap.WebtoolsNote2}</p>
+    <script language="JavaScript" type="text/javascript">
+     <!--
+         function enableTablesRemove() {
+             document.forms["TablesRemoveForm"].elements["TablesRemoveButton"].disabled=false;
+         }
+     //-->
+    </script>
+    <h3>${uiLabelMap.WebtoolsRemoveAllTables}</h3>
+    <form method="post" action="${encodeURLCheckDb}" name="TablesRemoveForm">
+        <input type="hidden" name="option" value="removetables"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonRemove}" name="TablesRemoveButton" disabled/>
+        <input type="button" value="${uiLabelMap.WebtoolsEnable}" onClick="enableTablesRemove();"/>
+    </form>
+    <h3>${uiLabelMap.WebtoolsCreateRemoveAllPrimaryKeys}</h3>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="createpks"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonCreate}"/>
+    </form>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="removepks"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonRemove}"/>
+    </form>
+    <h3>${uiLabelMap.WebtoolsCreateRemoveAllDeclaredIndices}</h3>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="createidx"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonCreate}"/>
+    </form>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="removeidx"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonRemove}"/>
+    <h3>${uiLabelMap.WebtoolsCreateRemoveAllForeignKeyIndices}</h3>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="createfkidxs"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonCreate}"/>
+    </form>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="removefkidxs"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonRemove}"/>
+    </form>
+    <h3>${uiLabelMap.WebtoolsCreateRemoveAllForeignKeys}</h3>
+    <p>${uiLabelMap.WebtoolsNote3}</p>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="createfks"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonCreate}"/>
+    </form>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="removefks"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonRemove}"/>
+    </form>
+    <h3>${uiLabelMap.WebtoolsUpdateCharacterSetAndCollate}</h3>
+    <form method="post" action="${encodeURLCheckDb}">
+        <input type="hidden" name="option" value="updateCharsetCollate"/>
+        ${uiLabelMap.WebtoolsGroupName}: <input type="text" class="inputBox" name="groupName" value="${groupName}" size="40"/>
+        <input type="submit" value="${uiLabelMap.CommonUpdate}"/>
+    </form>
+    <hr/>
+</div>
+<#if miters?has_content>
+    <ul>
+        <#list miters as miter>
+            ${miter}
+        </#list>
+    </ul>
+</#if>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/CheckDb.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl?view=auto&rev=481367
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl Fri Dec  1 12:08:12 2006
@@ -0,0 +1,29 @@
+<#--
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+<html>
+    <head>
+        <title>${uiLabelMap.WebtoolsEntityReferenceChart}</title>
+    </head>
+    <frameset cols="30%,70%">
+        <frame src="${encodeUrlList}" name="entityListFrame">
+        <frame src="${encodeUrlMain}" name="entityFrame">
+    </frameset>
+    <noframes>
+        <h2>${uiLabelMap.CommonFrameAlert1}</h2>
+        <p>${uiLabelMap.CommonFrameAlert2}</p>
+        <br/>
+    </noframes>
+</html>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRef.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl?view=auto&rev=481367
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl Fri Dec  1 12:08:12 2006
@@ -0,0 +1,74 @@
+<#--
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+<html>
+    <head>
+        <title>${uiLabelMap.WebtoolsEntityReference}</title>
+        <style>
+          A.listtext {font-family: Helvetica,sans-serif; font-size: 10pt; font-weight: bold; text-decoration: none; color: blue;}
+          A.listtext:hover {color:red;}
+        </style>
+    </head>
+    <body bgcolor="#FFFFFF">
+        <div align="left">
+            <#if !forstatic>
+                <#assign encodeURLMain = response.encodeURL(controlPath + "/main")>
+                <#assign encodeURLRefMain = response.encodeURL(controlPath + "/view/entityref_main")>
+                <#assign encodeURLCheckDb = response.encodeURL(controlPath + "/view/checkdb")>
+                <#assign encodeURLModelInduceFromDb = response.encodeURL(controlPath + "/view/ModelInduceFromDb")>
+                <a href="${encodeURLMain}" target='main' class='listtext'>${uiLabelMap.WebtoolsPopupWebToolsMain}</A><BR>
+                <a href="${encodeURLRefMain}" target="entityFrame" class='listtext'>${uiLabelMap.WebtoolsEntityReferenceMainPage}</A><BR>
+                <a href="${encodeURLCheckDb}" target="entityFrame" class='listtext'>${uiLabelMap.WebtoolsCheckUpdateDatabase}</A>
+                <hr/>
+                <!--
+                <#assign encodeURLModelWriter = response.encodeURL(controlPath + "/ModelWriter")>
+                <#assign encodeURLModelWriterSaveFile = response.encodeURL(controlPath + "/ModelWriter?savetofile=true")>
+                <#assign encodeURLModelGroupWriter = response.encodeURL(controlPath + "/ModelGroupWriter")>
+                <#assign encodeURLModelGroupWriterSaveFile = response.encodeURL(controlPath + "/ModelGroupWriter?savetofile=true")>
+                -->
+                <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO
+                <a href="${encodeURLModelWriter}" target='_blank' class='listtext'>Generate Entity Model XML (all in one)</A><BR>
+                <a href="${encodeURLModelWriterSaveFile}<%=response.encodeURL(controlPath + "/ModelWriter?savetofile=true")%>" target='_blank' class='listtext'>Save Entity Model XML to Files</A><BR>
+                -->
+                <!-- this is not working now anyway...
+                <a href="${encodeURLModelGroupWriter}<%=response.encodeURL(controlPath + "/ModelGroupWriter")%>" target='_blank' class='listtext'>Generate Entity Group XML</A><BR>
+                <a href="${encodeURLModelGroupWriterSaveFile}<%=response.encodeURL(controlPath + "/ModelGroupWriter?savetofile=true")%>" target='_blank' class='listtext'>Save Entity Group XML to File</A><BR>
+                -->
+                <a href="${encodeURLModelInduceFromDb}" target='_blank' class='listtext'>${uiLabelMap.WebtoolsInduceModelXMLFromDatabase}</A><BR>
+                <hr/>
+            </#if>            
+            <#list packageNames as packageName>
+                <#if forstatic>
+                    <a href="entityref_main.html#${packageName}" target="entityFrame" class='listtext'>${packageName}</a><br/>
+                <#else>
+                    <#assign encodeURL = response.encodeURL(controlPath + "/view/entityref_main#" + packageName)>
+                    <a href="${encodeURL}" target="entityFrame" class='listtext'>${packageName}</a><br/>
+                </#if>
+            </#list>
+            <hr/>
+            <#list entitiesList as entity>
+                <#if forstatic>
+                    <#assign encodeURL = response.encodeURL(controlPath + "entityref_main#" + entity)>
+                    <a href="${encodeURL}" target="entityFrame" class='listtext'>${entity}</a>
+                <#else>
+                    <#assign encodeURL = response.encodeURL(controlPath + "/view/entityref_main#" + entity + url)>
+                    <a href="${encodeURL}" target="entityFrame" class='listtext'>${entity}</a>
+                </#if>
+                <br/>
+            </#list>
+            <br/>
+        </div>
+    </body>
+</html>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefList.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl?view=auto&rev=481367
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl (added)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl Fri Dec  1 12:08:12 2006
@@ -0,0 +1,132 @@
+<#--
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+<html>
+    <head>
+        <title>${uiLabelMap.WebtoolsEntityReference}</title>
+        <style>
+          .packagetext {font-family: Helvetica,sans-serif; font-size: 18pt; font-weight: bold; text-decoration: none; color: black;}
+          .toptext {font-family: Helvetica,sans-serif; font-size: 16pt; font-weight: bold; text-decoration: none; color: black;}
+          .titletext {font-family: Helvetica,sans-serif; font-size: 12pt; font-weight: bold; text-decoration: none; color: blue;}
+          .headertext {font-family: Helvetica,sans-serif; font-size: 8pt; font-weight: bold; text-decoration: none; background-color: blue; color: white;}
+          .enametext {font-family: Helvetica,sans-serif; font-size: 8pt; font-weight: bold; text-decoration: none; color: black;}
+          .entitytext {font-family: Helvetica,sans-serif; font-size: 8pt; text-decoration: none; color: black;}
+          .relationtext {font-family: Helvetica,sans-serif; font-size: 8pt; text-decoration: none; color: black;}
+          A.rlinktext {font-family: Helvetica,sans-serif; font-size: 8pt; font-weight: bold; text-decoration: none; color: blue;}
+          A.rlinktext:hover {color:red;}
+        </style>
+    </head>
+    <body bgcolor="#FFFFFF">
+        <div align="center">
+        <div class='toptext'>${uiLabelMap.WebtoolsEntityReferenceChart}<br/>
+            ${numberOfEntities} ${uiLabelMap.WebtoolsTotalEntities}
+        </div>
+        <#assign numberShowed = 0>
+        <#list packagesList as package>
+            <a name='${package.packageName}'></a><hr/>
+            <div class='packagetext'>${package.packageName}</div><hr/>        
+            <#list package.entitiesList as entity>
+                <a name="${entity.entityName}"></a>
+                <table width="95%" border="1" cellpadding='2' cellspacing='0'>
+                    <tr bgcolor="#CCCCCC">
+                        <td colspan="5">
+                            <div align="center" class="titletext">${uiLabelMap.WebtoolsEntity}: ${entity.entityName} | ${uiLabelMap.WebtoolsTable}: ${entity.plainTableName?if_exists}</div>
+                            <div align="center" class="entitytext"><b>${entity.title}</b>&nbsp;
+                                <#if !forstatic>
+                                    <#assign encodeURL = response.encodeURL(controlPath + "/FindGeneric?entityName=" + entity.entityName + "&find=true&VIEW_SIZE=50&VIEW_INDEX=0")>
+                                    <a target='main' href="${encodeURL}">[${uiLabelMap.WebtoolsViewData}]</a>
+                                </#if>
+                            </div>
+                            <#if entity.description?has_content &&
+                                 !entity.description.equalsIgnoreCase("NONE") &&
+                                !entity.description.equalsIgnoreCase("")>
+                                   <div align="center" class="entitytext">${entity.description}</div>
+                            </#if>
+                        </td>
+                    </tr>
+                    <tr class='headertext'>
+                        <td width="30%" align="center">${uiLabelMap.WebtoolsJavaName}</td>
+                        <td width="30%" align="center">${uiLabelMap.WebtoolsDbName}</td>
+                        <td width="10%" align="center">${uiLabelMap.WebtoolsFieldType}</td>
+                        <td width="15%" align="center">${uiLabelMap.WebtoolsJavaType}</td>
+                        <td width="15%" align="center" nowrap>${uiLabelMap.WebtoolsSqlType}</td>
+                    </tr>
+                    <#list entity.javaNameList as javaName>
+                        <tr bgcolor="#EFFFFF">
+                            <td><div align="left" class='enametext'>${javaName.name}</div></td>
+                            <td><div align="left" class='entitytext'>${javaName.colName}</div></td>
+                            <td><div align="left" class='entitytext'>${javaName.type}</div></td>
+                            <#if javaName.javaType?has_content>
+                                <td><div align="left" class='entitytext'>${javaName.javaType}</div></td>
+                                <td><div align="left" class='entitytext'>${javaName.sqlType}</div></td>
+                            <#else>
+                                <td><div align="left" class='entitytext'>${uiLabelMap.WebtoolsNotFound}</div></td>
+                                <td><div align="left" class='entitytext'>${uiLabelMap.WebtoolsNotFound}</div></td>
+                            </#if>
+                        </tr>
+                    </#list>
+                    <tr bgcolor="#FFCCCC">
+                        <td colspan="5"><hr/></td>
+                    </tr>
+                    <tr class='headertext'>
+                        <td align="center">${uiLabelMap.WebtoolsRelation}</td>
+                        <td align="center" colspan='4'>${uiLabelMap.WebtoolsRelationType}</td>                            
+                    </tr>
+                    <#if entity.relationsList?has_content>
+                        <#list entity.relationsList as relation>
+                            <tr bgcolor="#FEEEEE">
+                                <td>
+                                    <div align="left" class='relationtext'>
+                                        <b>${relation.title}</b><A href='#${relation.relEntity}' class='rlinktext'>${relation.relEntity}</A>
+                                    </div>
+                                    <#if relation.fkName?has_content>
+                                        <div class='relationtext'>${uiLabelMap.WebtoolsFKName}: ${relation.fkName}</div>
+                                    </#if>
+                                </td>
+                                <td width="60%" colspan='4'>
+                                    <div align="left" class='relationtext'>
+                                        ${relation.type}:
+                                        <#if relation.length == 3>
+                                            &nbsp;
+                                        </#if>
+                                        <#if relation.keysList?has_content>
+                                        <#list relation.keysList as keyList>                                        
+                                            <br/>&nbsp;&nbsp;${keyList.row})&nbsp;
+                                              <#if keyList.fieldName == keyList.relFieldName>
+                                                  ${keyList.fieldName}
+                                              <#else>
+                                                  ${keyList.fieldName} : ${keyList.relFieldName}
+                                              </#if>
+                                        </#list>
+                                        </#if>
+                                    </div>
+                                </td>
+                            </tr>        
+                            <tr bgcolor="#CCCCCC">
+                                <td colspan="5">&nbsp;</td>
+                            </tr>
+                        </#list>
+                    </#if>
+                </table>
+                <br/>        
+                <#assign numberShowed = numberShowed + 1>                
+            </#list>
+        </#list>
+        <div align="center">
+            <br/><br/>
+              ${uiLabelMap.WebtoolsEntityDisplayed}: ${numberShowed}
+          <div>
+    </body>
+</html>

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/EntityRefMain.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp?view=diff&rev=481367&r1=481366&r2=481367
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entityref.jsp Fri Dec  1 12:08:12 2006
@@ -1,46 +0,0 @@
-<%--
-Copyright 2001-2006 The Apache Software Foundation
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not
-use this file except in compliance with the License. You may obtain a copy of
-the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-License for the specific language governing permissions and limitations
-under the License.
---%>
-
-<%@ page import="org.ofbiz.base.util.*" %>
-
-<HTML>
-<HEAD>
-<TITLE>Entity Reference Chart</TITLE>
-</HEAD>
-<%String controlPath=(String)request.getAttribute("_CONTROL_PATH_");%>
-<%
- String list = controlPath + "/view/entityref_list";
- String main = controlPath + "/view/entityref_main";
- String search = (String) request.getParameter("search");
-    String forstatic = (String) request.getParameter("forstatic");
- if (search != null) {
- list = list + "?search=" + search;
- main = main + "?search=" + search;
- } else if (forstatic != null) {
- list = list + "?forstatic=" + forstatic;
- main = main + "?forstatic=" + forstatic;
- }
-%>
-<FRAMESET cols="30%,70%">
-<FRAME src="<%=response.encodeURL(list)%>" name="entityListFrame">
-<FRAME src="<%=response.encodeURL(main)%>" name="entityFrame">
-</FRAMESET>
-<NOFRAMES>
-<H2>Frame Alert</H2>
-<P>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-</NOFRAMES>
-</HTML>