[JIRA-OS] Commented: (WW-221) taglib descriptor generated by XDoclet and additional html/javascript attributes

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Geoff Urbach
    Created: Thu, 11 Sep 2003 4:36 AM
       Body:
yep - I am also having problems downloading the patch,
could someone please add the attachments in again.

thx,
geoff
---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-221


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-221
    Summary: taglib descriptor generated by XDoclet and additional html/javascript attributes
       Type: Improvement

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Misc
   Fix Fors:
             2.0
   Versions:
             2.0-beta2
             2.0-beta1

   Assignee: Patrick Lightbody
   Reporter: Rainer Hermanns

    Created: Sat, 21 Jun 2003 5:08 AM
    Updated: Fri, 5 Sep 2003 12:33 PM

Description:
The attached patches enable the build process to generate the taglib descriptor with xdoclet 1.2 beta3.

Additionally I introduced an abstraction layer for all 'input' ui tags and more HTML attributes according to W3C Specs:

Additions/changes in detail:

new files:
-------------------------------------------------------
AbstractInputTag.java

o added as abstraction layer for input type html components 
  (checkbox, file, password, submit, text)
o added more html attributes to set according to w3c spec:
    - accesskey
    - align
    - onblur
    - onfocus
    - onselect
    - readonly
    - maxlength
    - size
    - tabindex

Changes:
-------------------------------------------------------
AbstractListTag.java:
o added javascript events:
    - onblur
    - onfocus

AbstractUiTag.java
o added common javascript events:
    - onclick
    - ondblclick
    - onkeydown
    - onkeypress
    - onkeyup
    - onmousedown
    - onmouseout
    - onmouseup
o added common html attributes
    - title
o adjusted methods:
    - release frees all attributes to default state
    - added set() methods for velocity for all new attributes

CheckboxTag.java
o now inherited from AbstractInputTag
o added html attribute
    - checked

DoubleSelectTag.java
o added html attribute
    - disabled

FileTag.java
o removed size attribute, now inherited from AbstractInputTag

FormTag.java
o new javascript event attributes
    - onreset
    - onsubmit
o added velocity setters for all attributes

LabelTag.java
o new html attribute
    - accesskey
o new javascript event attributes
    - onblur
    - onfocus

PasswordTag.java
o now inhertied from AbstractInputTag
o removed size attribute

RadioTag.java
o new html attributes
    - accesskey
    - checked
o new javascript event attribute
    - onselect
o added release() method

SelectTag.java
o new html attribute
    - disabled

SubmitTag.java
o now inherited from AbstractInputTag
o removed align attribute

TextFieldTag.java
o now inherited from AbstractInputTag
o removed size attribute

TextAreaTag.java
o added javascript event attributes
    - onblur
    - onfocus
    - onselect
o added html attribute
    - readonly

All newly introduced attributes have simple velocity setter methods.
The release() methods for all tags are adjusted.

The xdoclet jar files (from official 1.2beta3) should be placed to lib/build/xdoclet. The changed build.xml uses this directory as classpath reference.

Changes in build.xml:

o added webdoclet task
o adjusted java task (now depends on webdoclet)
o adjusted properties (new build.java-gen-src property)
o adjusted jar and war tasks (tld copy tasks)







---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.