[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-user
Subject:    Re: [tobago] tree fills node id with null
From:       "Zied Hamdi" <javahamdi () gmail ! com>
Date:       2007-10-31 7:59:15
Message-ID: bac37a680710310059p2674a542ka257df7728ead602 () mail ! gmail ! com
[Download RAW message or body]

So, the error was due to the snippet:

 < c:if test ="#{not empty ajaxScope}" >

                             < tc:attribute

                                   name ="renderedPartially"

                                   value =":page:mainInfoTabPanel" />
the id :page:mainInfoTabPanel (that is itself a bug workaround :-)) was not
found so it throws a js exception :-/

Does anyone know where is the log written, so I avoid spamming the mailing
list ;-)?

Regards,
Zied


2007/10/31, Zied Hamdi <javahamdi@gmail.com>:
> 
> Hi,
> 
> I have a problem with an included tree: it works on a page but doesn't in
> the other and I can't figure out what's wrong with the the latter. The
> problem is in js: it declares a null id (then it's impossible to react
> onClick). I've joined a screen capture of the script state in debug mode:
> 
> new Tobago.ScriptLoader(
> 
> ['/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tree.js',
>  '/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js'],
>  
> "{"
> + "  var treeResourcesHelp = new Object();"
> + "  treeResourcesHelp[\"openfoldericon.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/openfoldericon.gif\";"
>  
> + "  treeResourcesHelp[\"foldericon.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/foldericon.gif\";"
>  + "  treeResourcesHelp[\" unchecked.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/unchecked.gif\";"
>  + "  treeResourcesHelp[\"uncheckedDisabled.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/uncheckedDisabled.gif\";"
>  
> + "  treeResourcesHelp[\"checked.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/checked.gif\";"
>  + "  treeResourcesHelp[\" checkedDisabled.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/checkedDisabled.gif\";"
>  + "  treeResourcesHelp[\"new.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/new.gif\";"
>  
> + "  treeResourcesHelp[\"T.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/T.gif\";"
>  + "  treeResourcesHelp[\"L.gif\ "] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/L.gif\";"
>  + "  treeResourcesHelp[\"I.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/I.gif\";"
>  
> + "  treeResourcesHelp[\"Lminus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Lminus.gif\";"
>  + "  treeResourcesHelp[\" Tminus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Tminus.gif\";"
>  + "  treeResourcesHelp[\"Rminus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Rminus.gif\";"
>  
> + "  treeResourcesHelp[\"Lplus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Lplus.gif\";"
>  + "  treeResourcesHelp[\" Tplus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Tplus.gif\";"
>  + "  treeResourcesHelp[\"Rplus.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Rplus.gif\";"
>  
> + "  treeResourcesHelp[\"treeMenuOpen.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/treeMenuOpen.gif\";"
>  + "  treeResourcesHelp[\" treeMenuClose.gif\"] =
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/treeMenuClose.gif\";"
>  + " "
> + "  treeResourcesHelp.getImage = function (name) {"
> + "    var result = this[name];"
> + "    if (result) {"
> + "      return result;"
> + "    } else {"
> + "      return
> \"/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/blank.gif\";"
>  
> + "    }"
> + "  };"
> + " "
> + "  var page_categoriesTree_treeNodeCommand = \"
> Tobago.reloadComponent('null', this.id, {});\";"
> + "  var page_categoriesTree_node9104137 = new
> TreeOldNode('Categories',null,'page:categoriesTree:node9104137','tree',true,false,fa \
> lse,false,false,'page:categoriesTree',false,false,'page::form',false,false,false,fal \
> se,false,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,null,null,null,'296',null);"
>  
> + "  var page_categoriesTree_node5030952 = new
> TreeOldNode('rv',null,'page:categoriesTree:node5030952','tree',false,false,false,fal \
> se,false,'page:categoriesTree',false,false,'page::form',false,false,false,false,fals \
> e,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,page_categoriesTree_node9104137,null,null,'296',null);"
>  
> + "  var page_categoriesTree_node31596357 = new
> TreeOldNode('zied',null,'page:categoriesTree:node31596357','tree',false,false,false, \
> false,false,'page:categoriesTree',false,false,'page::form',false,false,false,false,f \
> alse,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,page_categoriesTree_node9104137,null,null,'296',null);"
>  
> + "  var page_categoriesTree_node7547796 = new
> TreeOldNode('mona',null,'page:categoriesTree:node7547796','tree',false,false,false,f \
> alse,false,'page:categoriesTree',false,false,'page::form',false,false,false,false,fa \
> lse,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,page_categoriesTree_node9104137,null,null,'296',null);"
>  
> + "  var treeDiv = document.getElementById
> ('page:categoriesTree-cont');"
> + "  treeDiv.innerHTML =
> page_categoriesTree_node9104137.toString(0, true);"
> + "  page_categoriesTree_node9104137.initSelection();"
> + "  page_categoriesTree_node9104137.setScrollPosition();"
> + "  Tobago.addBindEventListener(Tobago.element('page:categoriesTree-div'),
> 'scroll', page_categoriesTree_node9104137, 'doScroll');"
> + "}"
> );
> 
> The tree code is here:
> 
> < tc:panel
> 
> xmlns=" http://www.w3.org/1999/xhtml"
> 
> xmlns:f=" http://java.sun.com/jsf/core"
> 
> xmlns:h=" http://java.sun.com/jsf/html"
> 
> xmlns:t=" http://myfaces.apache.org/tomahawk"
> 
> xmlns:tc=" http://myfaces.apache.org/tobago/component"
> 
> xmlns:tx=" http://myfaces.apache.org/tobago/extension"
> 
> xmlns:c=" http://java.sun.com/jstl/core">
> 
> 
> 
> <!--
> 
> ctrl : ContractController or CategoryController
> 
> ajaxScope : ajax comp id
> 
> -->
> 
> 
> 
> < tc:tree
> 
> id ="categoriesTree"
> 
> value ="#{ctrl.categoriesRoot}"
> 
> showIcons ="true"
> 
> mutable ="false"
> 
> nameReference ="userObject.embedded.name<http://userobject.embedded.name/>
> " >
> 
> < f:facet name ="treeNodeCommand" >
> 
> < tc:command
> 
> id ="selectCategoryCmd"
> 
> actionListener ="#{ctrl.selectCategory}" >
> 
> < c:if test ="#{not empty ajaxScope}" >
> 
> < tc:attribute
> 
> name ="renderedPartially"
> 
> value =":page:mainInfoTabPanel" />
> 
> <!--        <tc:attribute
> 
> name="renderedPartially"
> 
> value="#{ajaxScope}" /> -->
> 
> </ c:if>
> 
> </ tc:command>
> 
> </ f:facet>
> 
> </ tc:tree>
> 
> </ tc:panel>
> Seen it's already difficult to develop UIs, I think the best is to throw
> an exception instead of creating the tree with null id nodes, and then throw
> js exceptions. Throwing the exception in java could maybe explain more about
> the cause of the problem. But for now, does anyone have an idea about what
> can be the cause? :-)
> --
> Regards,
> Zied Hamdi
> 
> 
> 


-- 
Zied Hamdi
zatreex.sourceforge.net


[Attachment #3 (text/html)]

<div>So, the error was due to the snippet:</div>
<div>&nbsp;</div>
<div>&nbsp;<span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: teal">&lt;</span><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f"> c:if </span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: #7f007f">test</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: black">  =</span><span lang="EN-GB" style="FONT-SIZE: \
10pt; COLOR: #2a00ff">&quot;#{not empty ajaxScope}&quot;</span><span></span> <span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: teal">&gt;</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt"> </span> </div>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
tc:attribute</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f7f7f"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">name</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;renderedPartially&quot;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">value</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;:page:mainInfoTabPanel&quot; </span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: teal">/&gt;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p>
<div>the id <font size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">:page:mainInfoTabPanel <font color="#000000">(that is itself a bug \
workaround :-))</font> </span></font><font color="#000000">was not found so it throws \
a js&nbsp;exception :-/ </font></div>
<div><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #2a00ff"><font \
color="#000000"></font></span>&nbsp;</div> <div><span lang="EN-GB" style="FONT-SIZE: \
10pt; COLOR: #2a00ff"><font color="#000000">Does anyone know where is the log \
written, so I avoid spamming the mailing list ;-)?</font></span></div> \
<div><br>Regards,</div> <div>Zied</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">2007/10/31, Zied Hamdi &lt;<a \
href="mailto:javahamdi@gmail.com">javahamdi@gmail.com</a>&gt;:</span> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid"> <div>Hi,</div>
<div>&nbsp;</div>
<div>I have a problem with an included tree: it works on a page but doesn&#39;t in \
the other and I can&#39;t figure out what&#39;s wrong with the the latter. The \
problem is in js: it declares a null id (then it&#39;s impossible to react onClick). \
I&#39;ve joined a screen capture of the script state in debug mode:  </div>
<div>&nbsp;</div>
<div>new Tobago.ScriptLoader(<br>&nbsp;&nbsp;&nbsp; \
[&#39;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tree.js&#39;, \
&#39;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js&#39;], \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&quot;{&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
treeResourcesHelp = new Object();&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;openfoldericon.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/openfoldericon.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;foldericon.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/foldericon.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;  unchecked.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/unchecked.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;uncheckedDisabled.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/uncheckedDisabled.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;checked.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/checked.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;  checkedDisabled.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/ima \
ge/checkedDisabled.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + \
&quot;&nbsp; treeResourcesHelp[\&quot;new.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/new.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;T.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/T.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;L.gif\  &quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/L.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;I.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/I.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;Lminus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Lminus.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;  Tminus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Tminus.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;Rminus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Rminus.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;Lplus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Lplus.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;  Tplus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Tplus.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;Rplus.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/Rplus.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp[\&quot;treeMenuOpen.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/treeMenuOpen.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeResourcesHelp[\&quot;  treeMenuClose.gif\&quot;] = \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/treeMenuClose.gif\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot; &quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
treeResourcesHelp.getImage  = function (name) \
{&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp;&nbsp;&nbsp; var \
result = this[name];&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + \
&quot;&nbsp;&nbsp;&nbsp; if (result) \
{&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + \
&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return \
result;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + \
&quot;&nbsp;&nbsp;&nbsp; } else {&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return \
\&quot;/IntoServicesWeb/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/blank.gif\&quot;;&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp;&nbsp;&nbsp; \
}&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
};&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot; \
&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
page_categoriesTree_treeNodeCommand = \&quot;Tobago.reloadComponent(&#39;null&#39;,<a \
onclick="return top.js.OpenExtLink(window,event,this)" href="http://this.id/" \
target="_blank">  this.id</a>, \
{});\&quot;;&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
page_categoriesTree_node9104137 = new \
TreeOldNode(&#39;Categories&#39;,null,&#39;page:categoriesTree:node9104137&#39;,&#39;t \
ree&#39;,true,false,false,false,false,&#39;page:categoriesTree&#39;,false,false,&#39;p \
age::form&#39;,false,false,false,false,false,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,null,null,null,&#39;296&#39;,null);&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
page_categoriesTree_node5030952 = new \
TreeOldNode(&#39;rv&#39;,null,&#39;page:categoriesTree:node5030952&#39;,&#39;tree&#39; \
,false,false,false,false,false,&#39;page:categoriesTree&#39;,false,false,&#39;page::fo \
rm&#39;,false,false,false,false,false,treeResourcesHelp,null,page_categoriesTree_treeNodeCommand,page_categoriesTree_node9104137,null,null,&#39;296&#39;,null);&quot; \
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
page_categoriesTree_node31596357 = new \
TreeOldNode(&#39;zied&#39;,null,&#39;page:categoriesTree:node31596357&#39;,&#39;tree&# \
39;,false,false,false,false,false,&#39;page:categoriesTree&#39;,false,false,&#39;page: \
:form&#39;,false,false,false,false,false,treeResourcesHelp,null,page_categoriesTree_tr \
eeNodeCommand,page_categoriesTree_node9104137,null,null,&#39;296&#39;,null);&quot;  \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var \
page_categoriesTree_node7547796 = new \
TreeOldNode(&#39;mona&#39;,null,&#39;page:categoriesTree:node7547796&#39;,&#39;tree&#3 \
9;,false,false,false,false,false,&#39;page:categoriesTree&#39;,false,false,&#39;page:: \
form&#39;,false,false,false,false,false,treeResourcesHelp,null,page_categoriesTree_tre \
eNodeCommand,page_categoriesTree_node9104137,null,null,&#39;296&#39;,null);&quot;  \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; var treeDiv = \
document.getElementById(&#39;page:categoriesTree-cont&#39;);&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; treeDiv.innerHTML = page_categoriesTree_node9104137.toString(0, \
true);&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
page_categoriesTree_node9104137.initSelection();&quot;  \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;&nbsp; \
page_categoriesTree_node9104137.setScrollPosition();&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
+ &quot;&nbsp; Tobago.addBindEventListener(Tobago.element(&#39;page:categoriesTree-div&#39;), \
&#39;scroll&#39;, page_categoriesTree_node9104137, &#39;doScroll&#39;);&quot;  \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + &quot;}&quot;<br>);</div> \
<div>&nbsp;</div> <div>The tree code is here:</div><span style="FONT-SIZE: 10pt; \
COLOR: teal"> <p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span style="FONT-SIZE: 10pt; COLOR: #3f7f7f"> tc:panel</span><span \
style="FONT-SIZE: 10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span \
style="FONT-SIZE: 10pt; COLOR: #3f7f7f"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span style="FONT-SIZE: 10pt; COLOR: #7f007f">xmlns</span><span \
style="FONT-SIZE: 10pt; COLOR: black">=</span><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"> &quot;<a onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://www.w3.org/1999/xhtml" target="_blank"> \
http://www.w3.org/1999/xhtml</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:f</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://java.sun.com/jsf/core" target="_blank"> \
http://java.sun.com/jsf/core</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:h</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://java.sun.com/jsf/html" target="_blank"> \
http://java.sun.com/jsf/html</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:t</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://myfaces.apache.org/tomahawk" target="_blank"> \
http://myfaces.apache.org/tomahawk</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:tc</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://myfaces.apache.org/tobago/component" target="_blank"> \
http://myfaces.apache.org/tobago/component</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span> </p>
<p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:tx</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://myfaces.apache.org/tobago/extension" target="_blank"> \
http://myfaces.apache.org/tobago/extension</a>&quot;</span><span style="FONT-SIZE: \
10pt"></span> </p>
<p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="FONT-SIZE: \
10pt; COLOR: #7f007f">xmlns:c</span><span style="FONT-SIZE: 10pt; COLOR: \
black">=</span><span style="FONT-SIZE: 10pt; COLOR: #2a00ff"> &quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://java.sun.com/jstl/core" target="_blank"> \
http://java.sun.com/jstl/core</a>&quot;</span><span style="FONT-SIZE: 10pt; COLOR: \
teal">&gt;</span><span style="FONT-SIZE: 10pt"> </span></p>
<p style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt">&nbsp;</span></p>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf">&lt;!-- </span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ctrl : ContractController or \
CategoryController</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ajaxScope : ajax comp \
id</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p style="MARGIN: 0cm \
0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf"><span>&nbsp;</span>--&gt;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: \
10pt">&nbsp;</span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
tc:tree</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f7f7f"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">id</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;categoriesTree&quot;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> \
</span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; \
COLOR: #2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">value</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;#{ctrl.categoriesRoot}&quot;</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt"> </span></p> <p style="MARGIN: 0cm 0cm 0pt"><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">showIcons</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;true&quot;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> \
</span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; \
COLOR: #2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">mutable</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;false&quot;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> \
</span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; \
COLOR: #2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">nameReference</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black">  =</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #2a00ff">&quot;<a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://userobject.embedded.name/" \
target="_blank">userObject.embedded.name</a>&quot; </span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: teal"> &gt;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: \
10pt; COLOR: black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  f:facet \
</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #7f007f">name</span><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black"> =</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: #2a00ff">&quot;treeNodeCommand&quot; </span><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: teal"> &gt;</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
tc:command</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f7f7f"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">id</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;selectCategoryCmd&quot;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">actionListener</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black">  =</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;#{ctrl.selectCategory}&quot;</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: teal"> &gt;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"></span> </p>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  c:if \
</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #7f007f">test</span><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black"> =</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: #2a00ff">&quot;#{not empty ajaxScope}&quot; \
</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: teal"> &gt;</span><span \
lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
tc:attribute</span><span lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f7f7f"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">name</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;renderedPartially&quot;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p> <p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: \
#2a00ff"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#7f007f">value</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black">  \
=</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#2a00ff">&quot;:page:mainInfoTabPanel&quot; </span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: teal">/&gt;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f5fbf">&lt;!-- \
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span> &lt;tc:attribute </span><span \
lang="EN-GB" style="FONT-SIZE: 10pt"></span></p> <p style="MARGIN: 0cm 0cm 0pt"><span \
lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span>name=&quot;renderedPartially&quot;</span><span lang="EN-GB" style="FONT-SIZE: \
10pt"> </span></p>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f5fbf"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span>value=&quot;#{ajaxScope}&quot; /&gt; --&gt;</span><span lang="EN-GB" \
style="FONT-SIZE: 10pt"> </span></p>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;/</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
c:if</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: teal">&gt;</span><span \
lang="EN-GB" style="FONT-SIZE: 10pt"> </span></p> <p style="MARGIN: 0cm 0cm \
0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;/</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
tc:command</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&gt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> </span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;/</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: #3f7f7f">  \
f:facet</span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
teal">&gt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> </span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
black"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: teal">&lt;/</span><span lang="EN-GB" style="FONT-SIZE: \
10pt; COLOR: #3f7f7f">  tc:tree</span><span lang="EN-GB" style="FONT-SIZE: 10pt; \
COLOR: teal">&gt;</span><span lang="EN-GB" style="FONT-SIZE: 10pt"> </span></p> <p \
style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: \
teal">&lt;/</span><span style="FONT-SIZE: 10pt; COLOR: #3f7f7f"> tc:panel</span><span \
style="FONT-SIZE: 10pt; COLOR: teal">&gt;</span></p></span> <div><span lang="EN-GB" \
style="FONT-SIZE: 10pt; COLOR: #3f7f7f"><font color="#000000">Seen it&#39;s already \
difficult to develop UIs, I think the best is to throw an exception instead of \
creating the tree with null id nodes, and then throw js exceptions. Throwing the \
exception in java could maybe explain more about the cause of the problem. But for \
now,&nbsp;does anyone have an&nbsp;idea about what can be the cause? :-)  \
</font></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: \
#3f7f7f"><br></span></div> <div>-- </div>
<div>Regards,<br>Zied Hamdi<br>&nbsp;</div><br clear="all"></blockquote></div><br><br \
clear="all"><br>-- <br>Zied Hamdi<br><a \
href="http://zatreex.sourceforge.net">zatreex.sourceforge.net</a> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic