[jira] Commented: (TAPESTRY-306) LinkSubmit doesn't respect Form's DOM id

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (TAPESTRY-306) LinkSubmit doesn't respect Form's DOM id

JIRA tapestry-dev@jakarta.apache.org
     [ http://issues.apache.org/jira/browse/TAPESTRY-306?page=comments#action_65388 ]
     
Richard Lewis-Shell commented on TAPESTRY-306:
----------------------------------------------

Looking at the 4.0 code, Form.getName() will include a call to getId() (for direct service anyway).  getId() does not correspond to the DOM id anyway (it's the component id, whereas the DOM id would be set with an "id" informal parameter right?).  I don't think your suggested fix makes any difference.

> LinkSubmit doesn't respect Form's DOM id
> ----------------------------------------
>
>          Key: TAPESTRY-306
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-306
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Reporter: Cherry Development
>     Assignee: Richard Lewis-Shell
>     Priority: Minor
>      Fix For: 4.0

>
> LinkSubmit does not seem to check to see if that the Form that it's embedded in uses a DOM id and therefore always refers to the from by its automatically generated name attribute, even though it should be referring to it by the user-defined DOM id instead.  Not all (any?) DOM environments will allow you to refer to an element by its name attribute when it also has an id assigned.
> This should be fairly trivial to fix.  I'd be more than happy to make the fix myself if you decide this issue should be resolved.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]