You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Freek Segers (JIRA)" <ji...@apache.org> on 2005/11/21 11:38:42 UTC

[jira] Created: (COCOON-1690) Tree with table and Ajax broken

Tree with table and Ajax broken
-------------------------------

         Key: COCOON-1690
         URL: http://issues.apache.org/jira/browse/COCOON-1690
     Project: Cocoon
        Type: Bug
  Components: Blocks: Forms  
    Versions: 2.1.8    
    Reporter: Freek Segers


It seems that whenever a table element  is used within the <ft:tree> container, the first Ajax browser update is incorrect. Although IE doesn't croak on the resulting HTML-page, FireFox sends empty update parameters (:action and :path) in all subsequent request.
The problem is caused as follows:
The initial page contains a form with the :action and :path hidden fields. After the first browser update response the table is replace with a new one, that also contains :action and :path hidden fields. After this the page contains two :action and two :path hidden fields. The (client) script that manages the TreeAction object in FireFox at this point doesn't fill either of the hidden fields an all Ajax requests result in empty browser update documents.

It used to work fine in a previous developer release (from sept, 1 2005)
When a div element is used instead of a table the tree works fine.

You can reproduce this with the SampleTree program that uses the SourceTreeModel to display a directory structure.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (COCOON-1690) Tree with table and Ajax broken

Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1690?page=all ]

Antonio Gallardo updated COCOON-1690:
-------------------------------------


Since cocoon 2.1.9 we have been using dojo fro ajax. Is this still an issue?

> Tree with table and Ajax broken
> -------------------------------
>
>                 Key: COCOON-1690
>                 URL: http://issues.apache.org/jira/browse/COCOON-1690
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8
>            Reporter: Freek Segers
>
> It seems that whenever a table element  is used within the <ft:tree> container, the first Ajax browser update is incorrect. Although IE doesn't croak on the resulting HTML-page, FireFox sends empty update parameters (:action and :path) in all subsequent request.
> The problem is caused as follows:
> The initial page contains a form with the :action and :path hidden fields. After the first browser update response the table is replace with a new one, that also contains :action and :path hidden fields. After this the page contains two :action and two :path hidden fields. The (client) script that manages the TreeAction object in FireFox at this point doesn't fill either of the hidden fields an all Ajax requests result in empty browser update documents.
> It used to work fine in a previous developer release (from sept, 1 2005)
> When a div element is used instead of a table the tree works fine.
> You can reproduce this with the SampleTree program that uses the SourceTreeModel to display a directory structure.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira