[ 
https://issues.apache.org/jira/browse/TAPESTRY-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Kuhnert updated TAPESTRY-1557:
------------------------------------

    Fix Version/s:     (was: 4.1.3)
                   4.1.4

> client ID collision
> -------------------
>
>                 Key: TAPESTRY-1557
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1557
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.2
>            Reporter: Norbert Sándor
>            Priority: Critical
>             Fix For: 4.1.4
>
>
> Home.html:
> <span jwcid="@Test" />
> <span jwcid="@Test" />
> Test.html:
> <form jwcid="@Form">
> <input jwcid="@TextField" value="" />
> </form>
> Generated html:
> <form method="post" action="/demo/Home,$Test.$Form.sdirect" id="Form">
> <div style="display:none;" id="Formhidden"><input type="hidden" 
> name="formids" value="TextField" />
> <input type="hidden" name="submitmode" value="" />
> <input type="hidden" name="submitname" value="" />
> </div>
> <input type="text" name="TextField" value="" id="TextField" />
> </form>
> <form method="post" action="/demo/Home,$Test_0.$Form.sdirect" id="Form_0">
> <div style="display:none;" id="Form_0hidden"><input type="hidden" 
> name="formids" value="TextField" />
> <input type="hidden" name="submitmode" value="" />
> <input type="hidden" name="submitname" value="" />
> </div>
> <input type="text" name="TextField" value="" id="TextField" />
> </form>
> Please note that the 2 TextFields have the same ID: "TextField".
> It's not a problem that they have the same name because it is a form-local 
> identifier as a know, but having the same ID causes problems with client side 
> scripting.
> Regards:
> Norbi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to