cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freek Segers (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1690) Tree with table and Ajax broken
Date Mon, 21 Nov 2005 10:38:42 GMT
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


Mime
View raw message