Re: TAP5-1233 re-open ? java.lang.IllegalAccessError:

2011-10-04 Thread antalk
Once more, the code, this time without markup: Take a service: public interface MyService { public void testMe(); } And its implementation: public class MyServiceImpl implements MyService { public MyServiceImpl(Collection config) { for (MyContribution contrib

Re: T5: ValidationException from validate event leads to ERROR level logger statement

2011-10-04 Thread Felix Gonschorek
Lenny and Steve, thank you for your responses. I updated testwise to 5.2.6, but the behaviour does not change here. @Lenny: Can't do component.recordError(), since i need the form component to do so. The form component is defined a few component layers above and i would have to pass it down as a

Re: T5.2 form reset on back button

2011-10-04 Thread Geoff Callender
I tried FF 3 and it's fine, but it seems FF 4 to FF 7 have the behaviour you described (form fields reset when you return to it with the Back button). Can anyone shed any light on whether there's a workaround? BTW, I've still not found any evidence that this is a Tapestry issue. On 04/10/2011

Re: T5: ValidationException from validate event leads to ERROR level logger statement

2011-10-04 Thread Felix Gonschorek
Thanks to Thiago i found a clean solution: @Environmental private ValidationTracker tracker; Using this envirnmental service one can record validation messages without throwing exceptions and without having the surrounding form component at hand. thanks thiago felix On 04.10.2011 12:38, Fel

Re: Optimize Cold Start: T5

2011-10-04 Thread massfrequency
I'm using 5.2.6. Does the 5.3 beta have better start up optimization? Is there anything I'm missing to optimize start up time? I refuse to stop using Tapestry (even with the extra start up time) but I also don't want to punish users that have to what for instances to spin up as the app scales.

Re: Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-04 Thread Emmanuel DEMEY
Hi Tony I just have a look to your issue, and I think it should work now (with the last version available on Github). I have forgotten to suppress a comment in my FormResourcesInclusionWorker.java in Tapestry5-jQuery. This worker has to be used just for the Form Component, but was used for all com

Another approach to dynamic templating (T5.1.0.5)

2011-10-04 Thread Caiiiycuk
Hi. Let me explain. Imagine that we have standard tapestry page: Templates.java and of course we have template of this page Templates.tml and it works perfect. But I need to change template of this page by user request. More precisely I want to use one java class (Templates.java) with many template

Re: Optimize Cold Start: T5

2011-10-04 Thread Dmitry Gusev
There's no "Speed up, we're on GAE" setting in T5. I'd suggest you to setup logger and see where your bottlenecks are. Make sure you're doing lazy initialization where possible. Make start pages lighter (i.e. don't use DB requests there, if still needed use memcache instread). Use Google PageSpee

Re: Another approach to dynamic templating (T5.1.0.5)

2011-10-04 Thread Chris Poulsen
Interesting! How does your solution differ from the template skinning feature of T5.3? ( http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/ ) - Or is it just the same functionality for pre 5.3 ? -- Chris On Tue, Oct 4, 2011 at 4:45 PM, Caiiiycuk wrote: > Hi. Let me explain. Imag

Re: Another approach to dynamic templating (T5.1.0.5)

2011-10-04 Thread Caiiiycuk
Our project is used Tapestry 5.1.0.5, and we unable to upgrade it to lastest version (5.3) and even 5.2, cause we have lot of legacy code. But it is not important, just look to PageLoaderImpl (from 5.3 sources): public ComponentAssembler getAssembler(String className, ComponentResourceSelector

Re: Grid, is there any way dynamically defined columns?

2011-10-04 Thread cqasker
As usual -- the tap user forums comes through again. Step1 I need to make/initialize my own BeanModel as Norman suggested -- step 2 is I need to do my own PropertyConduit that will access my map. Makes complete sense, thanks. I'll give it a go. -- View this message in context: http://tapestry.104

Re: beanedit form issues (the FAQ seems to be incorrect)

2011-10-04 Thread Muhammad Gelbana
2 Suggestions: 1. Have you tried cleaning your project and re-building it ? Restarting the server on which you are developing ? 2. Why don't you construct the bean yourself ? Add an event handler method to handle the "PREPARE" event of form embracing your bean editor. On Tue, Oct 4, 2011 at 4:21

Re: beanedit form issues (the FAQ seems to be incorrect)

2011-10-04 Thread Josh Canfield
"This occurs when the BeanEditForm's object parameter is bound to null" Looking at the code, it seems that it only calls the constructor if your "object" parameter is null. Can you provide some of the actual template/project code or a small example project that reproduces the problem? Also, I ma

Re: @BindParameter misses inherited parameters

2011-10-04 Thread Steve Eynon
Hi, I've just run into this myself, my Mixin attaches to a Grid and needs the rowIndex parameter from the embedded GridRows component. Is there a JIRA number for this so I can track the changes and perhaps patch T5.2.6? Steve. On 23 September 2011 20:58, Taha Hafeez Siddiqi wrote: > Hi Dragan

Re: @BindParameter misses inherited parameters

2011-10-04 Thread Dragan Sahpaski
Hi, Yes here is the JIRA https://issues.apache.org/jira/browse/TAP5-1663 Cheers On Wed, Oct 5, 2011 at 5:29 AM, Steve Eynon wrote: > Hi, > > I've just run into this myself, my Mixin attaches to a Grid and needs > the rowIndex parameter from the embedded GridRows component. > > Is there a JIRA nu