Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/WEB-INF/templates/view/savedform
In directory
james.mmbase.org:/tmp/cvs-serv27196/portlets-dynamicforms/src/webapp/WEB-INF/templates/view/savedform
Modified Files:
list.jsp
Log Message:
Link to future dynamic content module
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/WEB-INF/templates/view/savedform
Index: list.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/WEB-INF/templates/view/savedform/list.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- list.jsp 10 Oct 2007 11:53:22 -0000 1.2
+++ list.jsp 11 Jul 2008 13:05:30 -0000 1.3
@@ -88,7 +88,16 @@
<c:set var="labelValue">
<mm:field name="label"/>
</c:set>
+
+ <%-- BEGIN: hack for element creation
has to be moved to its own module --%>
+ <c:set var="description"><mm:field
name="description"/></c:set>
+ <c:if test="${description == 'contenttype'}">
+ <c:set var="contenttypeNumber"
value="${fieldNumber}"/>
+ </c:if>
+ <%-- END: hack for element creation has
to be moved to its own module --%>
+
</mm:node>
+
<th nowrap="true"><c:out
value="${labelValue}"/></th>
</c:forEach>
<th></th>
@@ -121,6 +130,9 @@
</mm:relatednodescontainer>
</mm:node>
<td>
+ <%-- BEGIN: hack for element
creation has to be moved to its own module --%>
+ <c:if test="${headernumber ==
contenttypeNumber}"><a
href="../dynamiccontent/export.jsp?id=${savedformnumber}"><fmt:message
key="savedform.export" /></a></c:if>
+ <%-- END: hack for element
creation has to be moved to its own module --%>
<c:out value="${fieldvalue}"/>
</td>
</c:forEach>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs