Commit ec30972e authored by Sven Franck's avatar Sven Franck

updated JSON api for fieldlists, added new JSON config files

parent 30ba9220
......@@ -120,7 +120,7 @@
"icon": "user"
},
"middle": {
"href": "#person::20121115-586BC0F",
"href": "#person",
"href_title": null,
"href_i18n": null,
"title": "Account Info",
......
......@@ -5,7 +5,7 @@
"theme": "slapos-white",
"title": "Invoices",
"title_i18n": null,
"section_list": [{"type": "listbox", "span": 2, "gadget": "invoices_01"}]
"section_list": [{"type": "listbox", "gadget": "invoices_01"}]
}, {
"type": "invoice",
"meta": "View of a single invoice",
......
......@@ -32,7 +32,8 @@
"mergeable_columns": true
}
},
"layout": {
"layout": [{
"position": "center",
"columns": [
{"title": "id", "show": false, "priority": 5, "sort":true},
{"title": "invoice_date", "show": true, "sort":true,"persist": true},
......@@ -41,6 +42,6 @@
{"title": "translated_simulation_state_title", "show": true, "priority": 6, "sort":true },
{"title": "Download", "show": true, "persist": true, "actions": ["download"], "sort": false, "custom": true}
]
},
}],
"actions": []
}
\ No newline at end of file
......@@ -3,18 +3,17 @@
"type": "person",
"meta": "Overview of persons associated with this account",
"theme": "slapos-white",
"title": "Personal Details",
"title": "Persons",
"title_i18n": null,
"section_list": [{"type": "listbox", "span": 2, "gadget": "person_01"}]
"section_list": [{"type": "listbox", "gadget": "person_01"}]
}, {
"type": "person",
"meta": "View of a single person",
"theme": "slapos-white",
"title": "Person",
"title": "Personal Details",
"title_i18n": null,
"section_list": [
{"type": "listbox", "span": 2, "gadget": "person_01"},
{"type": "listbox", "span": 2, "gadget": "invoices_01"}
{"type": "fieldlist", "gadget": "person_01_details"}
]
}
]
\ No newline at end of file
......@@ -2,36 +2,24 @@
"portal_type_source": "Person",
"portal_type_title": "person",
"portal_type_fields": "person_fields",
"base_element": {"type": "table", "direct": {"id": "person_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_persons","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"base_element": {"type": "table", "direct": {"id": "person_01","className":"table-stroke ui-responsive"}, "attributes": {"data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1}, "logic": {}},
"form_wrapper": null,
"initial_query": {"include_documents": true, "limit":[0,10]},
"configuration": {
"wrapper": [
{"pagination": true, "slot": "4", "widget": {"type": "controlgroup", "widget_class": "pagination", "direction": "horizontal"},"children":[
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"},"logic":{"text":"First"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic":{"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_person_01", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "10", "text": "10", "data-i18n":"", "selected":"", "disabled":""},{"value": "25", "text": "25", "data-i18n":"", "selected":"", "disabled":""},{"value": "50", "text": "50", "data-i18n":"", "selected":"", "disabled":""}]}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic":{"text":"Step Forward"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic":{"text": "Last"}}]}
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_person", "className": "action"},"attributes":{"data-action":"search", "data-enhanced":"true", "data-i18n": "","placeholder":"Search Persons", "data-icon":"search", "data-type":"search", "type":"search"},"logic":{"clear":"true"}}, "children":[]},
{"record_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}}, "children":[]},
{"select_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}}, "children":[]},
{"filter_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}}, "children":[]}
],
"wrapper": [],
"controlbar": [],
"table": {
"select_all": true,
"checkbox_rows": true,
"sorting_columns": true,
"linkable_rows": true
"linkable_rows": true,
"mergeable_columns": true
}
},
"layout": {
"layout": [{
"position": "center",
"columns": [
{"title": "default_email_url_string", "show": true, "priority": 6, "sort":true},
{"title": "first_name", "show": true, "priority": 6, "sort": true}
{"title": "first_name", "show": true, "sort": true},
{"title": "last_name", "show": true, "merge": "first_name", "merge_title": "Usual Name"},
{"title": "default_email_text", "show": true, "sort":true}
]
},
}],
"actions": []
}
\ No newline at end of file
{
"portal_type_source": "Person",
"portal_type_title": "person",
"portal_type_fields": "person_fields",
"form_wrapper": "person_fieldlist_form",
"initial_query": null,
"configuration": {
"controlbar": [],
"fieldlist": {
"editable": true
}
},
"layout": [{
"position": "left",
"fieldlist": [
{"title": "gender"},
{"title": "first_name"},
{"title": "last_name"},
{"title": "default_email_text"},
{"title": "default_telephone_text"},
{"title": "default_mobile_telephone_text"},
{"title": "default_fax_text"},
{"title": "default_address_street_address"},
{"title": "default_address_city"},
{"title": "default_address_zip_code"},
{"title": "default_address_region"},
{"title": "nationality"}
]
}, {
"position": "right",
"fieldlist": [
{"title": "reference"},
{"title": "password"},
{"title": "password_confirm"},
{"title": "default_credential_question_question"},
{"title": "default_credential_question_question_free_text"},
{"title": "default_credential_question_answer"},
{"title": "date_of_birth"},
{"title": "corporate_name"},
{"title": "role_list"},
{"title": "activity_list"},
{"title": "function"},
{"title": "site"},
{"title": "skill_list"}
]
}, {
"position": "center",
"fieldlist": [
{"title": "description"}
]
}],
"actions": []
}
[
{
"Group": null,
"career_subordination_title": null,
"first_name": "Sven",
"State": "Draft",
"career_role_list": "Employee",
"Address (Full Text)": "86, Avenue des Muy\nAppt. 33\n3ieme Etage\n59800 Lille\nFrance",
"Function": "Director",
"default_fax": "+45123300012",
"description": "Test account",
"default_email_url_string": "svenfranck@hoo.com",
"Nationality": null,
"Origin Campaign": null,
"Gender": "Male",
"Region": "France",
"Activity": null,
"Login": null,
"destination_reference": "P000009",
"Usual Name": "Sven Franck",
"last_name": "Franck",
"default_telephone": "+49123456789",
"Marital Status": null,
"Owner": "ERP5TypeTestCase",
"Product Interest": null,
"Skill": null
}
]
\ No newline at end of file
{
"default_fax": {
"type":"Stringfield",
"password_confirm": {
"type":"PasswordField",
"widget": {
"id": "default_fax",
"alternate_name": "default_fax",
"id": "password_confirm",
"title": "Re-Enter Password",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "password_confirm",
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "Password and confirm don't match.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"activity_list": {
"type":"MultiListField",
"widget": {
"id": "activity_list",
"title": "Activities",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "activity_list",
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"corporate_name": {
"type":"StringField",
"widget": {
"id": "corporate_name",
"title": "Corporation",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "corporate_name",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"date_of_birth": {
"type":"DateTimeField",
"widget": {
"id": "date_of_birth",
"title": "Date of Birth",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "date_of_birth",
"default": null,
"css_class": null,
"hidden": null,
"default_to_know": null,
"data_separator": null,
"time_separator": null,
"input_style": null,
"input_order": null,
"display_date_only": true,
"am_pm time style": null,
"display_timezone": null,
"hide_day": null,
"hidden_day_is_last_day_of_the_month": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"start_datetime": null,
"end_datetime": null,
"allow_empty_datetime": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"not_datetime": {
"message": "You did not enter a valid datetime",
"i18n": ""
},
"datetime_out_of_range": {
"message": "The date and time you entered are out of range",
"i18n":""
}
}
},
"default_address_city": {
"type":"StringField",
"widget": {
"id": "default_address_city",
"title": "City",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_address_city",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"default_address_region": {
"type":"ListField",
"widget": {
"id": "default_address_region",
"title": "Region",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "default_address_region",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"default_address_street_address": {
"type":"TextareaField",
"widget": {
"id": "default_address_street_address",
"title": "Street Address",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"alternate_name": "default_address_street_address",
"css_class": null,
"hidden": null,
"width":null,
"height":null,
"extra":null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_lines": null,
"maximum_length_of_line": null,
"maximum_characters": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found",
"i18n": ""
},
"too_many_lines": {
"message": "You entered too many lines",
"i18n": ""
},
"line_too_long": {
"message": "A line was too long",
"i18n": ""
},
"too_long": {
"message": "You entered too many characters.",
"i18n": ""
}
}
},
"default_address_zip_code": {
"type":"StringField",
"widget": {
"id": "default_address_zip_code",
"title": "Postal Code",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_address_zip_code",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"default_credential_question_answer": {
"type":"StringField",
"widget": {
"id": "default_credential_question_answer",
"title": "Answer",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_credential_question_answer",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"default_credential_question_question": {
"type":"ListField",
"widget": {
"id": "default_credential_question_question",
"title": "Security Question",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "default_credential_question_question",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"default_credential_question_question_free_text": {
"type":"StringField",
"widget": {
"id": "default_credential_question_question_free_text",
"title": "Or Write your own Question",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_credential_question_question_free_text",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"default_email_text": {
"type":"EmailField",
"widget": {
"id": "default_email_text",
"title": "Email",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_email_text",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
},
"not_email": {
"message": "You did not enter an email address.",
"i18n": ""
}
}
},
"default_fax_text": {
"type":"StringField",
"widget": {
"id": "default_fax_text",
"title": "Fax",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_fax_text",
"default": null,
"css_class": null,
"hidden": null
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"default_telephone": {
"type":"Stringfield",
"default_mobile_telephone_text": {
"type":"StringField",
"widget": {
"id": "default_telephone",
"alternate_name": "default_telephone",
"title": "Default Telephone",
"id": "default_mobile_telephone_text",
"title": "Mobile Telephone",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_mobile_telephone_text",
"default": null,
"css_class": null,
"hidden": null
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
......@@ -60,25 +581,66 @@
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input given.",
"i18n": ""
}
}
},
"default_telephone_text": {
"type":"StringField",
"widget": {
"id": "default_telephone_text",
"title": "Phone",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "default_telephone_text",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input given.",
"i18n": ""
}
}
},
"first_name": {
"type":"Stringfield",
"type":"StringField",
"widget": {
"id": "first_name",
"alternate_name": "first_name",
"title": "First Name",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "first_name",
"default": null,
"css_class": null,
"hidden": null,
......@@ -90,7 +652,7 @@
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
......@@ -101,25 +663,103 @@
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input given.",
"i18n": ""
}
}
},
"function": {
"type":"ListField",
"widget": {
"id": "function",
"title": "Function",
"title_i18n": "",
"description": "The function assigned to the person.",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "function",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"gender": {
"type":"ListField",
"widget": {
"id": "gender",
"title": "Gender",
"title_i18n": "",
"description": "The person's gender.",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "gender",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"last_name": {
"type":"Stringfield",
"type":"StringField",
"widget": {
"id": "last_name",
"alternate_name": "last_name",
"title": "Last Name",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "last_name",
"default": null,
"css_class": null,
"hidden": null,
......@@ -131,7 +771,7 @@
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
......@@ -142,27 +782,66 @@
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"nationality": {
"type":"ListField",
"widget": {
"id": "nationality",
"title": "Nationality",
"title_i18n": "",
"description": "The person's gender.",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "nationality",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"destination_reference": {
"type":"Stringfield",
"password": {
"type":"PasswordField",
"widget": {
"id": "destination_reference",
"alternate_name": "destination_reference",
"title": "Identifier",
"id": "password",
"title": "Choose a Password",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "password",
"hidden": null,
"display_width": null,
"maximum_input": null,
......@@ -172,7 +851,7 @@
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
......@@ -180,149 +859,162 @@
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"message": "Password and confirm don't match.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"career_subordination_title": {
"type":"RelationStringField",
"reference": {
"type":"StringField",
"widget": {
"id": "career_subordination_title",
"alternate_name": "career_subordination_title",
"title": "Organisation",
"id": "reference",
"title": "Desired Username",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"alternate_name": "reference",
"default": null,
"css_class": null,
"hidden": null,
"display_width": null,
"maximum_input": null,
"extra": null,
"update_method": null,
"jump_method": null,
"allow_jump": null,
"base_category": null,
"portal_type": null,
"allow_creation": null,
"container_getter_method": null,
"context_getter_method": null,
"catalog_index": null,
"relation_update_method": null,
"relation_forms": null,
"columns": null,
"default_sort": null,
"parameter_list": null,
"select_first_item": null,
"items": null,
"listbox_proxy_ids": null,
"size": null,
"extra_per_item": null
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null,
"maxiumum_lines": null,
"maxiumum_length_of_line": null
"truncate": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"message": "Selected login is already in use, please choose different one",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"too_long": {
"message": "Too much input give.",
"i18n": ""
}
}
},
"description": {
"type":"TextareaField",
"role_list": {
"type":"MultiListField",
"widget": {
"id": "description",
"alternate_name": "description",
"title": "Identifier",
"id": "role_list",
"title": "Roles",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description": "The roles of the person in the organisation.",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "role_list",
"hidden": null,
"width":null,
"height":null,
"extra":null
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_lines": null,
"maximum_length_of_line": null,
"maximum_characters": null
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"site": {
"type":"ListField",
"widget": {
"id": "site",
"title": "Site",
"title_i18n": "",
"description": "The site where the person is assigned.",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "site",
"hidden": null,
"items": null,
"size": null,
"extra": null,
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"unicode": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"message": "Input required but not found.",
"i18n": ""
},
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"career_role_list": {
"type":"ParallelListField",
"skill_list": {
"type":"MultiListField",
"widget": {
"id": "career_role_list",
"alternate_name": "career_role_list",
"title": "Role",
"id": "skill_list",
"title": "Categories",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description": "",
"description_i18n": "",
"default": null,
"css_class": null,
"alternate_name": "skill_list",
"hidden": null,
"items": null,
"size": null,
"view_separator": null,
"extra": null,
"extra_per_item": null,
"select_first_item": null,
"hash_script": null
"extra_per_item": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"required": true,
"unicode": null
},
"message": {
......@@ -330,30 +1022,31 @@
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found.",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"unknown_selection": {
"message": "You selected an item that was not in the list.",
"i18n": ""
}
}
},
"default_email_url_string": {
"type":"Stringfield",
"description": {
"type":"TextareaField",
"widget": {
"id": "default_fax",
"alternate_name": "default_fax",
"title": "Email",
"id": "description",
"title": "Description",
"title_i18n": "",
"description": "The name of a document in ERP5",
"description_i18n": "",
"default": null,
"alternate_name": "description",
"css_class": null,
"hidden": null,
"maximum_input": null,
"extra": null
"width":null,
"height":null,
"extra":null
},
"properties": {
"enabled": true,
......@@ -362,20 +1055,29 @@
"required": null,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
"maximum_lines": null,
"maximum_length_of_line": null,
"maximum_characters": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": ""
},
"form_invalidated": {
"message": "Form invalidated.",
"required_not_found": {
"message": "Input required but not found",
"i18n": ""
},
"required_not_found": {
"message": "Input is required but no input given.",
"too_many_lines": {
"message": "You entered too many lines",
"i18n": ""
},
"line_too_long": {
"message": "A line was too long",
"i18n": ""
},
"too_long": {
"message": "You entered too many characters.",
"i18n": ""
}
}
......
[
{
"gender": "male",
"first_name": "Sven",
"last_name": "Franck",
"default_address_street_address": "86, Avenue des Muy\nAppt. 33\n3ieme Etage",
"default_address_city": "Lille",
"default_address_region": "France",
"default_address_zip_code": "59800",
"default_telephone_text": "+49123456789",
"default_mobile_telephone_text": "+49123456789",
"default_fax_text": "+45123300012",
"default_email_text": "svenfranck@hoo.com",
"nationality": "German",
"corporate_name": null,
"role_list": null,
"date_of_birth": null,
"description": "Test account",
"activity_list": null,
"reference": null,
"password": null,
"confirm_password": null,
"default_credential_question_question": null,
"default_credential_question_question_free_text": null,
"default_credential_question_answer": null,
"skill_list": null,
"site": null
}
]
{
"portal_type_source": "Software Subscriptions",
"portal_type_title": "software",
"portal_type_fields": "person_fields",
"base_element": {"type": "table", "direct": {"id": "person_01","className":"table-stroke ui-responsive"}, "attributes": {"data-filter":"true", "data-input":"#global_search_persons","data-mode": "columntoggle","data-use-pop": false,"data-wrap": "both","data-top-grid": 3,"data-bottom-grid": 1, "data-sorting":"true"}, "logic": {}},
"form_wrapper": null,
"initial_query": {"include_documents": true, "limit":[0,10]},
"configuration": {
"wrapper": [
{"pagination": true, "slot": "4", "widget": {"type": "controlgroup", "widget_class": "pagination", "direction": "horizontal"},"children":[
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"},"logic":{"text":"First"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic":{"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_person_01", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "10", "text": "10", "data-i18n":"", "selected":"", "disabled":""},{"value": "25", "text": "25", "data-i18n":"", "selected":"", "disabled":""},{"value": "50", "text": "50", "data-i18n":"", "selected":"", "disabled":""}]}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic":{"text":"Step Forward"}},
{"type":"a", "direct":{"href":"", "className":"action"}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic":{"text": "Last"}}]}
],
"controlbar": [
{"global_search": true, "element": {"type": "input", "direct":{"id":"global_search_person", "className": "action"},"attributes":{"data-action":"search", "data-enhanced":"true", "data-i18n": "","placeholder":"Search Persons", "data-icon":"search", "data-type":"search", "type":"search"},"logic":{"clear":"true"}}, "children":[]},
{"record_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"records"}}, "children":[]},
{"select_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"selected"}}, "children":[]},
{"filter_info": true, "element": {"type": "div", "direct": {"className":"info"}, "attributes": {"data-info":"filter"}}, "children":[]}
],
"table": {
"select_all": true,
"checkbox_rows": true,
"sorting_columns": true,
"linkable_rows": true
}
},
"layout": {
"columns": [
{"title": "default_email_url_string", "show": true, "priority": 6, "sort":true},
{"title": "first_name", "show": true, "priority": 6, "sort": true}
]
},
"actions": []
}
\ No newline at end of file
[
{"title": "[EXPERIMENTAL] KVM", "img": "https://www.slapos.org/software_product_module/2/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] NoSQL Tester", "img": "https://www.slapos.org/software_product_module/20110224-62E5/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] SlapOS Web Runner", "img": "https://www.slapos.org/software_product_module/20110316-88D7/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] ERP5 scalability testbed", "img": "?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] MariaDB", "img": "https://www.slapos.org/software_product_module/20110615-12741/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] MySQL", "img": "https://www.slapos.org/software_product_module/20110615-218B0/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Kumofs", "img": "https://www.slapos.org/software_product_module/20110615-176F8/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Memcached", "img": "https://www.slapos.org/software_product_module/20110615-69F4/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Zabbix Agent", "img": "https://www.slapos.org/software_product_module/20110613-107B5/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] ERP5", "img": "https://www.slapos.org/software_product_module/20110616-1118E/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] ERP5 Test Node", "img": "https://www.slapos.org/software_product_module/20110620-F42E/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] SlapOS Master", "img": "https://www.slapos.org/software_product_module/20110715-1D213/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] XWiki", "img": "https://www.slapos.org/software_product_module/20110824-20E3C/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Davstorage", "img": "https://www.slapos.org/software_product_module/20110926-3C35A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Wordpress", "img": "https://www.slapos.org/software_product_module/20110926-2E47E/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Cubrid", "img": "https://www.slapos.org/software_product_module/20110927-12C18/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] OS-Commerce", "img": "https://www.slapos.org/software_product_module/20111020-731/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] openX", "img": "https://www.slapos.org/software_product_module/20111020-16BCD/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Magento", "img": "https://www.slapos.org/software_product_module/20111020-67FC3/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Joomla", "img": "https://www.slapos.org/software_product_module/20111020-65455/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] EZPublish", "img": "https://www.slapos.org/software_product_module/20111020-30C52/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] eSKUeL", "img": "https://www.slapos.org/software_product_module/20111020-14923/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] B2Evolution", "img": "https://www.slapos.org/software_product_module/20111020-319F7/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Net2FTP", "img": "https://www.slapos.org/software_product_module/20111020-521C4/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Zencart", "img": "https://www.slapos.org/software_product_module/20111020-1CA80/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Xoops", "img": "https://www.slapos.org/software_product_module/20111020-3CDE0/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Tiki", "img": "https://www.slapos.org/software_product_module/20111020-4FC1/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Sugar-CRM", "img": "https://www.slapos.org/software_product_module/20111020-16317/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] StatusNET", "img": "https://www.slapos.org/software_product_module/20111020-4841F/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] SPIP", "img": "https://www.slapos.org/software_product_module/20111020-9D18/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] PunBB", "img": "https://www.slapos.org/software_product_module/20111020-DDFE/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Prestashop", "img": "https://www.slapos.org/software_product_module/20111020-171BA/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Piwik", "img": "https://www.slapos.org/software_product_module/20111020-1F217/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Piwigo", "img": "https://www.slapos.org/software_product_module/20111020-4816C/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Pimcore", "img": "https://www.slapos.org/software_product_module/20111020-1FE0A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] PHPNuke", "img": "https://www.slapos.org/software_product_module/20111020-18031/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Drupal", "img": "https://www.slapos.org/software_product_module/20111020-15AF7/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Dotproject", "img": "https://www.slapos.org/software_product_module/20111020-E587/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Dotclear", "img": "https://www.slapos.org/software_product_module/20111020-42A1B/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Coppermine", "img": "https://www.slapos.org/software_product_module/20111020-37C35/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Cmsmadesimple", "img": "https://www.slapos.org/software_product_module/20111020-8B94/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] SilverStripe", "img": "https://www.slapos.org/software_product_module/20111020-10335/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] PHPBB", "img": "https://www.slapos.org/software_product_module/20111020-2F0BF/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] MediaWiki", "img": "https://www.slapos.org/software_product_module/20111020-358A4/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] PHPMyAdmin", "img": "https://www.slapos.org/software_product_module/20111007-24FAC/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Seleniumrunner", "img": "https://www.slapos.org/software_product_module/20111021-7F80A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Apache Frontend", "img": "https://www.slapos.org/software_product_module/20111115-55D1E/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Cloudooo", "img": "https://www.slapos.org/software_product_module/20111214-A01A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] OCCI - XWiki", "img": "https://www.slapos.org/software_product_module/20120305-70664/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Slap Test Agent", "img": "https://www.slapos.org/software_product_module/20120413-7E531/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] HTML5 Application Server", "img": "https://www.slapos.org/software_product_module/20120412-853D9/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] LXC", "img": "https://www.slapos.org/software_product_module/20120726-63A78/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Gitrepo", "img": "https://www.slapos.org/software_product_module/20120818-25A2/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Condor", "img": "https://www.slapos.org/software_product_module/20120911-1103A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] BOINC Client", "img": "https://www.slapos.org/software_product_module/20120911-A661D/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] BOINC Server", "img": "https://www.slapos.org/software_product_module/20120911-5F9C9/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Maarch", "img": "https://www.slapos.org/software_product_module/20120926-1D5F9/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] PostgresSQL", "img": "https://www.slapos.org/software_product_module/20130129-29F8A/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] DokuWiki", "img": "https://www.slapos.org/software_product_module/20130312-497E4/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] OpenGoo", "img": "https://www.slapos.org/software_product_module/20130312-5AD7B/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Feng Office", "img": "https://www.slapos.org/software_product_module/20130312-56431/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Tiny Tiny RSS", "img": "https://www.slapos.org/software_product_module/20130427-5FF27/default_image?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Etherpad lite", "img": "?quality=75&display=thumbnail"},
{"title": "[EXPERIMENTAL] Slapos Setup Tester", "img": "https://www.slapos.org/software_product_module/20130805-8A3E5/default_image?quality=75&display=thumbnail"}
]
\ 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