You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org> on 2007/09/12 15:58:43 UTC

[jira] Updated: (TAPESTRY-1274) Document alternative form support implementation

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

Jesse Kuhnert updated TAPESTRY-1274:
------------------------------------

    Fix Version/s:     (was: 4.1.3)
                   4.1.4

> Document alternative form support implementation
> ------------------------------------------------
>
>                 Key: TAPESTRY-1274
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1274
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 4.1.2
>         Environment: JDK6, Ubuntu, Glassfish V1, tapestry 4.1.2 from SVN
>            Reporter: József Börcsök
>            Assignee: Andreas Andreou
>             Fix For: 4.1.4
>
>
> I have two forms on my page and both have a subcomponent. The subcomponent has a text input with specified tapestry ID.
> The output input HTML elements have the same id.
> Ids generated fine inside a form but it fails across them.
> A minimal source to demonstrate the problem (in the output there are 2 input tags with "text" id):
> My "container" template:
> <form jwcid="@Form"><div jwcid="@SubComponent"/></form>
> <form jwcid="@Form"><div jwcid="@SubComponent"/></form>
> The subcomponent template:
> <div>
>     <input jwcid="text@TextField" value="ognl:text"/>
>     <input jwcid="@Submit" value="Enter" action="listener:doSubmit"/>
> </div>
> The subcomponent source:
> @ComponentClass()
> public abstract class SubComponent extends BaseComponent {
>     public String text;    
>     public void doSubmit() {System.out.println("text = " + text); }
> }

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