Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
I tried both methods suggested, but page load still produces the same error. Then I have turned off all of my custom application JS, by commenting out @Import, javaScriptSupport.addScript() and javaScriptSupport.addInitializerCall(). That didn't help either. I still have this stack trace in

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
So this obviously happens inside t5/core/console initialization. This is a code fragment in dom.js causing the error: ElementWrapper.prototype.attr = function(name, value) { var attributeName, current; if (_.isObject(name)) { for (attributeName in name) {

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Chris Poulsen
Hi, The dom module is the one distinguishing between jquery and prototype. The code you posted belongs in the prototype version, the jquery one is different... So it seems that you are not using the jquery infrastructure. We use the following setting to enable it: @Contribute(

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
Here's my version of contributeApplicationDefaults(): public static void contributeApplicationDefaults ( MappedConfigurationString, Object configuration ) { configuration.add ( SymbolConstants. JAVASCRIPT_INFRASTRUCTURE_PROVIDER, jquery ); configuration.add (

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Chris Poulsen
Start by getting the jquery infrastructure working. Verify that your module is being loaded etc. On Tue, May 27, 2014 at 11:08 AM, Ilya Obshadko ilya.obsha...@gmail.comwrote: Here's my version of contributeApplicationDefaults(): public static void contributeApplicationDefaults (

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
Anyone has any idea? On 24 May 2014 11:30, Boris Horvat horvat.z.bo...@gmail.com wrote: Hi everyone, I have create a service to help me reload different ajax zone but I get the following exception java.lang.LinkageError loader constraint violation: when resolving method

Grids Bean Model does not support is methods

2014-05-27 Thread Erich Gormann
Hi all, in my grid I want to display a bean containig a property of type Boolean, which has not getter, but an is method. The grids reports the error, that the property is missing in the bean to render. How to get grid working with is methods? Thanks in advance for your help Eric

Re: FreeMarker configuration problems

2014-05-27 Thread Lidija Dolinar
Hi Thilo, thank you for your response. I solved it like you said using ClasspathResource and it works :). Kind regards, Lidija On Mon, May 26, 2014 at 3:30 PM, Thilo Tanner thilo.tan...@reprisk.comwrote: Hi Lidija, I don't use Chenillekit for Freemarker, but I integrated Freemarker not

Re: Tapestry ClassLoading errors

2014-05-27 Thread Taha Siddiqi
It looks like a dependency problem. Two versions of tapestry-core in class path perhaps. Sent from my iPhone On May 27, 2014, at 5:30 PM, Boris Horvat horvat.z.bo...@gmail.com wrote: Anyone has any idea? On 24 May 2014 11:30, Boris Horvat horvat.z.bo...@gmail.com wrote: Hi everyone,

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Lance Java
If you read the java beans spec, you'll see that is can only be used for primitive boolean, not java.lang.Boolean. I remember this was discussed in the past that tapestry could be a bit more lenient here and support Boolean but I don't think anything done. Please file a jira. On 27 May 2014

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
But it is only triggered in class re loading On 27 May 2014 15:11, Taha Siddiqi tawus.tapes...@gmail.com wrote: It looks like a dependency problem. Two versions of tapestry-core in class path perhaps. Sent from my iPhone On May 27, 2014, at 5:30 PM, Boris Horvat horvat.z.bo...@gmail.com

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
From the previous posts it seems that I have already completed all the necessary steps to get jQuery infrastructure working. But it doesn't. I just don't have an idea (yet) what to try next. On Tue, May 27, 2014 at 1:28 PM, Chris Poulsen mailingl...@nesluop.dkwrote: Start by getting the

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Erich Gormann
Hi, yes I know this but I forgot to tell that the bean is generated from a WSDL file and the generation process seems not to know about the bean spec ;-) Thanks for your help. Regards Eric On Tue, 27 May 2014 14:18:28 +0100, Lance Java lance.j...@googlemail.com wrote: If you read the java

Re: Tapestry ClassLoading errors

2014-05-27 Thread Thiago H de Paula Figueiredo
On Tue, 27 May 2014 10:29:09 -0300, Boris Horvat horvat.z.bo...@gmail.com wrote: But it is only triggered in class re loading It could be a reloadable service being used both injected from Tapestry-IoC and directly, not through T-IoC. If something is live class reloadable, you should

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
In fact, only clearing the browser cache helped to solve my problem - modules started working after that. Still everything is pretty messed up: - context-based resources are not loaded. - trying to point Bootstrap root to non-default location results in cannot load module errors etc etc But

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Lance Java
As a quick workaround you can use the grid's add parameter to add the property and provide a custom block to render the column.

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Chris Poulsen
Check out the tapestry-webresources test sources/resources. They have an example of how to use a bootstrap placed in webapp context. That should be a good starting point for both context-based resources and a bootstrap in a non-default location. -- Chris On Tue, May 27, 2014 at 6:33 PM, Ilya

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Basile Chandesris
Since 5.4-alpha-15 , tapestry use Bootstrap 3.x. https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=tree;h=f43e87abf9b77f08b99e90aa22b6d54f20ce7bd1;hb=bb23cdc21f68a655f8f2c24bb8c2c2ce5369ca12 http://getbootstrap.com/ http://getbootstrap.com/2.3.2/ 5.4-beta-6: Bootstrap 3.0.3

Re: Tapestry ClassLoading errors

2014-05-27 Thread Boris Horvat
I will try to search for the direct usage of the class and to remove it if I find it Thanks On Tue, May 27, 2014 at 5:50 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 27 May 2014 10:29:09 -0300, Boris Horvat horvat.z.bo...@gmail.com wrote: But it is only triggered in