Hey Bill,

I havent look into DynaFaces because is still in its very early stage.  If
you found it works, that's good, you should post the solution with
DynaFaces here so other users can use it..  I will definitely look into
DynaFaces once it becomes more mature.

Here's how it looks in dynafaces. You'll find this won't work with the current dynafaces snapshot though. I rebuilt it with a patch for that defect mentioned below (see the issue tracker).

   <h:form prependId="false" id="form">
     <h:panelGroup id="treepanel">
       <t:tree2 value="${dao.rootItem}" var="node"
                clientSideToggle="false">
         <f:facet name="content">
           <h:outputText value="#{node.uri}"/>
         </f:facet>
       </t:tree2>
     </h:panelGroup>
   </h:form>

   <script type="text/javascript" language="javascript">
     $('form').submit = function() {
         DynaFaces.fireAjaxTransaction($('form'), {render:
                                       'treepanel'});
     };
   </script>


Roger


Thanks,

Bill
Roger Keays <[EMAIL PROTECTED] havenue.com.au> To Sent by: news [email protected] <[EMAIL PROTECTED] cc rg> Subject Re: Tree2 and Ajax4JSF Integration 09/22/2006 05:26 for Ajax Lazy Loading AM Please respond to "MyFaces Discussion" <[EMAIL PROTECTED] ache.org>



Hey Bill,

Nice Blog :)

I've got another solution under the belt using DynaFaces which doesn't
require any customization of the navigation components. Unfortunately,
DynaFaces defect #13
(https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=13) has to
be fixed before it is readily usable.

DynaFaces seems to be a very clean and efficient implementation of AJAX
for JSF.

Roger

William Huang wrote:
There were a few postings in this mail list inquiring about tomahawk
tree2
and ajax.  I posted a simple example in my blog

http://jroller.com/page/plainoldweblog?entry=use_tomahawk_tree2_and_ajax4jsf

Is not a great example but is a nice start I guess.  Also my first blog
as
well

feel free to put comments on it.

Thanks,

William Huang
Product Development Team
IntraLinks, Inc.

Disclaimer: This electronic mail and any attachments are confidential and
may be privileged. If you are not the intended recipient, please notify the
sender immediately by replying to this email, and destroy all copies of
this email and any attachments. Thank you.



--
----------------------------------------
Ninth Avenue Software
p: +61 7 3137 1351 (UTC +10)
f: +61 7 3102 9141
w: http://www.ninthavenue.com.au
e: [EMAIL PROTECTED]
----------------------------------------


Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.




--
----------------------------------------
Ninth Avenue Software
p: +61 7 3137 1351 (UTC +10)
f: +61 7 3102 9141
w: http://www.ninthavenue.com.au
e: [EMAIL PROTECTED]
----------------------------------------

Reply via email to