cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2004-01-18 Thread husted
husted  2004/01/18 05:15:08

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Apply #26127 html:img tag lacks action attribute suggested by Firepica.
  
  Revision  ChangesPath
  1.25  +17 -0 
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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- struts-html-el.xml18 Jan 2004 07:11:26 -  1.24
  +++ struts-html-el.xml18 Jan 2004 13:15:08 -  1.25
  @@ -2721,6 +2721,23 @@
   
   /info
   
  +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
 namealign/name
 requiredfalse/required
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2004-01-18 Thread Karr, David
It looks like this is the same change I committed last night.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 18, 2004 5:15 AM
To: [EMAIL PROTECTED]
Subject: cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide
struts-html-el.xml


husted  2004/01/18 05:15:08

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Apply #26127 html:img tag lacks action attribute suggested by
Firepica.
  
  Revision  ChangesPath
  1.25  +17 -0
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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- struts-html-el.xml18 Jan 2004 07:11:26 -  1.24
  +++ struts-html-el.xml18 Jan 2004 13:15:08 -  1.25
  @@ -2721,6 +2721,23 @@
   
   /info
   
  +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
 namealign/name
 requiredfalse/required
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2004-01-18 Thread Ted Husted
Similar but different. :)

The previous change was to the logic:redirect tag. The latest was to html:img.

I just got a clue and saved you the trouble of cleaning up afterwards. :)

-Ted.

On Sun, 18 Jan 2004 09:30:08 -0800, Karr, David wrote:
 It looks like this is the same change I committed last night.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Sunday, January 18, 2004 5:15 AM
 To: [EMAIL PROTECTED]
 Subject: cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide
 struts-html-el.xml


 husted  2004/01/18 05:15:08


 Modified:contrib/struts-el/doc/userGuide struts-html-el.xml Log:
 Apply #26127 html:img tag lacks action attribute suggested by
 Firepica.

 Revision  ChangesPath
 1.25  +17 -0
 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.24 retrieving revision 1.25
 diff -u -r1.24 -r1.25
 --- struts-html-el.xml18 Jan 2004 07:11:26 -1.24 +++ struts-
 html-el.xml18 Jan 2004 13:15:08 -1.25 @@ -2721,6 +2721,23 @@

 /info


 +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
 namealign/name requiredfalse/required


 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2003-03-18 Thread dmkarr
dmkarr  2003/03/18 20:53:24

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  making property attribute of optionsCollection tag be not required, to
  match same change made for #17592 in base tag.
  
  Revision  ChangesPath
  1.17  +1 -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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- struts-html-el.xml18 Jan 2003 05:04:14 -  1.16
  +++ struts-html-el.xml19 Mar 2003 04:53:24 -  1.17
  @@ -4300,7 +4300,7 @@
   
   attribute
   nameproperty/name
  -requiredtrue/required
  +requiredfalse/required
   rtexprvaluefalse/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/contrib/struts-el/doc/userGuide struts-html-el.xml

2003-01-08 Thread dmkarr
dmkarr  2003/01/08 11:05:02

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Fixed a rtexprvalue setting I had missed before.
  
  Revision  ChangesPath
  1.14  +1 -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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- struts-html-el.xml31 Dec 2002 04:17:26 -  1.13
  +++ struts-html-el.xml8 Jan 2003 19:05:02 -   1.14
  @@ -1395,7 +1395,7 @@
attribute
   namefocusIndex/name
   requiredfalse/required
  -rtexprvaluetrue/rtexprvalue
  +rtexprvaluefalse/rtexprvalue
   info
   If the focus field is a field array, such as a radio button group, 
you can 
   specify the index in the array to receive focus.
  
  
  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-12-04 Thread dmkarr
dmkarr  2002/12/04 11:45:56

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Adding missing style-id attribute to html-el:image tag.
  
  Revision  ChangesPath
  1.11  +9 -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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- struts-html-el.xml26 Nov 2002 22:28:49 -  1.10
  +++ struts-html-el.xml4 Dec 2002 19:45:55 -   1.11
  @@ -2297,7 +2297,15 @@
   rtexprvaluefalse/rtexprvalue
 /attribute
   
  -  !-- Is there no styleId attribute? --
  +attribute
  +namestyleId/name
  +requiredfalse/required
  +rtexprvaluefalse/rtexprvalue
  +info
  +Identifier to be assigned to this HTML element (renders
  +an id attribute).
  +/info
  +/attribute
   
 attribute
   nametabindex/name
  
  
  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-11-03 Thread dmkarr
dmkarr  2002/11/03 18:33:27

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Removed obsolete comment.
  
  Revision  ChangesPath
  1.8   +0 -2  
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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- struts-html-el.xml4 Nov 2002 00:34:37 -   1.7
  +++ struts-html-el.xml4 Nov 2002 02:33:26 -   1.8
   -3193,8 +3193,6 
 /info
   /attribute
   
  -   !-- No onchange attribute? --
  -
   attribute
 nameonclick/name
 requiredfalse/required
  
  
  

--
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/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-10-27 Thread dmkarr
dmkarr  2002/10/27 12:29:42

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  PR: 13337
  
  The accessKey attribute was removed from html:select, so we have to remove
  the same attribute from html-el:select.
  
  Revision  ChangesPath
  1.6   +0 -10 
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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- struts-html-el.xml26 Oct 2002 05:24:44 -  1.5
  +++ struts-html-el.xml27 Oct 2002 20:29:42 -  1.6
   -5392,16 +5392,6 
   
   
   attribute
  -nameaccesskey/name
  -requiredfalse/required
  -rtexprvaluefalse/rtexprvalue
  -info
  -The keyboard character used to move focus immediately to this
  -element.
  -/info
  -/attribute
  -
  -attribute
   namealt/name
   requiredfalse/required
   rtexprvaluefalse/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/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-10-25 Thread dmkarr
dmkarr  2002/10/25 22:24:44

  Modified:contrib/struts-el/src/share/org/apache/strutsel/taglib/html
ELJavascriptValidatorTag.java
   contrib/struts-el/doc/userGuide struts-html-el.xml
  Added:   contrib/struts-el/src/share/org/apache/strutsel/taglib/html
ELJavascriptValidatorTagBeanInfo.java
  Log:
  Bug 13985; Adding htmlComment attribute to html-el:javascript tag, also made page 
attribute check for null string
  
  Revision  ChangesPath
  1.4   +46 -9 
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELJavascriptValidatorTag.java
  
  Index: ELJavascriptValidatorTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELJavascriptValidatorTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ELJavascriptValidatorTag.java 1 Oct 2002 04:25:50 -   1.3
  +++ ELJavascriptValidatorTag.java 26 Oct 2002 05:24:44 -  1.4
  @@ -62,7 +62,7 @@
   
   import org.apache.struts.taglib.html.JavascriptValidatorTag;
   import javax.servlet.jsp.JspException;
  -import org.apache.taglibs.standard.tag.el.core.ExpressionUtil;
  +import org.apache.strutsel.taglib.utils.EvalHelper;
   import org.apache.taglibs.standard.tag.common.core.NullAttributeException;
   
   /**
  @@ -82,6 +82,33 @@
   public class ELJavascriptValidatorTag extends JavascriptValidatorTag {
   
   /**
  + * String value of the page attribute.
  + */
  +private String   pageExpr;
  +
  +/**
  + * Returns the string value of the page attribute.
  + */
  +public  String   getPageExpr() { return (pageExpr); }
  +
  +/**
  + * Sets the string value of the page attribute.  This attribute is mapped
  + * to this method by the codeELJavascriptValidatorTagBeanInfo/code
  + * class.
  + */
  +public  void setPageExpr(String pageExpr)
  +{ this.pageExpr  = pageExpr; }
  +
  +/**
  + * Resets attribute values for tag reuse.
  + */
  +public void release()
  +{
  +super.release();
  +setPageExpr(null);
  +}
  +
  +/**
* Process the start tag.
*
* @exception JspException if a JSP exception has occurred
  @@ -93,7 +120,8 @@
   
   /**
* Evaluates and returns a single attribute value, given the attribute
  - * name, attribute value, and attribute type.  It uses
  + * name, attribute value, and attribute type.  It uses the
  + * codeEvalHelper/code class to interface to
* codeExpressionUtil.evalNotNull/code to do the actual evaluation, and
* it passes to this the name of the current tag, the codethis/code
* pointer, and the current pageContext.
  @@ -101,6 +129,8 @@
* @param attrName attribute name being evaluated
* @param attrValue String value of attribute to be evaluated using EL
* @param attrType Required resulting type of attribute value
  + * @exception NullAttributeException if either the codeattrValue/code
  + * was null, or the resulting evaluated value was null.
* @return Resulting attribute value
*/
   private Object   evalAttr(String   attrName,
  @@ -108,8 +138,8 @@
 ClassattrType)
   throws JspException, NullAttributeException
   {
  -return (ExpressionUtil.evalNotNull(javascript, attrName, attrValue,
  -   attrType, this, pageContext));
  +return (EvalHelper.eval(javascript, attrName, attrValue, attrType,
  +this, pageContext));
   }
   
   /**
  @@ -143,7 +173,7 @@
   }
   
   try {
  -setPage(((Integer) evalAttr(page, getPage() + , Integer.class)).
  +setPage(((Integer) evalAttr(page, getPageExpr(), Integer.class)).
   intValue());
   } catch (NullAttributeException ex) {
   setPage(0);
  @@ -161,6 +191,13 @@
 String.class));
   } catch (NullAttributeException ex) {
   setStaticJavascript(null);
  +}
  +
  +try {
  +setHtmlComment((String) evalAttr(htmlComment, getHtmlComment(),
  + String.class));
  +} catch (NullAttributeException ex) {
  +setHtmlComment(null);
   }
   }
   }
  
  
  
  1.1  
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELJavascriptValidatorTagBeanInfo.java
  
  Index: ELJavascriptValidatorTagBeanInfo.java
  ===
  /*
   * $Header: 

cvs commit: jakarta-struts/contrib/struts-el/doc/userGuide struts-html-el.xml

2002-10-13 Thread dmkarr

dmkarr  2002/10/13 20:16:39

  Modified:contrib/struts-el/doc/userGuide struts-html-el.xml
  Log:
  Fixed a minor typo.
  Reordered one styleId and styleClass pair.
  
  Revision  ChangesPath
  1.4   +6 -8  
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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- struts-html-el.xml5 Oct 2002 05:38:40 -   1.3
  +++ struts-html-el.xml14 Oct 2002 03:16:39 -  1.4
  @@ -1722,7 +1722,7 @@
   requiredfalse/required
   rtexprvaluefalse/rtexprvalue
   info
  -pThe applicaiton-relative path (beginning with a /
  +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
  @@ -3954,25 +3954,23 @@
   /attribute
   
   attribute
  -namestyleId/name
  +namestyleClass/name
   requiredfalse/required
   rtexprvaluefalse/rtexprvalue
   info
  -Identifier to be assigned to this HTML element (renders
  -an id attribute).
  +CSS stylesheet class to be applied to this HTML element.
   /info
   /attribute
   
   attribute
  -namestyleClass/name
  +namestyleId/name
   requiredfalse/required
   rtexprvaluefalse/rtexprvalue
   info
  -CSS stylesheet class to be applied to this HTML element.
  +Identifier to be assigned to this HTML element (renders
  +an id attribute).
   /info
   /attribute
  -
  -!-- No styleId attribute? --
   
   attribute
   namevalue/name
  
  
  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]