Edit restrictions without WOLVW can be useful in cases when you want to invoke the constraint editor, for example editing form.
Page with example:
The button is called the constraint editor
After clicking the button to Apply» «text representation of the functions is updated in the text boxes of the form.
In the implemented example, the constraint editor is started as follows:
- The button is hung up the handler to open the editor restrictions.
- A session key.
- Each time you restart the session key is read recorded there the limit (if nothing is recorded, then recorded the empty constraint).
- Open the editor restrictions on session key gets the current limit.
- When pressed
Применить, the restriction is recorded in the session. In the implemented example also is configured to reload the parent page, allowing privacitat from the session object with a limit and somehow display it on the interface.