Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/editors/config/formfieldvalue
In directory
james.mmbase.org:/tmp/cvs-serv18207/portlets-dynamicforms/src/webapp/editors/config/formfieldvalue
Modified Files:
search_formfield_posrel_formfieldvalue.xml
Removed Files:
create_formfieldvalue.xml formfieldvalue.xml
load_formfieldvalue.xml edit_formfieldvalue.xml
delete_formfieldvalue.xml
Log Message:
CMSC-838 - A small step for the CMSc, but a huge improvement for men-kind, and
certainly for those who make a lot of dynamic forms.
- Changed a couple of fields from "text" to "line" in cases where never more
than one line of text is inserter.
- Made the formfieldvalues as inline instead of new wizard.
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/editors/config/formfieldvalue
See also: http://www.mmbase.org/jira/browse/CMSC-838
Index: search_formfield_posrel_formfieldvalue.xml
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/webapp/editors/config/formfieldvalue/search_formfield_posrel_formfieldvalue.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- search_formfield_posrel_formfieldvalue.xml 25 Jun 2008 13:11:04 -0000
1.6
+++ search_formfield_posrel_formfieldvalue.xml 24 Aug 2008 14:49:48 -0000
1.7
@@ -6,12 +6,12 @@
<title xml:lang="zh">è¡¨åæ¡å¼</title>
<item>
- <field name="value" ftype="data">
+ <field name="value" ftype="line">
<prompt xml:lang="en">Value</prompt>
<prompt xml:lang="nl">Waarde</prompt>
<prompt xml:lang="zh">å¼</prompt>
</field>
- <field name="text" ftype="data">
+ <field name="text" ftype="line">
<prompt xml:lang="en">Text</prompt>
<prompt xml:lang="nl">Tekst</prompt>
<prompt xml:lang="zh">ææ¬</prompt>
@@ -22,8 +22,6 @@
<prompt xml:lang="zh">æ å</prompt>
<optionlist select="boolean"></optionlist>
</field>
-
- <field ftype="startwizard"
wizardname="config/formfieldvalue/formfieldvalue" />
</item>
<command name="search" nodepath="formfieldvalue" age="-1" fields="value"
pagelength="20">
@@ -37,15 +35,17 @@
<search-fields>[value]</search-fields>
</search-filter>
</command>
- <command name="startwizard" inline="true"
wizardname="config/formfieldvalue/formfieldvalue" objectnumber="new">
+
+ <command name="insert" objectnumber="new">
<prompt xml:lang="en">New</prompt>
<prompt xml:lang="nl">Nieuw</prompt>
<prompt xml:lang="zh">æ°å»º</prompt>
</command>
<action type="create">
- <relation destinationtype="formfieldvalue" role="posrel">
+ <relation role="posrel">
<field name="pos">{sum(//[EMAIL PROTECTED]'posrel' and
@lastitem='true']/[EMAIL PROTECTED]'formfieldvalue']/../[EMAIL
PROTECTED]'pos'])+{$pos}}</field>
+ <object type="formfieldvalue" />
</relation>
</action>
</list>
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs