>From: phyopiyo <[EMAIL PROTECTED]> 
>
> 
> Hi 
> 
> I just found out why this is happening. If you have nested objects under 
> your managed bean, and if it is a class defined by you, you must provide 
> the getter method of that object to return a new instance when the object is 
> null. 
> 
> I got the solution from Rolodex example.... ! 
> 
> Thanks for providing a very good example in Rolodex, just a little bit hard 
> for new comer to know what's going on inside that Rolodex example. 
> Nonetheless, rolodex is the best example to explore. 
>

You are not the first that has commented on the Rolodex example being too 
complex for a first look.  My goal for this example was too provide as much 
coverage of features.  It has worked well for regression testing.

Maybe we just need more explanation on what it is doing.  Or, another well know 
example?

Last week I took the Shale mailreader example and changed it to use Clay html 
templates.  It only took about ten minutes now that all of the "core" and 
"html" JSF namespace tags are supported.  It was not much more than renaming 
*.jsp to *.html.  I don't find it very interesting because it doesn't take 
advantage of some of the cool features but it might be good for a first look?  
It might also be a good performance comparison.

If you continue to look into Clay and have some ideas for examples that would 
help, please contribute them.  Your questions and feedback are welcome here.


> Regards, 
> Phyo 

Gary

> -- 
> View this message in context: 
> http://www.nabble.com/-Shale---Clay--nested-properties-in-%40managed-bean-name-c
>  
> an%27t-work-t1727504.html#a4699691 
> Sent from the Struts - User forum at Nabble.com. 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

Reply via email to