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
: java.lang.reflect.InvocationTargetException 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

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
Thursday, July 03, 2014 11:44 > To: users@tapestry.apache.org > Subject: java.lang.reflect.InvocationTargetException > > Hello I have an embedded component into another component but when I try to > launch i got this : > > "Exception assembling root c

RE: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thilo Tanner
@SetupRender) Best, Thilo From: squallmat . Sent: Thursday, July 03, 2014 11:44 To: users@tapestry.apache.org Subject: java.lang.reflect.InvocationTargetException Hello I have an embedded component into another component but when I try to launch i got this

java.lang.reflect.InvocationTargetException

2014-07-03 Thread squallmat .
mbling embedded component 'loginlayout' (of type atos.smt.livraison.components.LoginLayout, within Index:mainlayout): Unable to instantiate instance of transformed class atos.smt.livraison.components.LoginLayout: java.lang.reflect.InvocationTargetException" What the problem could be ?