Update of
/var/cvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/urls
In directory
james.mmbase.org:/tmp/cvs-serv11403/cmsc/basicmodel/src/webapp/editors/config/urls
Modified Files:
search_link_posrel_urls.xml search_faqitem_posrel_urls.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/urls
See also: http://www.mmbase.org/jira/browse/CMSC-1255
Index: search_link_posrel_urls.xml
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/urls/search_link_posrel_urls.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- search_link_posrel_urls.xml 6 Feb 2009 06:08:19 -0000 1.10
+++ search_link_posrel_urls.xml 11 Feb 2009 10:46:48 -0000 1.11
@@ -6,17 +6,17 @@
<title xml:lang="zh">Url</title>
<item>
- <field name="title">
+ <field name="title" ftype="data">
<prompt xml:lang="en">Name</prompt>
<prompt xml:lang="nl">Naam</prompt>
<prompt xml:lang="zh">åç§°</prompt>
</field>
- <field name="url" dtpattern="\://|javascript\:|mailto\:"
dtrequired="true">
+ <field name="url" dtpattern="\://|javascript\:|mailto\:"
dtrequired="true" ftype="data">
<prompt xml:lang="en">Url</prompt>
<prompt xml:lang="nl">Url</prompt>
<prompt xml:lang="zh">Url</prompt>
</field>
- <field dtrequired="false" ftype="text" name="description"
rows="3">
+ <field name="description" dtrequired="false" ftype="data"
rows="3">
<prompt xml:lang="en">Description</prompt>
<prompt xml:lang="nl">Omschrijving</prompt>
<prompt xml:lang="zh">æè¿°</prompt>
@@ -53,7 +53,7 @@
</search-filter>
</command>
- <command name="insert" objectnumber="new">
+ <command name="startwizard" inline="true" wizardname="config/urls/urls"
objectnumber="new">
<prompt xml:lang="en">New</prompt>
<prompt xml:lang="nl">Nieuw</prompt>
<prompt xml:lang="zh">æ°å»º</prompt>
@@ -62,7 +62,6 @@
<action type="create">
<relation destinationtype="urls" role="posrel">
<field name="pos">{sum(//relati...@role='posrel' and
@lastitem='true']/obje...@type='urls']/../fie...@name='pos'])+{$pos}}</field>
- <object type="urls" />
</relation>
</action>
</list>
\ No newline at end of file
Index: search_faqitem_posrel_urls.xml
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/basicmodel/src/webapp/editors/config/urls/search_faqitem_posrel_urls.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- search_faqitem_posrel_urls.xml 6 Feb 2009 06:08:19 -0000 1.8
+++ search_faqitem_posrel_urls.xml 11 Feb 2009 10:46:48 -0000 1.9
@@ -6,17 +6,17 @@
<title xml:lang="zh">Url</title>
<item>
- <field name="title">
+ <field name="title" ftype="data">
<prompt xml:lang="en">Name</prompt>
<prompt xml:lang="nl">Naam</prompt>
<prompt xml:lang="zh">åç§°</prompt>
</field>
- <field name="url" dtpattern="\://|javascript\:|mailto\:">
+ <field name="url" dtpattern="\://|javascript\:|mailto\:"
ftype="data">
<prompt xml:lang="en">Url</prompt>
<prompt xml:lang="nl">Url</prompt>
<prompt xml:lang="zh">Url</prompt>
</field>
- <field dtrequired="false" ftype="text" name="description"
rows="3">
+ <field name="description" dtrequired="false" ftype="data"
rows="3">
<prompt xml:lang="en">Description</prompt>
<prompt xml:lang="nl">Omschrijving</prompt>
<prompt xml:lang="zh">æè¿°</prompt>
@@ -53,7 +53,7 @@
</search-filter>
</command>
- <command name="insert" objectnumber="new">
+ <command name="startwizard" inline="true" wizardname="config/urls/urls"
objectnumber="new">
<prompt xml:lang="en">New</prompt>
<prompt xml:lang="nl">Nieuw</prompt>
<prompt xml:lang="zh">æ°å»º</prompt>
@@ -62,7 +62,6 @@
<action type="create">
<relation destinationtype="urls" role="posrel">
<field name="pos">{sum(//relati...@role='posrel' and
@lastitem='true']/obje...@type='urls']/../fie...@name='pos'])+{$pos}}</field>
- <object type="urls" />
</relation>
</action>
</list>
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs