Update of
/var/cvs/contributions/didactor2/src/education/templates/education/openquestions
In directory james.mmbase.org:/tmp/cvs-serv32463
Modified Files:
index.jsp
Log Message:
translated to jspx
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/openquestions
Index: index.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/openquestions/index.jsp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- index.jsp 10 Aug 2007 15:54:11 -0000 1.14
+++ index.jsp 7 Nov 2008 10:32:33 -0000 1.15
@@ -1,7 +1,8 @@
-<[EMAIL PROTECTED] uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm"
-%><[EMAIL PROTECTED] uri="http://www.didactor.nl/ditaglib_1.0" prefix="di"
-%><mm:content>
-<mm:cloud rank="didactor user">
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
+ xmlns:di="http://www.didactor.nl/ditaglib_1.0" >
+ <mm:content>
+ <mm:cloud rank="didactor user">
<mm:import externid="question" required="true"/>
<mm:import externid="madetest">-1</mm:import>
@@ -23,29 +24,33 @@
</mm:compare>
</mm:field>
- <p/>
+ <p/> <!-- wtf -->
<mm:field name="text" escape="none"/>
- <p/>
+ <p/><!-- wtf -->
<mm:import id="layout"><mm:field name="layout"/></mm:import>
- <%-- Generate large input field --%>
+ <!-- Generate large input field -->
<mm:compare referid="layout" value="0">
<textarea name="${question}"
class="question mm_validate mm_dt_requiredfield"
- cols="80" rows="5"><mm:present referid="answer"><mm:write
referid="answer" escape="text/plain"/></mm:present><jsp:text>
</jsp:text></textarea>
- <br/>
+ cols="80" rows="5">
+ <mm:present referid="answer"><mm:write referid="answer"
escape="text/plain"/></mm:present>
+ <jsp:text> </jsp:text>
+ </textarea>
+ <br/> <!-- wtf -->
</mm:compare>
- <%-- Generate small input field --%>
+ <!-- Generate small input field -->
<mm:compare referid="layout" value="1">
<input type="text" size="100"
class="question mm_validate mm_dt_requiredfield"
- name="${question}" value="<mm:present referid="answer"><mm:write
referid="answer" escape="text/plain"/></mm:present>"/>
- <br/>
+ name="${question}" value="${answer}"/>
+ <br/><!-- wtf -->
</mm:compare>
-</mm:node>
-</mm:cloud>
-</mm:content>
+ </mm:node>
+ </mm:cloud>
+ </mm:content>
+</jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs