You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jens Vagts (JIRA)" <de...@tapestry.apache.org> on 2008/08/13 09:44:44 UTC

[jira] Created: (TAPESTRY-2579) FormFragment does not work within a loop

FormFragment does not work within a loop
----------------------------------------

                 Key: TAPESTRY-2579
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2579
             Project: Tapestry
          Issue Type: Bug
          Components: Core Components
    Affects Versions: 5.0.14
         Environment: winxp, tomcat 6.016
            Reporter: Jens Vagts


When using the FormFragment component inside a loop, the events after form submission will be fired "to-late": writing back formdata (e.g. textfields) to it's properties is done outside of the loop.

The rendering causes no problems.

-- 
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] Closed: (TAPESTRY-2579) FormFragment does not work within a loop

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2579.
------------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

> FormFragment does not work within a loop
> ----------------------------------------
>
>                 Key: TAPESTRY-2579
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2579
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.14
>         Environment: winxp, tomcat 6.016
>            Reporter: Jens Vagts
>            Assignee: Howard M. Lewis Ship
>
> When using the FormFragment component inside a loop, the events after form submission will be fired "to-late": writing back formdata (e.g. textfields) to it's properties is done outside of the loop.
> The rendering causes no problems.

-- 
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] Commented: (TAPESTRY-2579) FormFragment does not work within a loop

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625947#action_12625947 ] 

Howard M. Lewis Ship commented on TAPESTRY-2579:
------------------------------------------------

Have you looked at the AjaxFormLoop component?  It's designed to address these issues.

> FormFragment does not work within a loop
> ----------------------------------------
>
>                 Key: TAPESTRY-2579
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2579
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.14
>         Environment: winxp, tomcat 6.016
>            Reporter: Jens Vagts
>
> When using the FormFragment component inside a loop, the events after form submission will be fired "to-late": writing back formdata (e.g. textfields) to it's properties is done outside of the loop.
> The rendering causes no problems.

-- 
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] Commented: (TAPESTRY-2579) FormFragment does not work within a loop

Posted by "Jens Vagts (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626855#action_12626855 ] 

Jens Vagts commented on TAPESTRY-2579:
--------------------------------------

Yes I had a look but did not mention to use it, since I thought it's primary usage was to add the addRow/rmeoveRow feature.

I now tried it an it works!!   :-)

I only had to define a empty block to be used as "addRow" to get rid of the default link. Maybe this could made the default (not adding a Add Row link)? And maybe a note regarding this usage (together with a crosslink from the AjaxFormLoop to the FormFragment components doc and vice versa) could be written?

Thanks Howard and sorry for creating this issue!

Tapestry is realy great software!

> FormFragment does not work within a loop
> ----------------------------------------
>
>                 Key: TAPESTRY-2579
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2579
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.14
>         Environment: winxp, tomcat 6.016
>            Reporter: Jens Vagts
>
> When using the FormFragment component inside a loop, the events after form submission will be fired "to-late": writing back formdata (e.g. textfields) to it's properties is done outside of the loop.
> The rendering causes no problems.

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