source: products/qPloneDropDownMenu/tags/0.1.11/skins/qPloneDropDownMenu/validate_dropdownmenu_edit.vpy @ 1591

Last change on this file since 1591 was 1, checked in by myroslav, 19 years ago

Building directory structure

File size: 400 bytes
Line 
1## Controlled Python Script "validate_dropdownmenu"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind state=state
7##bind subpath=traverse_subpath
8##parameters=
9##title=Validates a drop down menu edit_form contents
10##
11
12if state.getErrors():
13    return state.set(status='failure', portal_status_message='Please correct the indicated errors.')
14return state
Note: See TracBrowser for help on using the repository browser.