[limb-svn] r5223 - in 3.x/limb/wact: src/compiler/parser src/components/form src/tags/form tests/cases/functional tests/cases/tags/form
svn at limb-project.com
svn at limb-project.com
Tue Mar 13 16:31:39 MSK 2007
Author: serega
Date: 2007-03-13 16:31:39 +0300 (Tue, 13 Mar 2007)
New Revision: 5223
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5223
Added:
3.x/limb/wact/src/tags/form/form_field_errors.tag.php
3.x/limb/wact/tests/cases/tags/form/WactFormFieldErrorsTagTest.class.php
Modified:
3.x/limb/wact/src/compiler/parser/WactHTMLParser.class.php
3.x/limb/wact/src/compiler/parser/WactNodeBuilder.class.php
3.x/limb/wact/src/components/form/WactFormComponent.class.php
3.x/limb/wact/src/tags/form/form_errors.tag.php
3.x/limb/wact/tests/cases/functional/WactTagAttributesTest.class.php
3.x/limb/wact/tests/cases/tags/form/WactFormErrorsTagTest.class.php
3.x/limb/wact/tests/cases/tags/form/WactFormTagTest.class.php
Log:
-- new tag <form:field_errors> that allows to render all validation errors for every form field using nested <list:list> tag. No need to specify "target" attribute as with old version of <form:errors> tag. <form:field_errors> supports "for" attribute that maked the tag fill nested <list:list> tag with errors that are belongs to the specified field only.
-- <form:errors> tag now requires closing tag. "for" attribute is no longer supported - use <form:field_errors> instead. For now <form:errors> tag searches for child <list:list> and puts form validation errors to it. Old short notation with "target" is supported too for BC.
-- now it's ok to write tag attribute with an empty value, e.g. <p extra=""/>. WACT compiler will not generate an exception in this case anymore.
More information about the limb-svn
mailing list