Re: weird error when passing select's model a list of hibernate entities

2009-07-14 Thread Ulrich Stärk
I'm sorry. I accidentally mapped the Documents inside Project as a Set, not a List. And since there is no coercion from Set to SelectModel I got this error. There could however be a more informative error message. Uli On 14.07.2009 11:34 schrieb Ulrich Stärk: I think I ran into some class load

weird error when passing select's model a list of hibernate entities

2009-07-14 Thread Ulrich Stärk
I think I ran into some class loader problem. I've got a hibernate managed entity Project that has a list of Documents. In a select component I want to choose one of the Documents. Unfortunately when trying to view the corresponding page, I get below exception (IllegalArgumentException: object is

Re: Weird error

2009-01-22 Thread Sid Ferreira
Done :D On Thu, Jan 22, 2009 at 8:56 AM, Ulrich Stärk wrote: > It's a wiki - go ahead... > > Sid Ferreira schrieb: > > Indeed... anyone should fix the docs... >> >> On Thu, Jan 22, 2009 at 12:46 AM, Thiago H. de Paula Figueiredo < >> thiag...@gmail.com> wrote: >> >> Em Wed, 21 Jan 2009 22:36:4

Re: Weird error

2009-01-22 Thread Ulrich Stärk
It's a wiki - go ahead... Sid Ferreira schrieb: Indeed... anyone should fix the docs... On Thu, Jan 22, 2009 at 12:46 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: Em Wed, 21 Jan 2009 22:36:45 -0300, Sid Ferreira escreveu: http://pastebin.com/m43c165fd didn't included dat

Re: Weird error

2009-01-22 Thread Sid Ferreira
Indeed... anyone should fix the docs... On Thu, Jan 22, 2009 at 12:46 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 21 Jan 2009 22:36:45 -0300, Sid Ferreira > escreveu: > > http://pastebin.com/m43c165fd >> didn't included database, components or pages, just what matte

Re: Weird error

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 22:36:45 -0300, Sid Ferreira escreveu: http://pastebin.com/m43c165fd didn't included database, components or pages, just what matters. If something else is needed, tell me :D As I said before, "By the way, I think there's an error in this constructor: public AccessCon

Re: Weird error

2009-01-21 Thread Sid Ferreira
http://pastebin.com/m43c165fd didn't included database, components or pages, just what matters. If something else is needed, tell me :D On Wed, Jan 21, 2009 at 10:01 PM, Sid Ferreira wrote: > Ive copy pasted most of code.UserSession (interface) and UserSessionImpl > (class) are almost empty,

Re: Weird error

2009-01-21 Thread Sid Ferreira
Ive copy pasted most of code.UserSession (interface) and UserSessionImpl (class) are almost empty, just the method in the link returning true always. The binding I tried with the binder, before the binding of the application. Thiago: I've readed it and there's no problem, but when a copy-paste fa

Re: Weird error

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 16:23:45 -0300, Sid Ferreira escreveu: Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im getting this error... Why? As any error in Java, the first thing to do is to look at the stack trace: No service implements the interface tibox.allert.fastSu

Re: Weird error

2009-01-21 Thread Carl Crowder
I'm guessing from this: java.lang.RuntimeException No service implements the interface tibox.allert.fastSupport.services.UserSessionImpl. That you're binding the implementing class instead of the interface class. Carl Chris Lewis wrote: And also how exactly you bind your service implementati

Re: Weird error

2009-01-21 Thread Chris Lewis
And also how exactly you bind your service implementation in your app module. Stephane Decleire wrote: Hi Could you show us the code of your class tibox.allert.fastSupport.services.UserSessionImpl ? Stephane Sid Ferreira a écrit : Based on http://wiki.apache.org/tapestry/Tapestry5HowToCo

Re: Weird error

2009-01-21 Thread Stephane Decleire
Hi Could you show us the code of your class tibox.allert.fastSupport.services.UserSessionImpl ? Stephane Sid Ferreira a écrit : > Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im > getting this error... Why? > > > java.lang.RuntimeExceptionException constructing service 'M

Weird error

2009-01-21 Thread Sid Ferreira
Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im getting this error... Why? java.lang.RuntimeExceptionException constructing service 'MasterDispatcher': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildMasterDispatcher(List) (at Tapest

Re: OGNL && causes weird error

2006-10-17 Thread Gareth
thanks I was hunting about on the ognl site for some time with no luck! - Original Message From: Paul Ferraro <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, 17 October, 2006 10:42:42 PM Subject: Re: OGNL && causes weird error Use the "and" operator

Re: OGNL && causes weird error

2006-10-17 Thread Paul Ferraro
Use the "and" operator synonym as defined here: http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/apa.html#operators e.g. Paul On Tue, 2006-10-17 at 21:29 +, Gareth wrote: > > > 46 > 47 > 48 > 49 name="actionsDisabled" value="ognl: addingOrAmendingSought && > (currentSkil

OGNL && causes weird error

2006-10-17 Thread Gareth
46 47 48 49 50 Causes: org.apache.tapestry.util.xml.DocumentParseException Unable to read context:/WEB-INF/AmendDetails.page: The entity name must immediately follow the '&' in the entity reference. An