Author: bpapez
Date: Mon Jan 14 15:10:16 2008
New Revision: 19506
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19506&repname=
=3Djahia
Log:
JAHIA-2688: 4.2 : check problem when creating a page with no title
- added checks in main and left menu that page title is mandatory if a dire=
ct or link page option is selected
Modified:
branches/JAHIA-4-1-BRANCH/etc/struts/corporateportal-validation.xml
Modified: branches/JAHIA-4-1-BRANCH/etc/struts/corporateportal-validation.x=
ml
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-4-1-BR=
ANCH/etc/struts/corporateportal-validation.xml&rev=3D19506&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-4-1-BRANCH/etc/struts/corporateportal-validation.xml (or=
iginal)
+++ branches/JAHIA-4-1-BRANCH/etc/struts/corporateportal-validation.xml Mon=
Jan 14 15:10:16 2008
@@ -48,6 +48,16 @@
<field property=3D"blogDate" depends=3D"required">
<arg0 key=3D"label.date"/> =
</field>
- </form> =
+ </form>
+ <form name=3D"topMenuValidationBean">
+ <field property=3D"topLink" depends=3D"requiredIfLinkValid">
+ <arg0 key=3D"label.title"/> =
+ </field>
+ </form> =
+ <form name=3D"linkValidationBean">
+ <field property=3D"link" depends=3D"requiredIfLinkValid">
+ <arg0 key=3D"label.title"/> =
+ </field>
+ </form> =
</formset>
</form-validation>
\ No newline at end of file
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list