diff --git a/framework/webtools/webapp/webtools/entity/ViewGeneric.jsp b/framework/webtools/webapp/webtools/entity/ViewGeneric.jsp index f409f080ce..84c468649d 100644 --- a/framework/webtools/webapp/webtools/entity/ViewGeneric.jsp +++ b/framework/webtools/webapp/webtools/entity/ViewGeneric.jsp @@ -73,59 +73,64 @@ under the License. var numTabs=<%=entity.getRelationsSize()+2%>; function ShowTab(lname) { for(inc=1; inc <= numTabs; inc++) { - document.getElementById('tab' + inc).className = (lname == 'tab' + inc) ? 'ontab' : 'offtab'; - document.getElementById('lnk' + inc).className = (lname == 'tab' + inc) ? 'onlnk' : 'offlnk'; document.getElementById('area' + inc).className = (lname == 'tab' + inc) ? 'topcontainer' : 'topcontainerhidden'; } } -
- View Entity: <%=entityName%> with PK: <%=findByPK.toString()%> +
View Value
+
For Entity: <%=entityName%>
+
With PK: <%=findByPK.toString()%>
+
+
+Back To Find Screen
- -[Find <%=entityName%>] +
<%if (hasCreatePermission) {%> - [Create New <%=entityName%>] +Create New +Edit <%}%> + <%if (value != null) {%> <%if (hasDeletePermission) {%> - [Delete this <%=entityName%>] + Delete This Value <%}%> <%}%> +

-
- - - <%if (hasUpdatePermission || hasCreatePermission) {%> - - <%}%> - <%if (value != null) {%> + +
- View <%=entityName%> - - Edit <%=entityName%> -
+ + + + + <%}%> - <%if ((tabIndex+1)%4 == 0) {%><%}%> <%}%> + + -<%}%>
View:
+ - - <%=relation.getTitle()%><%=relation.getRelEntityName()%>(<%=relation.getType()%>) -
+ +<%}%> +
<%if (value == null) {%> - + + + <%} else {%> <%for (int fnum = 0; fnum < entity.getFieldsSize(); fnum++) {%> <%ModelField field = entity.getField(fnum);%> @@ -167,7 +172,7 @@ function ShowTab(lname) {
<%boolean showFields = true;%> <%if(value == null && (findByPK.getAllFields().size() > 0)){%> - <%=entity.getEntityName()%> with primary key <%=findByPK.toString()%> not found.
+
<%=entity.getEntityName()%> with primary key <%=findByPK.toString()%> not found.
<%}%> <% String lastUpdateMode = request.getParameter("UPDATE_MODE"); @@ -182,7 +187,7 @@ function ShowTab(lname) { <%if (value == null) {%> <%if (hasCreatePermission) {%> - You may create a <%=entityName%> by entering the values you want, and clicking Update. +
You may create a <%=entityName%> by entering the values you want, and clicking Update.
<%for (int fnum = 0; fnum < entity.getPksSize();fnum++) {%> <%ModelField field = entity.getPk(fnum);%> @@ -575,9 +580,10 @@ Displaying <%=relatedLoopCount%> entities.
<%if ((hasUpdatePermission || hasCreatePermission) && !useValue) {%> <%}%> +
<%} else {%>

You do not have permission to view this page (<%=entity.getPlainTableName()%>_ADMIN, or <%=entity.getPlainTableName()%>_VIEW needed).

Specified <%=entityName%> was not found.

+

Specified <%=entityName%> was not found.

+