tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert (JIRA)" <...@tapestry.apache.org>
Subject [jira] Resolved: (TAPESTRY-1278) wrong clientId with multiple forms
Date Tue, 15 Jan 2008 13:44:35 GMT

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

Jesse Kuhnert resolved TAPESTRY-1278.
-------------------------------------

    Resolution: Fixed

> wrong clientId with multiple forms
> ----------------------------------
>
>                 Key: TAPESTRY-1278
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1278
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.2
>         Environment: Java6, NetBeans, Linux, Glassfish V1, V2
>            Reporter: József Börcsök
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.4
>
>
> getClientId() returns only a part of the generated id with multiple forms (using org.apache.tapestry.form.MultipleFormSupportFactory,
see https://issues.apache.org/jira/browse/TAPESTRY-1274) in render phase if no submit was
before.
> I have 2 forms on a page and I'd like to generate the client ids into the HTML output.
With org.apache.tapestry.form.MultipleFormSupportFactory the component ids are generated fine
(with the form prefix) but getClientId skips that prefix, so it returns only "text" instead
of "Form_0:text" or "Form_1:text". After submit one of the forms the getClientId returns correct
values (in listener and render) in the submitted form, but the other one is still wrong.

-- 
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


Mime
View raw message