[ http://issues.apache.org/jira/browse/TAPESTRY-584?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-584:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

Found most of the places (at least in Java code) that used document.<formname> 
or document.<formname>.<fieldname> and replaced with document.getElementById().

The Form component now renders an id attribute (with the same value as its name 
attribute).

> Form should have an element id when rendered (same applies to various 
> FormComponents as well)
> ---------------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-584
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-584
>      Project: Tapestry
>         Type: Improvement
>     Versions: 4.0
>     Reporter: Dave Syer
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> Form should have an element id when rendered (same applies to various 
> FormComponents as well).
> Best practice these days is to use getElementById() in Javascript, but 
> Tapestry is not very consistent about which components it gives ids to.  
> Ideally it should be all of them, or we should have a uniform mechanism for 
> specifying them.  Form is a case in point (as is Hidden).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to