Hi, I'm new with tapestry(sorry for noob questions), and read in the tutorial
about new and services. Here my question:

I can use new with standart classes and compontents from libryries, for
example with HashMap(), but not with my own classes?  Test test = new Test()
lead to exception. 

I can't use new like this:

Test cds = new Test();
dooSomething(new Test());

but if I put new Test() directly in the function-call it works:
dooSomething(new Test());

Why? Or maybe I don't understand something?


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Question-about-new-tp3965204p3965204.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to