You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Norbert Sándor (JIRA)" <de...@tapestry.apache.org> on 2007/06/11 14:04:27 UTC
[jira] Created: (TAPESTRY-1557) client ID collision
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
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Updated: (TAPESTRY-1557) client ID collision
Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
[ 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: 4.1.3
> 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.3
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Updated: (TAPESTRY-1557) client ID collision
Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
[ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Resolved: (TAPESTRY-1557) client ID collision
Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Kuhnert resolved TAPESTRY-1557.
-------------------------------------
Resolution: Fixed
Assignee: Jesse Kuhnert
Was resolved by adding new seedid hidden form input logic.
> 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
> Assignee: Jesse Kuhnert
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org