cvs commit: jakarta-struts/doc/userGuide struts-html.xml
rleland 2004/02/01 10:53:05 Modified:doc/userGuide struts-html.xml Log: Small doc change place the code/code tag around the iterate tag. Revision ChangesPath 1.74 +8 -8 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- struts-html.xml 1 Feb 2004 16:15:07 - 1.73 +++ struts-html.xml 1 Feb 2004 18:53:05 - 1.74 @@ -138,8 +138,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Valid only inside of logic:iterate tag. If codetrue/code -then name of the html tag will be rendered as +Valid only inside of codelogic:iterate/code tag. +If codetrue/code then name of the html tag will be rendered as propertyName[34]. Number in brackets will be generated for every iteration and taken from ancestor logic:iterate tag. /info @@ -701,7 +701,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Valid only inside of logic:iterate tag. +Valid only inside of codelogic:iterate/code tag. If codetrue/code then name of the html tag will be rendered as id[34].propertyName. Number in brackets will be generated for every iteration and taken from ancestor logic:iterate tag. @@ -1091,7 +1091,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Valid only inside of logic:iterate tag. +Valid only inside of codelogic:iterate/code tag. If codetrue/code then name of the html tag will be rendered as id[34].propertyName. Number in brackets will be generated for every iteration and taken from ancestor logic:iterate tag. @@ -1967,7 +1967,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Valid only inside of logic:iterate tag. +Valid only inside of codelogic:iterate/code tag. If codetrue/code then name of the html tag will be rendered as id[34].propertyName. Number in brackets will be generated for every iteration and taken from ancestor logic:iterate tag. @@ -3491,9 +3491,9 @@ /attribute attribute - nameanchor/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue + nameanchor/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue info pOptional anchor tag (#xxx) to be added to the generated hyperlink. Specify this value strongwithout/strong any - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dmkarr 2004/01/24 10:46:27 Modified:doc/userGuide struts-html.xml Log: Added info element to new contextRelative attribute on html:img tag (I just took it from the patch description. Revision ChangesPath 1.72 +5 -0 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.71 retrieving revision 1.72 diff -u -r1.71 -r1.72 --- struts-html.xml 19 Jan 2004 04:43:09 - 1.71 +++ struts-html.xml 24 Jan 2004 18:46:27 - 1.72 @@ -2793,6 +2793,11 @@ namecontextRelative/name requiredfalse/required rtexprvaluetrue/rtexprvalue + info + pIf set to true, this anchors the image src at the + application context rather than the module context when the + 'page' attribute is used to specify an image path./p + /info /attribute attribute - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
husted 2004/01/18 05:14:42 Modified:doc/userGuide struts-html.xml Log: Apply #26127 html:img tag lacks action attribute suggested by Firepica. Revision ChangesPath 1.70 +23 -5 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- struts-html.xml 16 Jan 2004 04:12:06 - 1.69 +++ struts-html.xml 18 Jan 2004 13:14:42 - 1.70 @@ -2645,21 +2645,22 @@ pRenders an HTML codelt;imggt;/code element with the image at the specified URL. Like the link tag, URL rewriting will be applied automatically to the value -specified in codesrc/code or codepage/code, -to maintain session state +specified in codesrc/code, codepage/code, or +codeaction/code to maintain session state in the absence of cookies. This will allow dynamic generation of an image where the content displayed for this image will be taken from the attributes of this tag./p pThe base URL for this image is calculated directly based on -the value specified in codesrc/code or codepage/code, +the value specified in codesrc/code, codepage/code, or +codeaction/code or codepage/code, or indirectly by looking up a message resource string based on the codesrcKey/code or codepageKey/code attributes. You strongmust/strong specify exactly one of these attributes./p -pNormally, the codesrc/code or codepage/code that -you specify will be left +pNormally, the codesrc/code, codepage/code, or +codeaction/code that you specify will be left unchanged (other than URL rewriting if necessary). However, there are two ways you can append one or more dynamically defined query parameters to the codesrc/code URL -- @@ -3009,6 +3010,23 @@ used as the module-relative path for this image./p /info /attribute + +attribute + nameaction/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pThe action, starting with a slash, that will render + the image to be displayed by this tag. The rendered + URL for this image will automatically prepend the context + path of this web application (in the same manner as the + codeaction/code attribute on the link tag works), + in addition to any necessary URL rewriting. You + strongmust/strong specify the codeaction/code, + codepage/code + attribute or the codesrc/code attribute./p + /info +/attribute attribute nameparamName/name - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/12/13 13:14:01 Modified:doc/userGuide struts-html.xml Log: Specify XHTML 1.0 in html and xhtml tag docs. PR# 22283 Revision ChangesPath 1.66 +4 -3 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- struts-html.xml 17 Sep 2003 18:54:25 - 1.65 +++ struts-html.xml 13 Dec 2003 21:14:01 - 1.66 @@ -2240,7 +2240,7 @@ pSet to codetrue/code in order to render codexml:lang/code and codexmlns/code attributes on the generated codehtml/code element. This also - causes all other html tags to render as XHTML (the + causes all other html tags to render as XHTML 1.0 (the lt;html:xhtml/gt; tag has a similar purpose). /p /info @@ -6970,9 +6970,10 @@ info p Using this tag in a page tells all other html taglib tags -to render themselves as XHTML. This is useful +to render themselves as XHTML 1.0. This is useful when composing pages with JSP includes or Tiles. -lt;html:html xhtml=truegt; has a similar effect. +lt;html:html xhtml=truegt; has a similar effect. This +tag has no attributes; you use it like this: lt;html:xhtml/gt;. /p p strongNote/strong: Included pages do not inherit the rendering - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/09/09 16:50:34 Modified:doc/userGuide struts-html.xml Log: Added more info to xhtml tag and a reference to it from the html tag. PR# 23043 Revision ChangesPath 1.63 +9 -3 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- struts-html.xml 9 Sep 2003 17:49:18 - 1.62 +++ struts-html.xml 9 Sep 2003 23:50:34 - 1.63 @@ -2240,7 +2240,8 @@ pSet to codetrue/code in order to render codexml:lang/code and codexmlns/code attributes on the generated codehtml/code element. This also - causes all other html tags to render as xhtml. + causes all other html tags to render as XHTML (the + lt;html:xhtml/gt; tag has a similar purpose). /p /info sinceStruts 1.1/since @@ -6966,8 +6967,13 @@ p Using this tag in a page tells all other html taglib tags to render themselves as XHTML. This is useful -when composing pages with JSP includes or Tiles. This tag has the same effect -as using lt;html:html xhtml=truegt;. +when composing pages with JSP includes or Tiles. +lt;html:html xhtml=truegt; has a similar effect. + /p + p + strongNote/strong: Included pages do not inherit the rendering + style of the including page. Each JSP fragment or Tile must use this + tag to render as XHTML. /p /info - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/08/19 16:41:27 Modified:doc/userGuide struts-html.xml Log: Remove request scope references from html:messages. The messages are searched for in all scopes. Revision ChangesPath 1.60 +4 -4 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- struts-html.xml 10 Aug 2003 16:23:55 - 1.59 +++ struts-html.xml 19 Aug 2003 23:41:27 - 1.60 @@ -3837,7 +3837,7 @@ pDisplays a set of messages prepared by a business logic component and stored as an codeActionMessages/code object, codeActionErrors/code object, a String, -or a String array in request scope. If +or a String array in any scope. If such a bean is not found, nothing will be rendered./p pIn order to use this tag successfully, you must have @@ -3883,7 +3883,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - Name of the request scope bean under which our messages + Name of the bean in any scope under which our messages have been stored. If not present, the name specified by the codeAction.ERROR_KEY/code constant string will be used. /info @@ -3925,9 +3925,9 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - By default the tag will retrieve the request scope bean it will + By default the tag will retrieve the bean it will iterate over from the codeAction.ERROR_KEY/code constant string, - but if this attribute is set to 'true' the request scope bean + but if this attribute is set to 'true' the bean will be retrieved from the codeAction.MESSAGE_KEY/code constant string. Also if this is set to 'true', any value assigned to the name attribute will be ignored. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml struts-nested.xml
sraeburn2003/08/10 02:14:04 Modified:contrib/struts-el/src/share/org/apache/strutsel/taglib/html ELFormTag.java contrib/struts-el/doc/userGuide struts-html-el.xml src/share/org/apache/struts/taglib/html FormTag.java src/share/org/apache/struts/taglib/nested/html NestedFormTag.java doc/userGuide struts-html.xml struts-nested.xml Log: Removed deprecated FormTag attributes: name, scope, type Also affects nested and el form tags. I added a name property to NestedFormTag because it is used internally for nesting. Someone familiar with nested tags may know a better way. Revision ChangesPath 1.11 +5 -64 jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFormTag.java Index: ELFormTag.java === RCS file: /home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFormTag.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ELFormTag.java10 Aug 2003 00:48:28 - 1.10 +++ ELFormTag.java10 Aug 2003 09:14:04 - 1.11 @@ -6,7 +6,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights + * Copyright (c) 1999-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -105,11 +105,6 @@ */ private String methodExpr; /** - * Instance variable mapped to name tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -private String nameExpr; -/** * Instance variable mapped to onreset tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -120,11 +115,6 @@ */ private String onsubmitExpr; /** - * Instance variable mapped to scope tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -private String scopeExpr; -/** * Instance variable mapped to scriptLanguage tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -149,11 +139,6 @@ * (Mapping set in associated BeanInfo class.) */ private String targetExpr; -/** - * Instance variable mapped to type tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -private String typeExpr; /** * Getter method for action tag attribute. @@ -181,11 +166,6 @@ */ public String getMethodExpr() { return (methodExpr); } /** - * Getter method for name tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -public String getNameExpr() { return (nameExpr); } -/** * Getter method for onreset tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -196,11 +176,6 @@ */ public String getOnsubmitExpr() { return (onsubmitExpr); } /** - * Getter method for scope tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -public String getScopeExpr() { return (scopeExpr); } -/** * Getter method for scriptLanguage tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -225,11 +200,6 @@ * (Mapping set in associated BeanInfo class.) */ public String getTargetExpr() { return (targetExpr); } -/** - * Getter method for type tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -public String getTypeExpr() { return (typeExpr); } /** * Setter method for action tag attribute. @@ -257,11 +227,6 @@ */ public void setMethodExpr(String methodExpr) { this.methodExpr = methodExpr; } /** - * Setter method for name tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -public void setNameExpr(String nameExpr) { this.nameExpr = nameExpr; } -/** * Setter method for onreset tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -272,11 +237,6 @@ */ public void setOnsubmitExpr(String onsubmitExpr) { this.onsubmitExpr = onsubmitExpr; } /** - * Setter method for scope tag attribute. - * (Mapping set in associated BeanInfo class.) - */ -public void setScopeExpr(String scopeExpr) { this.scopeExpr = scopeExpr; } -/** * Setter method for scriptLanguage tag attribute. * (Mapping set in associated BeanInfo class.) */ @@ -301,11 +261,6 @@ * (Mapping set in associated BeanInfo class.) */ public void setTargetExpr(String targetExpr) { this.targetExpr =
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/08/10 09:23:56 Modified:doc/userGuide struts-html.xml Log: Add more info on html:html xhtml=true for PR# 22283. Revision ChangesPath 1.59 +5 -4 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- struts-html.xml 10 Aug 2003 10:05:51 - 1.58 +++ struts-html.xml 10 Aug 2003 16:23:55 - 1.59 @@ -2239,12 +2239,13 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pSet to codetrue/code in order to render an - codexml:lang/code attribute on the generated - codehtml/code element. This also causes all other - html tags to render as xhtml. + pSet to codetrue/code in order to render + codexml:lang/code and codexmlns/code attributes + on the generated codehtml/code element. This also + causes all other html tags to render as xhtml. /p /info +sinceStruts 1.1/since /attribute /tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/07/07 17:05:11 Modified:src/share/org/apache/struts/taglib/html JavascriptValidatorTag.java FormTag.java doc/userGuide struts-html.xml Log: Added scriptLanguage property to the form and javascript tags for PR# 17234. This property is ignored in XHTML mode but allows developers to turn off the language attribute of script tags in HTML. Revision ChangesPath 1.31 +33 -7 jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java Index: JavascriptValidatorTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- JavascriptValidatorTag.java 7 Jul 2003 23:46:35 - 1.30 +++ JavascriptValidatorTag.java 8 Jul 2003 00:05:10 - 1.31 @@ -138,6 +138,13 @@ * the method name of the main JavaScript method that the form calls to perform validations. */ protected String methodName = null; + +/** + * Include language attribute in the lt;scriptgt; element. This property is + * ignored in XHTML mode. + * @since Struts 1.2 + */ +protected boolean scriptLanguage = true; /** * The static JavaScript methods will only be printed if this is set to true. @@ -690,13 +697,13 @@ } /** - * Constructs the beginning lt;scriptgt; element depending on xhtml status. + * Constructs the beginning lt;scriptgt; element depending on XHTML status. */ private String getStartElement() { StringBuffer start = new StringBuffer(script type=\text/javascript\); -// there is no language attribute in xhtml -if (!this.isXhtml()) { +// there is no language attribute in XHTML +if (!this.isXhtml() this.scriptLanguage) { start.append( language=\Javascript1.1\); } @@ -729,6 +736,25 @@ */ public void setCdata(String cdata) { this.cdata = cdata; +} + +/** + * Gets whether or not the lt;scriptgt; element will include the + * language attribute. + * @return true if language attribute will be included. + * @since Struts 1.2 + */ +public boolean getScriptLanguage() { +return this.scriptLanguage; +} + +/** + * Sets whether or not the lt;scriptgt; element will include the + * language attribute. + * @since Struts 1.2 + */ +public void setScriptLanguage(boolean scriptLanguage) { +this.scriptLanguage = scriptLanguage; } } 1.50 +31 -5 jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java Index: FormTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- FormTag.java 3 Jul 2003 02:46:59 - 1.49 +++ FormTag.java 8 Jul 2003 00:05:10 - 1.50 @@ -165,6 +165,13 @@ * is stored. */ protected String scope = null; + +/** + * Include language attribute in the focus script's lt;scriptgt; element. This + * property is ignored in XHTML mode. + * @since Struts 1.2 + */ +protected boolean scriptLanguage = true; /** * The ActionServlet instance we are associated with (so that we can @@ -699,7 +706,7 @@ results.append(lineEnd); results.append(script type=\text/javascript\); -if (!this.isXhtml()) { +if (!this.isXhtml() this.scriptLanguage) { results.append( language=\JavaScript\); } results.append(); @@ -861,6 +868,25 @@ */ public void setFocusIndex(String focusIndex) { this.focusIndex = focusIndex; +} + +/** + * Gets whether or not the focus script's lt;scriptgt; element will include the + * language attribute. + * @return true if language attribute will be included. + * @since Struts 1.2 + */ +public boolean getScriptLanguage() { +return this.scriptLanguage; +} + +/** + * Sets whether or not the focus script's lt;scriptgt; element will include the + * language attribute. + * @since Struts 1.2 + */ +public void setScriptLanguage(boolean scriptLanguage) { +this.scriptLanguage = scriptLanguage; } } 1.55 +26 -1 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml ===
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
husted 2003/03/18 02:50:31 Modified:doc/userGuide struts-html.xml Log: Apply fix per #17592 (Harvey van der Meer). Tag should support a naked collection that is not a property of a bean. Revision ChangesPath 1.54 +1 -1 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- struts-html.xml 6 Mar 2003 03:23:28 - 1.53 +++ struts-html.xml 18 Mar 2003 10:50:29 - 1.54 @@ -4635,7 +4635,7 @@ attribute nameproperty/name -requiredtrue/required +requiredfalse/required rtexprvaluetrue/rtexprvalue info The property of the form bean, or the bean specified by the name - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
jmitchell2003/03/05 19:23:29 Modified:doc/userGuide struts-html.xml Log: 1. The docs were a little out of synch for the FrameTag. I'm sure at some point someone added the required action to the docs, but forgot to change the 'must be one of' section (above it) 2. HiddenTag allows you to add bodycontent, but it is completely ignored. Upon investigation I noticed that the declaration was missing from this file. Revision ChangesPath 1.53 +4 -0 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- struts-html.xml 1 Mar 2003 00:44:59 - 1.52 +++ struts-html.xml 6 Mar 2003 03:23:28 - 1.53 @@ -1612,6 +1612,9 @@ application-relative URI, and generate a server-relative URI by including the context path and application prefix./li +liemaction/em - Use the value of this attribute as the +logical name of a global Action that contains the actual +content-relative URI of the destination of this transfer./li /ul pNormally, the hyperlink you specify with one of the @@ -1987,6 +1990,7 @@ Render A Hidden Field /summary tagclassorg.apache.struts.taglib.html.HiddenTag/tagclass +bodycontentempty/bodycontent info p Renders an HTML lt;inputgt; element of type hidden, populated - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
jmitchell2003/02/28 16:45:00 Modified:doc/userGuide struts-html.xml Log: Fix docs Revision ChangesPath 1.52 +15 -5 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- struts-html.xml 27 Feb 2003 03:55:06 - 1.51 +++ struts-html.xml 1 Mar 2003 00:44:59 - 1.52 @@ -1105,7 +1105,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Maximum number of input characters to accept. [No limit] +Maximum number of input characters to accept. This is ignored +by most browsers. [No limit] /info /attribute @@ -1333,9 +1334,18 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Value of the label to be placed on this button. This value will -also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +p +strongNOTE/strong: When setting this to some value, whether +intentional or as the result (for example) of validation errors +forcing the user back to the original jsp, this value is ignored +by most browsers (for security reasons). +This means that your users will have to re-select any previously +selected files when submitting the form. Opera web browser will +prompt the user so they have a chance to abort the submit. +/p +Value to which this field should be initialized. [Use the +corresponding bean property value or body content (if any) if +property is not specified] /info /attribute /tag @@ -4987,7 +4997,7 @@ info Value of the label to be placed on this button. This value will also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +[Body of this tag (if any)] /info /attribute /tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/doc/userGuide struts-html.xml
Does this actually build properly? I see this structure: info p Some text here. /p Some more text here. /info The second piece of text is not within a paragraph... -- Martin Cooper [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] jmitchell2003/02/28 16:45:00 Modified:doc/userGuide struts-html.xml Log: Fix docs Revision ChangesPath 1.52 +15 -5 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- struts-html.xml 27 Feb 2003 03:55:06 - 1.51 +++ struts-html.xml 1 Mar 2003 00:44:59 - 1.52 @@ -1105,7 +1105,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Maximum number of input characters to accept. [No limit] +Maximum number of input characters to accept. This is ignored +by most browsers. [No limit] /info /attribute @@ -1333,9 +1334,18 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Value of the label to be placed on this button. This value will -also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +p +strongNOTE/strong: When setting this to some value, whether +intentional or as the result (for example) of validation errors +forcing the user back to the original jsp, this value is ignored +by most browsers (for security reasons). +This means that your users will have to re-select any previously +selected files when submitting the form. Opera web browser will +prompt the user so they have a chance to abort the submit. +/p +Value to which this field should be initialized. [Use the +corresponding bean property value or body content (if any) if +property is not specified] /info /attribute /tag @@ -4987,7 +4997,7 @@ info Value of the label to be placed on this button. This value will also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +[Body of this tag (if any)] /info /attribute /tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/doc/userGuide struts-html.xml
It is valid xml unless there is a dtd that says all text must be in a p tag. I think it's ok. David From: Martin Cooper [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: cvs commit: jakarta-struts/doc/userGuide struts-html.xml Date: Fri, 28 Feb 2003 16:56:17 -0800 Does this actually build properly? I see this structure: info p Some text here. /p Some more text here. /info The second piece of text is not within a paragraph... -- Martin Cooper [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] jmitchell2003/02/28 16:45:00 Modified:doc/userGuide struts-html.xml Log: Fix docs Revision ChangesPath 1.52 +15 -5 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- struts-html.xml 27 Feb 2003 03:55:06 - 1.51 +++ struts-html.xml 1 Mar 2003 00:44:59 - 1.52 @@ -1105,7 +1105,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Maximum number of input characters to accept. [No limit] +Maximum number of input characters to accept. This is ignored +by most browsers. [No limit] /info /attribute @@ -1333,9 +1334,18 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Value of the label to be placed on this button. This value will -also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +p +strongNOTE/strong: When setting this to some value, whether +intentional or as the result (for example) of validation errors +forcing the user back to the original jsp, this value is ignored +by most browsers (for security reasons). +This means that your users will have to re-select any previously +selected files when submitting the form. Opera web browser will +prompt the user so they have a chance to abort the submit. +/p +Value to which this field should be initialized. [Use the +corresponding bean property value or body content (if any) if +property is not specified] /info /attribute /tag @@ -4987,7 +4997,7 @@ info Value of the label to be placed on this button. This value will also be submitted as the value of the specified request parameter. -[Body of this tag (if any), or Cancel] +[Body of this tag (if any)] /info /attribute /tag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/02/26 19:55:06 Modified:doc/userGuide struts-html.xml Log: Added documentation to the html tag's locale attribute about creating sessions if needed. Revision ChangesPath 1.51 +5 -2 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- struts-html.xml 4 Feb 2003 18:12:00 - 1.50 +++ struts-html.xml 27 Feb 2003 03:55:06 - 1.51 @@ -6,6 +6,7 @@ authorMartin Cooper/author authorMike Schachter/author authorJames Turner/author + authorDavid Graham/author titleThe Struts Framework Project - HTML Tags/title /properties @@ -2269,9 +2270,11 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pSet to codetrue/code in order to record a Locale based on + pSet to codetrue/code in order to store a Locale in the session based on the current request's codeAccept-Language/code header (if - any) if none has currently been set./p + any) if none has currently been set. This attribute will create a session + if one does not already exist. The lang attribute is rendered with the + appropriate language code./p /info /attribute - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
husted 2003/02/04 10:12:01 Modified:doc/userGuide struts-html.xml Log: + Update documentation to reflect that application-relative paths are now module relative. Suggested by John Espey (#16491)). Revision ChangesPath 1.50 +7 -7 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- struts-html.xml 20 Jan 2003 06:04:47 - 1.49 +++ struts-html.xml 4 Feb 2003 18:12:00 - 1.50 @@ -1807,7 +1807,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -pThe application-relative path (beginning with a / +pThe module-relative path (beginning with a / character) to which this hyperlink will transfer control if activated. This hyperlink may be dynamically modified by the inclusion of query parameters, as described in the @@ -2545,7 +2545,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -pThe application-relative path of the image for this +pThe module-relative path of the image for this input tag./p /info /attribute @@ -2556,7 +2556,7 @@ rtexprvaluetrue/rtexprvalue info pThe key of the message resources string specifying the -application-relative path of the image for this input tag./p +module-relative path of the image for this input tag./p /info /attribute @@ -3015,7 +3015,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pThe application-relative path, starting with a slash, of + pThe module-relative path, starting with a slash, of the image to be displayed by this tag. The rendered URL for this image will automatically prepend the context path of this web application (in the same manner as the @@ -3033,7 +3033,7 @@ info pThe message key, in the message resources bundle named by the codebundle/code attribute, of the String to be - used as the application-relative path for this image./p + used as the module-relative path for this image./p /info /attribute @@ -3680,7 +3680,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pThe application-relative path (beginning with a / + pThe module-relative path (beginning with a / character) to which this hyperlink will transfer control if activated. This hyperlink may be dynamically modified by the inclusion of query parameters, as described in the @@ -5640,7 +5640,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pThe application-relative path (beginning with a / + pThe module-relative path (beginning with a / character) to which this hyperlink will transfer control if activated. This hyperlink may be dynamically modified by the inclusion of query parameters, as described in the - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/01/19 22:04:48 Modified:doc/userGuide struts-html.xml Log: Updated docs for htmlComment and cdata attributes of javascript tag. Revision ChangesPath 1.49 +5 -5 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- struts-html.xml 19 Jan 2003 00:40:41 - 1.48 +++ struts-html.xml 20 Jan 2003 06:04:47 - 1.49 @@ -3245,10 +3245,7 @@ info p If set to true and XHTML has been enabled, the JavaScript will - be wrapped in a CDATA section to prevent XML parsing. Current browsers - don't support this convention, causing the scripts to fail. To allow the - script to work in current browsers as well as hide it from XML parsers you - need to set this attribute to false and htmlComment to true. The default is + be wrapped in a CDATA section to prevent XML parsing. The default is true to comply with the W3C's recommendation. /p /info @@ -3331,7 +3328,10 @@ info p Whether or not to enclose the javascript - with html comments. + with HTML comments. This attribute is ignored in XHTML + mode because the script would be deleted by the XML parser. See + the cdata attribute for details on hiding scripts from XML + parsers. Defaults to codetrue/code. /p /info -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2003/01/16 22:06:55 Modified:doc/userGuide struts-html.xml Log: Added cdata to javascript tag for xhtml. Revision ChangesPath 1.47 +17 -0 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- struts-html.xml 13 Jan 2003 00:05:59 - 1.46 +++ struts-html.xml 17 Jan 2003 06:06:55 - 1.47 @@ -3238,6 +3238,23 @@ /p /info + attribute +namecdata/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info + p + If set to true and XHTML has been enabled, the JavaScript will + be wrapped in a CDATA section to prevent XML parsing. Current browsers + don't support this convention, causing the scripts to fail. To allow the + script to work in current browsers as well as hide it from XML parsers you + need to set this attribute to false and htmlComment to true. The default is + true to comply with the W3C's recommendation. + /p +/info +sinceStruts 1.1/since +/attribute + attribute namedynamicJavascript/name requiredfalse/required -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml release-notes.xml
husted 2002/12/29 09:00:56 Modified:doc/userGuide struts-html.xml release-notes.xml Log: Apply patch for PR #13645 contributed by James Turner. Revision ChangesPath 1.45 +123 -75 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- struts-html.xml 24 Dec 2002 02:01:33 - 1.44 +++ struts-html.xml 29 Dec 2002 17:00:56 - 1.45 @@ -5,6 +5,7 @@ authorCraig R. McClanahan/author authorMartin Cooper/author authorMike Schachter/author + authorJames Turner/author titleThe Struts Framework Project - HTML Tags/title /properties @@ -1425,7 +1426,7 @@ /info /attribute - attribute +attribute namefocusIndex/name requiredfalse/required rtexprvaluetrue/rtexprvalue @@ -1663,9 +1664,26 @@ end of the URL that is created by any of the above mechanisms, by using the codeanchor/code attribute./p -/info + /info + + attribute + nameaction/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pLogical name of a global codeAction/code that + contains the actual content-relative URI of the destination + of this transfer. This hyperlink may be dynamically + modified by the inclusion of query parameters, as described + in the tag description. You strongmust/strong specify + exactly one of the codeaction/code attribute, the + codeforward/code attribute, the + codehref/code attribute, + or the codepage/code attribute./p + /info + /attribute -attribute + attribute nameanchor/name requiredfalse/required rtexprvaluetrue/rtexprvalue @@ -1686,10 +1704,11 @@ of this transfer. This hyperlink may be dynamically modified by the inclusion of query parameters, as described in the tag description. You strongmust/strong specify -exactly one of the codeforward/code attribute, the +exactly one of the codeaction/code attribute, the +codeforward/code attribute, the codehref/code attribute, or the codepage/code attribute./p -/info + /info /attribute attribute @@ -1718,13 +1737,14 @@ rtexprvaluetrue/rtexprvalue info pThe URL to which this hyperlink will transfer control -if activated. This hyperlink may be dynamically modified -by the inclusion of query parameters, as described in the -tag description. You strongmust/strong specify -exactly one of the codeforward/code attribute, the -codehref/code attribute, -or the codepage/code attribute./p -/info + if activated. This hyperlink may be dynamically modified + by the inclusion of query parameters, as described in the + tag description. You strongmust/strong specify + exactly one of the codeaction/code attribute, the + codeforward/code attribute, the + codehref/code attribute, + or the codepage/code attribute./p + /info /attribute attribute @@ -1789,13 +1809,14 @@ info pThe application-relative path (beginning with a / character) to which this hyperlink will transfer control -if activated. This hyperlink may be dynamically modified -by the inclusion of query parameters, as described in the -tag description. You strongmust/strong specify exactly -one of the codeforward/code attribute, the -codehref/code attribute, -or the codepage/code attribute./p -/info + if activated. This hyperlink may be dynamically modified + by the inclusion of query parameters, as described in the + tag description. You strongmust/strong specify exactly + one of the codeaction/code attribute, the + codeforward/code attribute, the + codehref/code attribute, + or the codepage/code attribute./p +
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/12/23 17:45:15 Modified:doc/userGuide struts-html.xml Log: Updated info on tags. Revision ChangesPath 1.42 +6 -2 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- struts-html.xml 13 Dec 2002 02:39:01 - 1.41 +++ struts-html.xml 24 Dec 2002 01:45:15 - 1.42 @@ -2288,6 +2288,8 @@ pIf you would like to obtain the coordinates of the mouse click that submitted this request, see the information below on the codeproperty/code attribute./p + +pThis tag is only valid when nested inside a form tag body./p /info @@ -6281,7 +6283,8 @@ /summary tagclassorg.apache.struts.taglib.html.TextTag/tagclass info -Render an input button of type text. +Render an input button of type text. This tag is only valid when nested +inside a form tag body. /info attribute @@ -6594,7 +6597,8 @@ /summary tagclassorg.apache.struts.taglib.html.TextareaTag/tagclass info -Render a textarea element. +Render a textarea element. This tag is only valid when nested +inside a form tag body. /info attribute -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/12/23 17:47:45 Modified:doc/userGuide struts-html.xml Log: Updated info on xhtml tag. Revision ChangesPath 1.43 +3 -4 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- struts-html.xml 24 Dec 2002 01:45:15 - 1.42 +++ struts-html.xml 24 Dec 2002 01:47:45 - 1.43 @@ -6912,10 +6912,9 @@ info p Using this tag in a page tells all other html taglib tags - to render themselves as XHTML. This is really only useful - when composing pages with jsp includes. Using - lt;html:html xhtml=truegt; will accomplish the same thing - as this tag but only works for complete pages or tiles. + to render themselves as XHTML. This is useful + when composing pages with JSP includes or Tiles. This tag has the same effect + as using lt;html:html xhtml=truegt;. /p /info -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham == dgraham [EMAIL PROTECTED] writes: dgraham dgraham 2002/12/23 17:45:15 dgraham Modified:doc/userGuide struts-html.xml dgraham Log: dgraham Updated info on tags. dgraham Revision ChangesPath dgraham 1.42 +6 -2 jakarta-struts/doc/userGuide/struts-html.xml dgraham Index: struts-html.xml dgraham === dgraham RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v dgraham retrieving revision 1.41 dgraham retrieving revision 1.42 dgraham diff -u -r1.41 -r1.42 dgraham --- struts-html.xml 13 Dec 2002 02:39:01 - 1.41 dgraham +++ struts-html.xml 24 Dec 2002 01:45:15 - 1.42 dgraham @@ -2288,6 +2288,8 @@ dgrahampIf you would like to obtain the coordinates of the mouse dgrahamclick that submitted this request, see the information below dgrahamon the codeproperty/code attribute./p dgraham + dgraham +pThis tag is only valid when nested inside a form tag body./p This is a good idea, but perhaps this should be made clearer? The HTML tag needs to be inside the HTML form tag, but the Struts tag needs to be inside the Struts form tag, both for slightly different reasons. On that subject, wouldn't it be possible to write a tag library validator class which could verify this? I've wondered whether some of these hard to understand errors we get from the framework could be prevented by a tag library validator class. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/11/19 20:27:59 Modified:doc/userGuide struts-html.xml Log: Updated html tag docs. Revision ChangesPath 1.38 +3 -1 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- struts-html.xml 17 Nov 2002 01:48:32 - 1.37 +++ struts-html.xml 20 Nov 2002 04:27:59 - 1.38 @@ -2250,7 +2250,9 @@ info pSet to codetrue/code in order to render an codexml:lang/code attribute on the generated - codehtml/code element./p + codehtml/code element. This also causes all other + html tags to render as xhtml. + /p /info /attribute -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/11/15 23:28:02 Modified:doc/userGuide struts-html.xml Log: Updated tld for html:xhtml/ tag. Revision ChangesPath 1.36 +19 -2 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- struts-html.xml 15 Nov 2002 04:22:30 - 1.35 +++ struts-html.xml 16 Nov 2002 07:28:01 - 1.36 @@ -44,8 +44,7 @@ pRenders an HTML codelt;basegt;/code element with an codehref/code attribute pointing to the absolute location of the enclosing JSP page. This tag is valid only when nested inside - an HTML codelt;headgt;/code element. There are no attributes - associated with this tag./p + an HTML codelt;headgt;/code element./p pThis tag is useful because it allows you to use relative URL references in the page that are calculated based on the URL of the @@ -6878,6 +6877,24 @@ /tag + + +tag + namexhtml/name + summaryRender HTML tags as XHTML/summary + tagclassorg.apache.struts.taglib.html.XhtmlTag/tagclass + bodycontentempty/bodycontent + info + p + Using this tag in a page tells all other html taglib tags + to render themselves as XHTML. This is really only useful + when composing pages with jsp includes. Using + lt;html:html xhtml=truegt; will accomplish the same thing + as this tag but only works for complete pages or tiles. + /p + /info + +/tag /taglib /body -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dmkarr 2002/11/14 20:22:30 Modified:doc/userGuide struts-html.xml Log: Added small clarification to button and submit to point to image if a graphical button is desired. Revision ChangesPath 1.35 +13 -4 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- struts-html.xml 4 Nov 2002 00:34:37 - 1.34 +++ struts-html.xml 15 Nov 2002 04:22:30 - 1.35 -74,9 +74,14 tagclassorg.apache.struts.taglib.html.ButtonTag/tagclass info p -Renders an HTML lt;inputgt; element of type button, populated -from the specified value or the content of this tag body. This -tag is only valid when nested inside a form tag body. +Renders an HTML lt;inputgt; element of type +codebutton/code, populated from the specified value or the +content of this tag body. This tag is only valid when nested +inside a form tag body. +/p +p + If a graphical button is needed (a button with an image), then the + a href=#imagecodeimage/code/a tag is more appropriate. /p /info -5981,7 +5986,11 /summary tagclassorg.apache.struts.taglib.html.SubmitTag/tagclass info -Render an input button of type submit. +Renders an HTML lt;inputgt; element of type codesubmit/code. +p + If a graphical button is needed (a button with an image), then the + a href=#imagecodeimage/code/a tag is more appropriate. +/p /info attribute -- To unsubscribe, e-mail: mailto:struts-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dmkarr 2002/11/02 20:24:50 Modified:doc/userGuide struts-html.xml Log: In the documentation for all styleClass elements, I added a parenthesized statement 'renders a class attribute'. All the styleId attributes already indicated they render an id attribute. At the same time, I noticed that many of the image tag attributes had no documentation, mostly the event handlers. I copied them from other tag's attribute descriptions. PR: 14071 Revision ChangesPath 1.33 +104 -20 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- struts-html.xml 2 Nov 2002 00:33:02 - 1.32 +++ struts-html.xml 3 Nov 2002 04:24:50 - 1.33 -287,7 +287,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -557,7 +558,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -859,7 +861,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -1268,7 +1271,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -1498,7 +1502,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -1871,7 +1876,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -pCSS stylesheet class to be applied to this element./p +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -2143,7 +2149,8 requiredfalse/required rtexprvaluetrue/rtexprvalue info -CSS stylesheet class to be applied to this HTML element. +CSS stylesheet class to be applied to this HTML element +(renders a class attribute). /info /attribute -2357,78 +2364,132 nameonblur/name requiredfalse/required rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element loses input +focus. +/info /attribute attribute nameonchange/name requiredfalse/required rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element loses input +focus and its value has changed. +/info /attribute attribute nameonclick/name requiredfalse/required rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element receives a +mouse click. +/info /attribute attribute nameondblclick/name requiredfalse/required rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element receives a +mouse double click. +/info /attribute attribute nameonfocus/name requiredfalse/required rtexprvaluetrue/rtexprvalue +info +JavaScript event
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/11/01 16:33:02 Modified:doc/userGuide struts-html.xml Log: deprecated lowsrc attribute on img tag. Revision ChangesPath 1.32 +4 -2 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- struts-html.xml 27 Oct 2002 19:19:59 - 1.31 +++ struts-html.xml 2 Nov 2002 00:33:02 - 1.32 -2758,8 +2758,10 requiredfalse/required rtexprvaluetrue/rtexprvalue info - pAn image for people with low resoution graphics cards. - Is this even necessary any more?/p + pstrongDEPRECATED/strong - This attribute is not defined + in the HTML 4.01 spec and will be removed in a future version of Struts. + An image for people with low resoution graphics cards. + /p /info /attribute -- To unsubscribe, e-mail: mailto:struts-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
martinc 2002/10/27 11:19:59 Modified:doc/userGuide struts-html.xml Log: Remove accesskey attribute from select tag. PR: 13337 Submitted by: David M. Karr Revision ChangesPath 1.31 +0 -10 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- struts-html.xml 26 Oct 2002 00:34:54 - 1.30 +++ struts-html.xml 27 Oct 2002 19:19:59 - 1.31 -5609,16 +5609,6 attribute -nameaccesskey/name -requiredfalse/required -rtexprvaluetrue/rtexprvalue -info -The keyboard character used to move focus immediately to this -element. -/info -/attribute - -attribute namealt/name requiredfalse/required rtexprvaluetrue/rtexprvalue -- To unsubscribe, e-mail: mailto:struts-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dgraham 2002/10/25 17:34:54 Modified:doc/userGuide struts-html.xml Log: removed accesskey attribute for html:img tag. fixes bug #13336 Revision ChangesPath 1.30 +0 -10 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- struts-html.xml 24 Oct 2002 06:20:33 - 1.29 +++ struts-html.xml 26 Oct 2002 00:34:54 - 1.30 -2633,16 +2633,6 /info attribute - nameaccesskey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe keyboard character used to move focus immediately - to this element./p - /info -/attribute - -attribute namealign/name requiredfalse/required rtexprvaluetrue/rtexprvalue -- To unsubscribe, e-mail: mailto:struts-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-dev-help;jakarta.apache.org
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dmkarr 2002/10/04 22:38:41 Modified:contrib/struts-el/doc/userGuide struts-html-el.xml contrib/struts-el/src/share/org/apache/strutsel/taglib/html ELRadioTag.java contrib/struts-el/web/exercise-taglib index.jsp contrib/struts-el/web/exercise-taglib/WEB-INF struts-config.xml doc/userGuide struts-html.xml Added: contrib/struts-el/web/exercise-taglib html-radio.jsp Log: Added onmouseup attribute to html:radio. Added onmousemove, onmouseout, onmousemove, and onmouseup attributes to html-el:radio. Added very simple html-radio.jsp to strutsel-exercise-taglib mostly to test all the js event handlers it can handle. Revision ChangesPath 1.3 +39 -1 jakarta-struts/contrib/struts-el/doc/userGuide/struts-html-el.xml Index: struts-html-el.xml === RCS file: /home/cvs/jakarta-struts/contrib/struts-el/doc/userGuide/struts-html-el.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- struts-html-el.xml4 Oct 2002 05:34:19 - 1.2 +++ struts-html-el.xml5 Oct 2002 05:38:40 - 1.3 @@ -4771,7 +4771,45 @@ /info /attribute -!-- No mousemove, mouseout, mouseover, or mouseup tags? -- +attribute +nameonmousemove/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info +JavaScript event handler executed when this element is under the +mouse pointer and the pointer is moved. +/info +/attribute + +attribute +nameonmouseout/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info +JavaScript event handler executed when this element was under the +mouse pointer but the pointer was moved outside the element. +/info +/attribute + +attribute +nameonmouseover/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info +JavaScript event handler executed when this element was not under +the mouse pointer but the pointer is moved inside the element. +/info +/attribute + +attribute +nameonmouseup/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info +JavaScript event handler executed when this element is under the +mouse pointer and a mouse button is released. +/info +/attribute attribute nameproperty/name 1.5 +10 -9 jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java Index: ELRadioTag.java === RCS file: /home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ELRadioTag.java 3 Oct 2002 05:00:47 - 1.4 +++ ELRadioTag.java 5 Oct 2002 05:38:40 - 1.5 @@ -248,11 +248,12 @@ setOnmouseover(null); } -// try { -// setOnmouseup((String) evalAttr(onmouseup, getOnmouseup(), String.class)); -// } catch (NullAttributeException ex) { -// setOnmouseup(null); -// } +try { +setOnmouseup((String) evalAttr(onmouseup, getOnmouseup(), + String.class)); +} catch (NullAttributeException ex) { +setOnmouseup(null); +} try { setProperty((String) evalAttr(property, getProperty(), 1.2 +1 -0 jakarta-struts/contrib/struts-el/web/exercise-taglib/index.jsp Index: index.jsp === RCS file: /home/cvs/jakarta-struts/contrib/struts-el/web/exercise-taglib/index.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.jsp 26 Sep 2002 04:54:41 - 1.1 +++ index.jsp 5 Oct 2002 05:38:41 - 1.2 @@ -19,6 +19,7 @@ ul lia href=html-link.jsplt;html:linkgt;/a[a href=showSource.jsp?path=/html-link.jspSource/a]/li lia href=html-multibox.jsplt;html:multiboxgt;/a[a href=showSource.jsp?path=/html-multibox.jspSource/a]/li +lia href=html-radio.jsplt;html:radiogt;/a[a href=showSource.jsp?path=/html-radio.jspSource/a]/li lia href=html-select.jsplt;html:selectgt;/a[a
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
craigmcc2002/08/08 17:46:15 Modified:doc/userGuide struts-html.xml Log: Support the HTML event and style related attributes on the html:hidden tag. No code change is needed, because the base class already takes care of all that; just needed to expose these attributes on the custom tag. PR: Bugzilla #9322 Submitted by: sander-martijn.com email at sander-martijn.com Revision ChangesPath 1.20 +168 -0jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- struts-html.xml 8 Aug 2002 23:30:39 - 1.19 +++ struts-html.xml 9 Aug 2002 00:46:14 - 1.20 @@ -1935,6 +1935,16 @@ /info attribute +nameaccesskey/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +The keyboard character used to move focus immediately to this +element. +/info +/attribute + +attribute namealt/name requiredfalse/required rtexprvaluetrue/rtexprvalue @@ -1978,6 +1988,136 @@ /attribute attribute +nameonblur/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element loses input +focus. +/info +/attribute + +attribute +nameonchange/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element loses input +focus and its value has changed. +/info +/attribute + +attribute +nameonclick/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element receives a +mouse click. +/info +/attribute + +attribute +nameondblclick/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element receives a +mouse double click. +/info +/attribute + +attribute +nameonfocus/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element receives input +focus. +/info +/attribute + +attribute +nameonkeydown/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element has focus and a +key is depressed. +/info +/attribute + +attribute +nameonkeypress/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element has focus and a +key is depressed and released. +/info +/attribute + +attribute +nameonkeyup/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element has focus and a +key is released. +/info +/attribute + +attribute +nameonmousedown/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element is under the mouse +pointer and a mouse button is depressed. +/info +/attribute + +attribute +nameonmousemove/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element is under the +mouse pointer and the pointer is moved. +/info +/attribute + +attribute +nameonmouseout/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +JavaScript event handler executed when this element was under the +mouse pointer but the pointer
cvs commit: jakarta-struts/doc/userGuide struts-html.xml struts-logic.xml
craigmcc2002/08/03 11:43:40 Modified:doc/stylesheets userGuide.xsl doc/userGuide struts-html.xml struts-logic.xml Log: The stylesheets for tag library documentation now support since and deprecated at both the tag level and the attribute level. The body content of the element should be a short string, similar to what you would write after a @since or @deprecated JavaDoc marker. Revision ChangesPath 1.8 +15 -1 jakarta-struts/doc/stylesheets/userGuide.xsl Index: userGuide.xsl === RCS file: /home/cvs/jakarta-struts/doc/stylesheets/userGuide.xsl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- userGuide.xsl 3 Aug 2002 18:20:03 - 1.7 +++ userGuide.xsl 3 Aug 2002 18:43:40 - 1.8 @@ -221,6 +221,13 @@ /td/tr trtd blockquote + xsl:if test=deprecated +pfont color=redstrongDEPRECATED: /strong/font +xsl:value-of select=deprecated//p + /xsl:if + xsl:if test=since +pSince: xsl:value-of select=since//p + /xsl:if xsl:apply-templates select=info/ /blockquote /td/tr @@ -250,6 +257,13 @@ xsl:value-of select=name/ /td td +xsl:if test=deprecated + pfont color=redstrongDEPRECATED: /strong/font + xsl:value-of select=deprecated//p +/xsl:if +xsl:if test=since + pSince: xsl:value-of select=since//p +/xsl:if xsl:apply-templates select=info/ xsl:variable name=required xsl:value-of select=required/ 1.17 +3 -3 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- struts-html.xml 20 Jul 2002 16:47:22 - 1.16 +++ struts-html.xml 3 Aug 2002 18:43:40 - 1.17 @@ -4759,14 +4759,14 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Name of the bean (in some scope) that will return the +pName of the bean (in some scope) that will return the value of the radio tag. Usually exposed by an iterator. When the idName attribute is present, the valueattribute is used as the name of the property on the idName bean that will return the -value of the radio tag for this iteration. -Since Struts 1.1. +value of the radio tag for this iteration./p /info +sinceStruts 1.1/since /attribute 1.6 +6 -3 jakarta-struts/doc/userGuide/struts-logic.xml Index: struts-logic.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-logic.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- struts-logic.xml 13 May 2002 02:54:28 - 1.5 +++ struts-logic.xml 3 Aug 2002 18:43:40 - 1.6 @@ -76,8 +76,9 @@ /summary tagclassorg.apache.struts.taglib.logic.EmptyTag/tagclass bodycontentJSP/bodycontent +sinceStruts 1.1/since info -p[Since 1.1] This tag evaluates its nested body content only if the specified value +pThis tag evaluates its nested body content only if the specified value is either absent (i.e. codenull/code), an empty string (i.e. a codejava.lang.String/code with a length of zero) or an empty java.util.Collection (tested by the .isEmpty() method on the java.util.Collection interface)./p @@ -897,8 +898,9 @@ /summary tagclassorg.apache.struts.taglib.logic.MessagesNotPresentTag/tagclass bodycontentJSP/bodycontent +sinceStruts 1.1/since info -p[since 1.1] Evaluates the nested body content of this tag if +pEvaluates the nested body content of this tag if an codeActionMessages/code object, codeActionErrors/code object, a String, or a String array is not in request scope. If @@ -953,8 +955,9 @@ /summary tagclassorg.apache.struts.taglib.logic.MessagesPresentTag/tagclass bodycontentJSP/bodycontent +sinceStruts 1.1/since info -p[since 1.1] Evaluates the nested body content of this tag if +pEvaluates the nested body content of this tag if an codeActionMessages/code object,
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
husted 2002/07/07 16:28:54 Modified:doc/userGuide struts-html.xml Log: Add idName attribute to RadioTag so that it is easy to use with an iterator. Revision ChangesPath 1.14 +79 -54jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- struts-html.xml 6 Jul 2002 23:36:29 - 1.13 +++ struts-html.xml 7 Jul 2002 23:28:54 - 1.14 @@ -1289,24 +1289,24 @@ /info /attribute - attribute - nametitle/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe advisory title for this element./p - /info - /attribute - - attribute - nametitleKey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe message resources key for the advisory title - for this element./p - /info - /attribute +attribute +nametitle/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +pThe advisory title for this element./p +/info +/attribute + +attribute +nametitleKey/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +pThe message resources key for the advisory title +for this element./p +/info +/attribute attribute namevalue/name @@ -1951,24 +1951,24 @@ /info /attribute - attribute - nametitle/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe advisory title for this element./p - /info - /attribute - - attribute - nametitleKey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe message resources key for the advisory title - for this element./p - /info - /attribute +attribute +nametitle/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +pThe advisory title for this element./p +/info +/attribute + +attribute +nametitleKey/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +pThe message resources key for the advisory title +for this element./p +/info +/attribute attribute namevalue/name @@ -4511,9 +4511,18 @@ /summary tagclassorg.apache.struts.taglib.html.RadioTag/tagclass info +p Renders an HTML lt;inputgt; element of type radio, populated from the specified property of the bean associated with our current form. This tag is only valid when nested inside a form tag body. +/p +p +If an iterator is used to render a series of radio tags, the +idName attribute may be used to specify the name of the bean +exposed by the iterator. In this case, the value attribute is +used as the name of a property on the idName bean that returns +the value of the radio tag in this iteration. +/p /info @@ -4745,6 +4754,22 @@ /info /attribute +attribute +nameidName/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info +Name of the bean (in some scope) that will return the +value of the radio tag. Usually exposed +by an iterator. When the idName attribute is +present, the valueattribute is used as the name of the +property on the idName bean that will return the +value of the radio tag for this iteration. +Since Struts 1.1. +/info +/attribute + + /tag @@ -5487,24 +5512,24 @@
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
craigmcc2002/06/23 15:44:42 Modified:doc/userGuide struts-html.xml Log: Clarify that the styleId attribute on struts-html tags generates an id attribute in the generated HTML. PR: Bugzilla #4868 Submitted by: Matt Raible matt at raibledesigns.com Revision ChangesPath 1.12 +32 -16jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- struts-html.xml 23 Jun 2002 04:38:44 - 1.11 +++ struts-html.xml 23 Jun 2002 22:44:42 - 1.12 @@ -294,7 +294,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -563,7 +564,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -864,7 +866,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -1272,7 +1275,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -1469,7 +1473,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -1837,7 +1842,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -2741,7 +2747,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -3327,7 +3334,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -3750,7 +3758,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -4439,7 +4448,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -4693,7 +4703,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -4943,7 +4954,8 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -Identifier to be assigned to this HTML element. +Identifier to be assigned to this HTML element (renders +an id attribute). /info /attribute @@ -5443,7 +5455,8 @@
cvs commit: jakarta-struts/doc/userGuide struts-html.xml taglib_struts-html-ref.xml
rleland 02/04/22 13:59:20 Modified:doc/userGuide struts-html.xml taglib_struts-html-ref.xml Log: Move over new tag documentation, for 1.1 features, and resolve some of the differences between struts-html.xml and taglib_struts-html-ref.xml Revision ChangesPath 1.9 +61 -58jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- struts-html.xml 16 Apr 2002 16:30:23 - 1.8 +++ struts-html.xml 22 Apr 2002 20:59:19 - 1.9 @@ -1281,24 +1281,24 @@ /info /attribute -attribute - nametitle/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe advisory title for this element./p - /info -/attribute - -attribute - nametitleKey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe message resources key for the advisory title - for this element./p - /info -/attribute + attribute + nametitle/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pThe advisory title for this element./p + /info + /attribute + + attribute + nametitleKey/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pThe message resources key for the advisory title + for this element./p + /info + /attribute attribute namevalue/name @@ -1941,24 +1941,24 @@ /info /attribute -attribute - nametitle/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe advisory title for this element./p - /info -/attribute - -attribute - nametitleKey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe message resources key for the advisory title - for this element./p - /info -/attribute + attribute + nametitle/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pThe advisory title for this element./p + /info + /attribute + + attribute + nametitleKey/name + requiredfalse/required + rtexprvaluetrue/rtexprvalue + info + pThe message resources key for the advisory title + for this element./p + /info + /attribute attribute namevalue/name @@ -2067,7 +2067,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -pThe alternate text for this element./p +pThe alternate text for this image./p /info /attribute @@ -2077,7 +2077,7 @@ rtexprvaluetrue/rtexprvalue info pThe message resources key of the alternate text for this -element./p +image./p /info /attribute @@ -2440,7 +2440,9 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info -pThe alternate text for this element./p + pAnd alternative text to be displayed in browsers that + don't support graphics. Also used often as type of + context help over images./p /info /attribute @@ -3351,7 +3353,7 @@ requiredfalse/required rtexprvaluetrue/rtexprvalue info - pThe advisory title for this element./p + pThe advisory title for this hyperlink./p
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
rleland 02/04/16 09:30:24 Modified:doc/userGuide struts-html.xml Log: remove Duplicate password definition added when optionsCollection was added Feb 23 Revision ChangesPath 1.8 +21 -351 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- struts-html.xml 18 Mar 2002 02:03:46 - 1.7 +++ struts-html.xml 16 Apr 2002 16:30:23 - 1.8 @@ -2795,27 +2795,27 @@ namejavascript/name summary -Render JavaScript validation based on the +Render JavaScript validation based on the validation rules loaded by the codeValidatorPlugIn/code. /summary tagclassorg.apache.struts.taglib.html.JavascriptValidatorTag/tagclass bodycontentempty/bodycontent info p -Render JavaScript validation based on the -validation rules loaded by the codeValidatorPlugIn/code. -The set of validation rules that should be generated is based -on the formName attribute passed in, which should match +Render JavaScript validation based on the +validation rules loaded by the codeValidatorPlugIn/code. +The set of validation rules that should be generated is based +on the formName attribute passed in, which should match the name attribute of the form element in the xml file. p /p -The dynamicJavascript and staticJavascript attributes -default to true, but if dynamicJavascript is set to codetrue/code -and staticJavascript is set to codefalse/code then only -the dynamic JavaScript will be rendered. If dynamicJavascript -is set to codefalse/code -and staticJavascript is set to codetrue/code then only -the static JavaScript will be rendered which can then be put in +The dynamicJavascript and staticJavascript attributes +default to true, but if dynamicJavascript is set to codetrue/code +and staticJavascript is set to codefalse/code then only +the dynamic JavaScript will be rendered. If dynamicJavascript +is set to codefalse/code +and staticJavascript is set to codetrue/code then only +the static JavaScript will be rendered which can then be put in separate JSP page so the browser can cache the static JavaScript. /p /info @@ -2826,7 +2826,7 @@ rtexprvaluefalse/rtexprvalue info p - Whether or not to render the dynamic JavaScript. + Whether or not to render the dynamic JavaScript. Defaults to codetrue/code. /p /info @@ -2837,7 +2837,7 @@ rtexprvaluetrue/rtexprvalue info p - The key (form name) to retrieve a specific + The key (form name) to retrieve a specific set of validation rules. /p /info @@ -2848,9 +2848,9 @@ rtexprvaluetrue/rtexprvalue info p - The alternate JavaScript method name to be used - instead of the of the default. The default is - 'validate' concatenated in front of + The alternate JavaScript method name to be used + instead of the of the default. The default is + 'validate' concatenated in front of the key (form name) passed in (ex: validateRegistrationForm). /p /info @@ -2861,8 +2861,8 @@ rtexprvaluetrue/rtexprvalue info p - The current page of a set of validation rules - if the page attribute for the field element + The current page of a set of validation rules + if the page attribute for the field element in the xml file is in use. /p /info @@ -2873,7 +2873,7 @@ rtexprvaluetrue/rtexprvalue info p - The src attribute's value when defining + The src attribute's value when defining the html script element. /p
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
dwinterfeldt02/03/17 18:03:46 Modified:doc/userGuide struts-html.xml Log: Added new tag (JavascriptValidatorTag). Revision ChangesPath 1.7 +101 -0jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- struts-html.xml 17 Mar 2002 02:49:06 - 1.6 +++ struts-html.xml 18 Mar 2002 02:03:46 - 1.7 @@ -2791,6 +2791,107 @@ /tag +tag + +namejavascript/name +summary +Render JavaScript validation based on the +validation rules loaded by the codeValidatorPlugIn/code. +/summary +tagclassorg.apache.struts.taglib.html.JavascriptValidatorTag/tagclass +bodycontentempty/bodycontent +info +p +Render JavaScript validation based on the +validation rules loaded by the codeValidatorPlugIn/code. +The set of validation rules that should be generated is based +on the formName attribute passed in, which should match +the name attribute of the form element in the xml file. +p +/p +The dynamicJavascript and staticJavascript attributes +default to true, but if dynamicJavascript is set to codetrue/code +and staticJavascript is set to codefalse/code then only +the dynamic JavaScript will be rendered. If dynamicJavascript +is set to codefalse/code +and staticJavascript is set to codetrue/code then only +the static JavaScript will be rendered which can then be put in +separate JSP page so the browser can cache the static JavaScript. +/p +/info + +attribute +namedynamicJavascript/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info + p + Whether or not to render the dynamic JavaScript. + Defaults to codetrue/code. + /p +/info +/attribute +attribute +nameformName/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info + p + The key (form name) to retrieve a specific + set of validation rules. + /p +/info +/attribute +attribute +namemethod/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info + p + The alternate JavaScript method name to be used + instead of the of the default. The default is + 'validate' concatenated in front of + the key (form name) passed in (ex: validateRegistrationForm). + /p +/info +/attribute +attribute +namepage/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info + p + The current page of a set of validation rules + if the page attribute for the field element + in the xml file is in use. + /p +/info +/attribute +attribute +namesrc/name +requiredfalse/required +rtexprvaluetrue/rtexprvalue +info + p + The src attribute's value when defining + the html script element. + /p +/info +/attribute +attribute +namestaticJavascript/name +requiredfalse/required +rtexprvaluefalse/rtexprvalue +info + p + Whether or not to render the static JavaScript. + Defaults to codetrue/code. + /p +/info +/attribute + +/tag + tag namelink/name -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide struts-html.xml
martinc 02/03/02 19:31:13 Modified:doc/userGuide struts-html.xml Log: Removed title and titleKey attributes from html:form tag, since they are not supported by the code. PR: 6067 Submitted by: Allen Servedio, Jon Ridgway, Manuel Ledesma, Rich Hoffman Revision ChangesPath 1.3 +0 -19 jakarta-struts/doc/userGuide/struts-html.xml Index: struts-html.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- struts-html.xml 23 Feb 2002 07:10:30 - 1.2 +++ struts-html.xml 3 Mar 2002 03:31:13 - 1.3 @@ -1479,25 +1479,6 @@ /info /attribute -attribute - nametitle/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe advisory title for this element./p - /info -/attribute - -attribute - nametitleKey/name - requiredfalse/required - rtexprvaluetrue/rtexprvalue - info - pThe message resources key for the advisory title - for this element./p - /info -/attribute - attribute nametype/name requiredfalse/required -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]