Index: openacs-4/packages/ams/ams.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/ams.info,v diff -u -r1.17 -r1.18 --- openacs-4/packages/ams/ams.info 22 Nov 2005 16:56:33 -0000 1.17 +++ openacs-4/packages/ams/ams.info 4 Dec 2005 17:52:11 -0000 1.18 @@ -8,14 +8,14 @@ t ams - + Matthew Geddert Store attributes via the Content Repository, and auto generate input forms 2005-11-21 AMS (Attribute Management System) helps in customizing your website. It lets you adjust what information is collected and displayed for any package that is integrated with it. AMS allows you to easily and dynamically add attributes to forms and display pages, using a Tcl API or an admin interface. AMS uses the content repository to store attribute history for any object on the system. 0 - + @@ -27,9 +27,9 @@ - + Index: openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml 21 Oct 2005 14:06:55 -0000 1.7 +++ openacs-4/packages/ams/catalog/ams.de_DE.ISO-8859-1.xml 4 Dec 2005 17:52:12 -0000 1.8 @@ -1,5 +1,5 @@ - + Aktion Ein AMS Attribut hinzuf�gen @@ -58,4 +58,5 @@ Update Reihenfolge Website URL Widget + Ihre Strasse ist zu lange Index: openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml,v diff -u -r1.17 -r1.18 --- openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml 22 Nov 2005 16:57:04 -0000 1.17 +++ openacs-4/packages/ams/catalog/ams.en_US.ISO-8859-1.xml 4 Dec 2005 17:52:12 -0000 1.18 @@ -438,4 +438,5 @@ Work Permits You must provide either <b>list_id</b> or <b>list_name</b> You must provide either <b>list_name</b> or <b>list_names</b> + Your delivery address is too long Index: openacs-4/packages/ams/tcl/address-widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/address-widget-procs.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/ams/tcl/address-widget-procs.tcl 13 Sep 2005 09:22:05 -0000 1.11 +++ openacs-4/packages/ams/tcl/address-widget-procs.tcl 4 Dec 2005 17:52:12 -0000 1.12 @@ -171,6 +171,9 @@ # to deal with this change lappend message "[_ ams.Your_entry_must_not_contain_the_following_characters]: \{ \}." } + if {[::string length $delivery_address] > [parameter::get_from_package_key -parameter "DefaultStreetSize" -package_key "ams" -default "100"] } { + lappend message "[_ ams.Your_delivery_address_is_too_long]" + } # Country Specific Validation switch $country_code { @@ -456,7 +459,7 @@ append output " - + @@ -476,9 +479,9 @@ " } else { append output " - - - + + +
[_ ams.delivery_address]
[_ ams.postal_code]