Commit 656e5554 authored by Fabien Morin's avatar Fabien Morin

Now, all constraint are required field too. This is because off the so...

Now, all constraint are required field too. This is because off the so horrible displaying of constraint errors. Required fields are very nice diplayed, and it's very easy to understand what is required and why it's not possible to save the document.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22799 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccef0e13
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts14388548.92</string> </value>
<value> <string>ts17524571.96</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
......
......@@ -15,27 +15,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts14822763.58</string> </value>
<value> <string>ts17523791.64</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
......
......@@ -112,7 +112,7 @@
.my_first_associate_date_class {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:150.588235294px; margin-top:688.342042755px; background:#F5F5DC; margin-left:622.521008403px; position:absolute}\n
.my_old_title_class {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:121.008403361px; margin-top:291.73871734px; background:#F5F5DC; margin-left:432.941176471px; position:absolute}\n
.my_new_headquarters_class {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:567.394957983px; margin-top:134.441805226px; background:#F5F5DC; margin-left:203.025210084px; position:absolute}\n
.my_date_class {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:86.0504201681px; margin-top:1040.57957245px; background:#F5F5DC; margin-left:685.714285714px; position:absolute}\n
.my_date_class {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:86.0504201681px; margin-top:1040.57957245px; background:rgb(236,245,220); margin-left:685.714285714px; position:absolute}\n
.my_second_administrator_birthday_class_1 {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:17.4789915966px; margin-top:868.494061758px; background:#F5F5DC; margin-left:274.285714286px; position:absolute}\n
.my_first_administrator_date_class_2 {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:36.3025210084px; margin-top:846.983372922px; background:#F5F5DC; margin-left:664.201680672px; position:absolute}\n
.my_second_administrator_birthday_class_3 {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:34.9579831933px; margin-top:868.494061758px; background:#F5F5DC; margin-left:309.243697479px; position:absolute}\n
......@@ -194,9 +194,9 @@
.my_signature_class {font-size:12px; height:29.5771971496px; padding:0px; width:44.3697478992px; margin-top:1059.40142518px; background:#F5F5DC; margin-left:726.050420168px; position:absolute}\n
.my_new_legal_form_class {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:104.87394958px; margin-top:169.396674584px; background:#F5F5DC; margin-left:244.705882353px; position:absolute}\n
.my_company_check_class {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:16.1344537815px; margin-top:34.9548693587px; background:#F5F5DC; margin-left:375.12605042px; position:absolute}\n
.my_date_class_1 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:#F5F5DC; margin-left:685.714285714px; position:absolute}\n
.my_date_class_2 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:#F5F5DC; margin-left:707.226890756px; position:absolute}\n
.my_date_class_3 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:43.025210084px; margin-top:1040.57957245px; background:#F5F5DC; margin-left:728.739495798px; position:absolute}\n
.my_date_class_1 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(236,245,220); margin-left:685.714285714px; position:absolute}\n
.my_date_class_2 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(236,245,220); margin-left:707.226890756px; position:absolute}\n
.my_date_class_3 {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:43.025210084px; margin-top:1040.57957245px; background:rgb(236,245,220); margin-left:728.739495798px; position:absolute}\n
.my_old_date_class {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:150.588235294px; margin-top:151.919239905px; background:#F5F5DC; margin-left:615.798319328px; position:absolute}\n
\n
/* error field classes */\n
......@@ -270,7 +270,7 @@
.my_first_associate_date_class_error {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:150.588235294px; margin-top:688.342042755px; background:rgb(255,64,64); margin-left:622.521008403px; position:absolute}\n
.my_old_title_class_error {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:121.008403361px; margin-top:291.73871734px; background:rgb(255,64,64); margin-left:432.941176471px; position:absolute}\n
.my_new_headquarters_class_error {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:567.394957983px; margin-top:134.441805226px; background:rgb(255,64,64); margin-left:203.025210084px; position:absolute}\n
.my_date_class_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:86.0504201681px; margin-top:1040.57957245px; background:rgb(255,64,64); margin-left:685.714285714px; position:absolute}\n
.my_date_class_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:86.0504201681px; margin-top:1040.57957245px; background:rgb(128,128,255); margin-left:685.714285714px; position:absolute}\n
.my_second_administrator_birthday_class_1_error {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:17.4789915966px; margin-top:868.494061758px; background:rgb(255,64,64); margin-left:274.285714286px; position:absolute}\n
.my_first_administrator_date_class_2_error {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:36.3025210084px; margin-top:846.983372922px; background:rgb(255,64,64); margin-left:664.201680672px; position:absolute}\n
.my_second_administrator_birthday_class_3_error {font-size:11.9774346793px; height:17.4774346793px; padding:0px; width:34.9579831933px; margin-top:868.494061758px; background:rgb(255,64,64); margin-left:309.243697479px; position:absolute}\n
......@@ -352,9 +352,9 @@
.my_signature_class_error {font-size:12px; height:29.5771971496px; padding:0px; width:44.3697478992px; margin-top:1059.40142518px; background:rgb(255,64,64); margin-left:726.050420168px; position:absolute}\n
.my_new_legal_form_class_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:104.87394958px; margin-top:169.396674584px; background:rgb(255,64,64); margin-left:244.705882353px; position:absolute}\n
.my_company_check_class_error {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:16.1344537815px; margin-top:34.9548693587px; background:rgb(255,64,64); margin-left:375.12605042px; position:absolute}\n
.my_date_class_1_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(255,64,64); margin-left:685.714285714px; position:absolute}\n
.my_date_class_2_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(255,64,64); margin-left:707.226890756px; position:absolute}\n
.my_date_class_3_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:43.025210084px; margin-top:1040.57957245px; background:rgb(255,64,64); margin-left:728.739495798px; position:absolute}\n
.my_date_class_1_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(128,128,255); margin-left:685.714285714px; position:absolute}\n
.my_date_class_2_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:21.512605042px; margin-top:1040.57957245px; background:rgb(128,128,255); margin-left:707.226890756px; position:absolute}\n
.my_date_class_3_error {font-size:9.28859857482px; height:14.7885985748px; padding:0px; width:43.025210084px; margin-top:1040.57957245px; background:rgb(128,128,255); margin-left:728.739495798px; position:absolute}\n
.my_old_date_class_error {font-size:10.6330166271px; height:16.1330166271px; padding:0px; width:150.588235294px; margin-top:151.919239905px; background:rgb(255,64,64); margin-left:615.798319328px; position:absolute}\n
\n
/* text_error field classes */ \n
......
......@@ -15,6 +15,27 @@
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......
......@@ -322,7 +322,7 @@
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>start_datetime</string> </key>
......
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts14822765.46</string> </value>
<value> <string>ts17523796.66</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
......@@ -889,7 +889,7 @@ aHJlYWRzIDggMCBSCi9QYWdlTGF5b3V0IC9TaW5nbGVQYWdlCi9WaWV3ZXJQcmVmZXJlbmNlcwo8
PAovUGFnZURpcmVjdGlvbiAvTDJSCiA+Pgo+PgplbmRvYmoKMiAwIG9iago8PAovQ3JlYXRvciAo
U2NyaWJ1cyAxLjMuMy4xMnN2bikKL1Byb2R1Y2VyIChTY3JpYnVzIFBERiBMaWJyYXJ5IDEuMy4z
LjEyc3ZuKQovVGl0bGUgPD4KL0F1dGhvciA8PgovS2V5d29yZHMgPD4KL0NyZWF0aW9uRGF0ZSAo
RDoyMDA4MDYzMDEyNDU0MikKL01vZERhdGUgKEQ6MjAwODA2MzAxMjQ1NDIpCi9UcmFwcGVkIC9G
RDoyMDA4MDczMTE4NTkzMykKL01vZERhdGUgKEQ6MjAwODA3MzExODU5MzMpCi9UcmFwcGVkIC9G
YWxzZQo+PgplbmRvYmoKOSAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL05h
bWUgL0ZvU3RkMAovQmFzZUZvbnQgL0hlbHZldGljYQovRW5jb2RpbmcgPDwgCi9EaWZmZXJlbmNl
cyBbIAoyNCAvYnJldmUgL2Nhcm9uIC9jaXJjdW1mbGV4IC9kb3RhY2NlbnQgL2h1bmdhcnVtbGF1
......@@ -13042,7 +13042,7 @@ MDA2OTAwNzQwMDZDMDA2NTAwM0EwMDRDMDA2NTAwMjMwMDY5MDA2RTAwNzAwMDc1MDA3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MzM+XQo+PgpzdGFydHhyZWYKNTU3MTMyCiUlRU9GCg==</string> </value>
SUQgWzwzNUY2OTU0RDc0MTkwQjMyNDhDQTRGREMwMDYyQzJCND48MzVGNjk1NEQ3NDE5MEIzMjQ4
Q0E0RkRDMDA2MkMyQjQ+XQo+PgpzdGFydHhyZWYKNTU3MTMyCiUlRU9GCg==</string> </value>
</item>
<item>
<key> <string>next</string> </key>
......
812
\ No newline at end of file
813
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment