Re: Tapestry ClassLoading errors

2014-06-01 Thread Lance Java
Components and services are loaded by different classloaders. Services should never reference component classes. Your service has a method: refreshAjaxZones(Zone) This is the problem since Zone is a component. Try referencing the interface ClientElement instead. On 1 Jun 2014 12:41, "Boris Horva

Re: Is Tapestry 5.4 ready for Java 8

2014-06-01 Thread Joachim Van der Auwera
yes On 06/01/2014 09:32 PM, jeremias.epp...@web.de wrote: Hello, is Tapestry 5.4 ready for Java. What I mean is, does Tapestry 5.4 work together with Java 8? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org Fo

Is Tapestry 5.4 ready for Java 8

2014-06-01 Thread jeremias.epp...@web.de
Hello, is Tapestry 5.4 ready for Java. What I mean is, does Tapestry 5.4 work together with Java 8? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
Not much more code can be given so let me copy it from the beginning of the mail So where should one put the class below in order to be able to simple inject it into a page and that after reloaded I dont get a given exception java.lang.LinkageError loader constraint violation: when resolving meth

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
Well from what I can see, it is not possible to put form in the middle of the table, so that means I will have to put it around the table. However for me this is a bit tricky cause inside I have a lot of loop iteration for the same source, hence when the form is submitted those loops will try to po

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
Hi Geoff, I am not sure I follow what you mean? I have tried to integrate loop into it made no difference I am afraid. Thiago, I have the id there (in the actually example) adding it to my demo didnt make a difference I am afraid. Cheers On Sun, Jun 1, 2014 at 3:29 PM, Geoff Callender < geoff

Re: Refreshing a from in a Zone

2014-06-01 Thread Geoff Callender
Probably nothing to do with your problem, but I don't think it's legal to have ${values} outside of a cell. The same goes for the LinkSubmit. On 1 Jun 2014, at 6:11 am, Boris Horvat wrote: > Here is the code that will trigger the issue (I needed a bit of time to > isolate everything sorry for

Re: Tapestry ClassLoading errors

2014-06-01 Thread Thiago H de Paula Figueiredo
On Sat, 31 May 2014 19:38:43 -0300, Chris Mylonas wrote: What if you move your classes from tapestry.utility to tapestry.base.utility which is controlled by tapestrymaybe 'base' is a controlled package for classes that are meant to be superclasses of pages, components and mixins, so I

Re: Refreshing a from in a Zone

2014-06-01 Thread Thiago H de Paula Figueiredo
Try adding id="zone" to your zone. On Sat, 31 May 2014 17:11:13 -0300, Boris Horvat wrote: Here is the code that will trigger the issue (I needed a bit of time to isolate everything sorry for the delay. The fact that loop is around element is what is triggering the issue

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
No it is the other way around. I want them to be part of the tapestry service, but for some reason it fails with the class loading exception. I think that by moving it to the *base *package it should work On Sun, Jun 1, 2014 at 12:39 PM, Lance Java wrote: > If you want to keep your utility out

Re: Refreshing a from in a Zone

2014-06-01 Thread Boris Horvat
So apparently the form has to be outside of the table structure. Should this be considered a bug? For me the tricky part her is that there are a couple of loops here so if I surround table with the form, it tries to revert back all of the data. Is it possible to tell the loop not to be encoded bac

Re: Tapestry ClassLoading errors

2014-06-01 Thread Lance Java
If you want to keep your utility out of the tapestry controlled packages, you can reference interfaces instead of concrete components. Make sure your own interfaces are not in a tapestry controlled package. On 1 Jun 2014 09:34, "Boris Horvat" wrote: > That does sound promising. Will try it out. T

Re: Tapestry ClassLoading errors

2014-06-01 Thread Boris Horvat
That does sound promising. Will try it out. Thanks On Sun, Jun 1, 2014 at 12:38 AM, Chris Mylonas wrote: > What if you move your classes from tapestry.utility to > tapestry.base.utility which is controlled by tapestrymaybe > > http://tapestry.apache.org/class-reloading.html > On 01/06/2014