Update of
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/learnblocks
In directory james.mmbase.org:/tmp/cvs-serv29260
Modified Files:
learnobjects.xml paragraphs.xml
Log Message:
cleaning
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/editwizards/data/config/learnblocks
Index: learnobjects.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/learnblocks/learnobjects.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- learnobjects.xml 20 Jul 2007 11:46:04 -0000 1.1
+++ learnobjects.xml 14 Feb 2008 13:29:04 -0000 1.2
@@ -4,18 +4,7 @@
<title xml:lang="nl">Bijbehorende leerobjecten</title>
<title xml:lang="en">Related learnobjects</title>
- <!--
- We want to list learnobjects, but there are objects that extend
learnobject that we want to show.
- if you do the following:
- <list destination="learnobjects" role="posrel">
- then you can't show the 'tests' or 'pages' items, since the editwizard
engine will simply discard
- them since they don't have the 'learnobject' type; it generates:
- <list destination="learnobjects" fdatapath="[EMAIL PROTECTED]'posrel'
and object/@type='learnobjects']" ...
-
-
- -->
- <list minoccurs="0" maxoccurs="*" ordertype="number" orderby="[EMAIL
PROTECTED]'pos']"
- fdatapath="[EMAIL PROTECTED]'posrel' and ( object/@type='learnblocks'
or object/@type='flashpages' or object/@type='tests' or object/@type='pages' or
object/@type='htmlpages')]"
+ <list minoccurs="0" maxoccurs="*" ordertype="number" orderby="[EMAIL
PROTECTED]'pos']" destination="learnobjects"
searchdir="destination">
<item>
<field name="name" ftype="data">
@@ -24,12 +13,7 @@
<description xml:lang="nl">Naam van het leerobject</description>
<description xml:lang="en">Name of the learnobject</description>
</field>
- <!--
- <field fdatapath="[EMAIL PROTECTED]'pos']" ftype="line">
- <prompt xml:lang="nl">Positie</prompt>
- <prompt xml:lang="en">Position</prompt>
- </field>
- -->
+ <field fdatapath="[EMAIL PROTECTED]'pos']" ftype="data" />
<field ftype="startwizard" inline="true" objectnumber="{object/@number}"
wizardname="config/{object/@type}/{object/@type}">
</field>
Index: paragraphs.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/learnblocks/paragraphs.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- paragraphs.xml 1 Feb 2008 17:40:30 -0000 1.2
+++ paragraphs.xml 14 Feb 2008 13:29:04 -0000 1.3
@@ -4,6 +4,9 @@
<title xml:lang="nl">Alineas invoeren</title>
<title xml:lang="en">Enter paragraphs</title>
<field name="name" ftype="data"/>
+ <!--
+ somethings goes wrong with this.
<field name="showtitle" />
+ -->
<list extends="config/paragraphs/add_paragraphs_posrel.xml"/>
</form-schema>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs