1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
<!--
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2018 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-->
<refentry id="vspx_error_summary">
<refmeta>
<refentrytitle>vspx_error_summary</refentrytitle>
<refmiscinfo>vspx_control</refmiscinfo>
</refmeta>
<refnamediv>
<refname>vspx_error_summary</refname>
<refpurpose>placeholder for error messages.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis id="syn_vspx_error_summary">
<funcprototype id="proto_vspx_error_summary">
<funcdef>
<function>error-summary</function>
</funcdef>
<attributes>
<attribute>name (required) </attribute>
<attribute>annotation (optional) </attribute>
<attribute>initial-enable (optional) </attribute>
</attributes>
<childs />
<class>
<screen><![CDATA[
This control will not be instantiated. On it's place will be rendered vc_error_message of control which fails validation.
]]>
</screen>
</class>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="desc_vspx_error_summary">
<title>Description</title>
<para>
<function>vspx_error_summary</function>Placeholder for form error messages.
This is used on a form to mark where error messages resulting from field or form validation are to be placed.
This will be rendered if the vc_is_valid member of the enclosing page is false.
If rendered, this prints an error message generated by a validator or a catch handler.</para>
</refsect1>
<refsect1 id="attrs_vspx_error_summary">
<title>Attributes</title>
<refsect2>
<title>name</title>
<para>A unique name identifying the control.</para>
</refsect2>
<refsect2>
<title>annotation</title>
<para>A human readable comment.</para>
</refsect2>
<refsect2>
<title>initial-enable</title>
<para>Designates is control visible or not initially. Could be data-bound to an SQL expression.</para>
</refsect2>
</refsect1>
<refsect1 id="childs_vspx_error_summary">
<title>Children</title>
</refsect1>
<refsect1 id="examples_vspx_error_summary">
<title>Examples</title>
<example id="ex_vspx_error_summary">
<title>Simple example</title>
<para>
This is to specify where to draw error
</para>
<screen><![CDATA[
<p>
<font style="color:red"><v:error-summary /></font>
</p>
]]>
</screen>
</example>
</refsect1>
</refentry>
|