This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git The following commit(s) were added to refs/heads/master by this push: new f13f151 Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)" f13f151 is described below commit f13f151cc3bea7eb2367433abbb80b83d1cbe866 Author: Jacques Le Roux <[hidden email]> AuthorDate: Fri Dec 18 11:17:46 2020 +0100 Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)" Amends the documentation, it does not work when using <<target="javascript:........>> Thanks: James for report --- dtds/widget-form.xsd | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd index 496d943..c989030 100644 --- a/dtds/widget-form.xsd +++ b/dtds/widget-form.xsd @@ -968,7 +968,7 @@ under the License. <xs:attribute type="xs:string" name="description"> <xs:annotation> <xs:documentation> - Specifies the string to display, can use the ${} syntax to insert context values; + Specifies the string to display, can use the ${} syntax to insert context values; if empty the value of the field will be printed for a default. </xs:documentation> </xs:annotation> @@ -976,7 +976,7 @@ under the License. <xs:attribute type="xs:integer" name="size"> <xs:annotation> <xs:documentation> - Specifies the size of the field (as a number of characters), + Specifies the size of the field (as a number of characters), when the text to display exceed the given size it is truncated and add the complete text as a hint </xs:documentation> </xs:annotation> @@ -1167,7 +1167,11 @@ under the License. </xs:attribute> <xs:attribute name="target-type" default="intra-app"> <xs:annotation> - <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation> + <xs:documentation> + Deprecated - use the url-mode attribute. + Actually url-mode does not work when a form like target="javascript: is used + Better let it like it is, see OFBIZ-12091 + </xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> @@ -1743,7 +1747,11 @@ under the License. <xs:attribute type="xs:string" name="use-when" /> <xs:attribute name="target-type" default="intra-app"> <xs:annotation> - <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation> + <xs:documentation> + Deprecated - use the url-mode attribute. + Actually url-mode does not work when a form like target="javascript: is used + Better let it like it is, see OFBIZ-12091 + </xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:token"> |
Free forum by Nabble | Edit this page |