Update of /var/cvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/attachments In directory james.mmbase.org:/tmp/cvs-serv10063/cmsc/basicmodel/src/webapp/editors/config/attachments
Modified Files: search_contentelement_posrel_attachments.xml Log Message: CMSC-1255 - Change the editwizards to make the fields read only See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/attachments See also: http://www.mmbase.org/jira/browse/CMSC-1255 Index: search_contentelement_posrel_attachments.xml =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/attachments/search_contentelement_posrel_attachments.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- search_contentelement_posrel_attachments.xml 6 Jan 2009 03:01:07 -0000 1.6 +++ search_contentelement_posrel_attachments.xml 11 Feb 2009 10:18:05 -0000 1.7 @@ -8,12 +8,12 @@ <title xml:lang="zh">é件</title> <item> - <field name="title" dtrequired="true"> + <field name="title" ftype="data" dtrequired="true"> <prompt xml:lang="en">Title</prompt> <prompt xml:lang="nl">Titel</prompt> <prompt xml:lang="zh">æ é¢</prompt> </field> - <field name="description" ftype="text" rows="3"> + <field name="description" ftype="data" rows="3"> <prompt xml:lang="en">Description</prompt> <prompt xml:lang="nl">Omschrijving</prompt> <prompt xml:lang="zh">æè¿°</prompt> @@ -66,7 +66,7 @@ </search-filter> </command> - <command name="insert" objectnumber="new"> + <command name="startwizard" inline="true" wizardname="config/attachments/attachments" objectnumber="new"> <prompt xml:lang="en">New</prompt> <prompt xml:lang="nl">Nieuw</prompt> <prompt xml:lang="zh">æ°å»º</prompt> @@ -75,7 +75,6 @@ <action type="create"> <relation destinationtype="attachments" role="posrel"> <field name="pos">{sum(//relati...@role='posrel' and @firstitem='true']/obje...@type='attachments']/../fie...@name='pos'])-{$pos}}</field> - <object type="attachments"></object> </relation> </action> </list> \ No newline at end of file _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs