Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
thank you 2014-07-03 16:57 GMT+02:00 Thiago H de Paula Figueiredo : > On Thu, 03 Jul 2014 10:35:18 -0300, squallmat . > wrote: > > I see that when i just use "layout/layout.css" it searches in the package >> of my component. >> Is it possible to tell link it a resource at the root of classpat

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thiago H de Paula Figueiredo
On Thu, 03 Jul 2014 10:35:18 -0300, squallmat . wrote: I see that when i just use "layout/layout.css" it searches in the package of my component. Is it possible to tell link it a resource at the root of classpath ? /layout/layout.css -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibe

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
I see that when i just use "layout/layout.css" it searches in the package of my component. Is it possible to tell link it a resource at the root of classpath ? 2014-07-03 15:11 GMT+02:00 squallmat . : > Thank you, it works now. > > > > 2014-07-03 14:50 GMT+02:00 Thiago H de Paula Figueiredo < >

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
Thank you, it works now. 2014-07-03 14:50 GMT+02:00 Thiago H de Paula Figueiredo : > On Thu, 03 Jul 2014 09:33:31 -0300, squallmat . > wrote: > > I should have seen that before, but in my console I have: >> >> Caused by: java.lang.IllegalArgumentException: Unknown prefix for asset >> path 'a

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thiago H de Paula Figueiredo
On Thu, 03 Jul 2014 09:33:31 -0300, squallmat . wrote: I should have seen that before, but in my console I have: Caused by: java.lang.IllegalArgumentException: Unknown prefix for asset path 'asset:layout/layout.css'. ^^^ Here's the missing information for figuring out the problem. When p

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
> persistentLocale.set(new Locale("fr_FR")); > return null; > } > > // Set li class for menu coloration > public String getClass(String page) { > if (currentPage.matches("^" + page + ".*") || page.equals(currentPage)) { > return "active"; &

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
> Thilo > > ____ > From: squallmat . > Sent: Thursday, July 03, 2014 13:29 > To: Tapestry users > Subject: Re: java.lang.reflect.InvocationTargetException > > I don't have created any constructor in my layouts, so it can't

RE: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thilo Tanner
Hi! Is the layout class itself maybe private or protected? Otherwise, could you provide us a (anonymous version) of your code? Thanks and best, Thilo From: squallmat . Sent: Thursday, July 03, 2014 13:29 To: Tapestry users Subject: Re

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
I don't have created any constructor in my layouts, so it can't be that. 2014-07-03 12:16 GMT+02:00 Thilo Tanner : > Hi! > > The problem is, that Tapestry cannot create an instance of your component > LoginLayout. > > You probably created a non-default constructor or the constructor is > private

RE: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thilo Tanner
Hi! The problem is, that Tapestry cannot create an instance of your component LoginLayout. You probably created a non-default constructor or the constructor is private or protected. Check the Tapestry component lifecycle in case you want to setup your component (for example by using @SetupRen