Tapestry Component Life Cycle with Example - components

Can anyone share the link or some good tutorial about the Tapestry components life cycle with tutorial?
Regards,
Mahendra

There is a lot explained here if you did not see this yet:
http://tapestry.apache.org/component-rendering.html

You could also take a look at the tapestry source: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/

If you like to learn by the example here you can find a great example of the tapestry component lifecycle by Geoff Callender, it's called What is called and when.
You also 've a similiar example but for ajax requests here.
I 've found the whole page very useful and I recommend you to browse every example of the Tapestry Jumpstart web page.

Related

Using the Extension Library Navigator

Does anyone know of a good tutorial or YouTube video that explains how to set up and use the Navigator in the IBM Xpages Extension Library?
It is a bit confusing with all the options, types of nodes, and Select & Submit Values. Hope to find something that shows the simple way to use this tool along with some of the Advanced capabilities.
I did a quick youtube video where I show just the simplest use of it. enjoy
http://www.youtube.com/watch?v=adtyIAo3bZE
Is there anything specific you want to know?
Hopefully a good tutorial is the XPages Extension Library book. It goes into detail on all the various node types.

Make Spheres on a Canvas3D 'clickable'

I've got a Canvas3D which holds a couple Spheres. Is there a way to detect when the user clicks on a sphere?
In Java3D this is known as "Picking" you should read the section on the Java3D API Tutorial if you haven't already. Here is the section on Interacting with objects, you're looking for page 35 by the way:
http://java.sun.com/developer/onlineTraining/java3d/j3d_tutorial_ch4.pdf
Heres the entire tutorial:
http://java.sun.com/developer/onlineTraining/java3d/
Hopefully this answer didn't come too late! I just started Java3D myself, hope this helped!

Anyone know of a good "cookbook" for smartGWT?

I've done UI dev before, but not SmartGWT. Wanted to know if there is any such "cookbook" of best practices and "how-to's" - outside of the ShowCase that any of you would strongly recommend.
Thanks!
Alexx
The QuickStart Guide first: http://www.smartclient.com/releases/SmartGWT_Quick_Start_Guide.pdf
Definitely read cover to cover.
Then the public wiki has stuff for specific scenarios (eg how to set up JBoss with SmartGWT Messaging): wiki.smartclient.com

Starting on AutoMapper

I found Automapper quite interesting from the concept. I however am trying to burn (or heat up) my fingers on it. Can somebody help me to start on this? I am yet to understand where from I can start for this. I shall like to write some code from scratch (and not use a sample of others) and then do it. A step by step hand-holding will be the most welcome help.
As Darin said, the first place to go is the home page of AutoMapper and the documentation. If you need something like a How To, I would suggest you this article: http://jasona.wordpress.com/2010/02/05/getting-started-with-automapper/ and here is an example how to map view models in ASp.Net MVC -> http://www.bengtbe.com/blog/post/2009/04/14/Using-AutoMapper-to-map-view-models-in-ASPNET-MVC.aspx
Hope that helps you a little bit ;-9

Form validation in addition to YUI

I'm in the process of adding some much needed client side form validation to a website I'm working on. We're currently using YUI. YUI doesn't have any form validation built in as I can see(prove me wrong).
I googled it
http://code.google.com/p/yui-form-validator/
It's not important that it's a YUI-extension as long as it plays along with YUI in a civilized manner.
What should I go for? Anyone out there with experience and an opinion?
There's a module in the gallery: http://yuilibrary.com/gallery/show/form
I haven't used it, but it looks pretty good to me.
Looks like we'll go for http://validatious.org/
Lightweight and standalone. Will not interfere with YUI.

Resources