Matthias, yes - I believe it's the same issue.
But in my opinion the primary source of troubles is the usage of a different renderer (don't know why), which doesn't render the needed js code after the tree. Ordinary trees work fine, so I guess the construct  document.forms[][] is ok.

-- Renzo


Matthias Wessendorf wrote:
is this related to this:

https://issues.apache.org/jira/browse/TRINIDAD-935

On Feb 12, 2008 9:33 PM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
  
Hi, I tried to use a tr:tree as the detail component of a tr:table - as
well as PPR of the involved row according to tree node selection.
It almost works - at least on FF. On IE - upon clicking any node - I get
a js error such as:

document.forms[...][...] is null or not an object

After some investigations, I noticed that this statement occurs in a js
chunk rendered after tr:tree.
This occurs for a normal tree, but this code is totally missing for the
above tree used as a detail.
Indeed the former is rendered by
org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.TreeRenderer,
while the latter is rendered by
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TreeRenderer.
Don't ask me why there are two tree renderers.
Anyway even the latter is rendered with onclick attributes (on nodes)
invoking _adfTreeSelector.select() on a selector object never rendered
in the PPR response.
Then (I guess) the js crash after clicking any node.
Any suggestion to have the embedded tree behaving as a normal tree is
welcome.

-- Renzo




    



  

Reply via email to