Hi,

Yea I have already tried to add that before. However I got the following
exception

java.lang.IllegalArgumentException: Service contribution (to service
'ApplicationDefaults') conflicts with existing contribution (by
org.got5.tapestry5.jquery.services.JQueryModule.contributeApplicationDefault(MappedConfiguration)
(at JQueryModule.java:110)).

So I guess JQueryModule already does all the necessary configuration. I
will try to exclude tapestr5-jquery to see what happens then but I guess
that I will needed it eventually since I am using some of their stuff :)

Anyway thanks for the suggestions I already wrote to them but wanted to see
if there is any suggestions here as well since I am confused that it
appears that jquery is not loaded so I thought that it might be related to
tapestry itself

Cheers


On Mon, Nov 11, 2013 at 5:49 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> If you just want to use Tapestry 5.4 with jQuery insteadd of Prototype,
> just add this to your AppModule:
>
> public static void
> contributeApplicationDefaults(MappedConfiguration<String, String>
> configuration) {
>         configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,
> "jquery");
> }
>
> You don't need Tapestry5-JQuery for that. You'll only need that if you
> want to use the Tapestry5-JQuery components and mixins that make it easy to
> use jQuery UI widgets. In this case, you need to ask that package
> maintainers about the status of its T5.4 compatibility.
>
> Tapestry5-JQuery has two parts: one is to replace the Tapestry JavaScript
> code so it uses jQuery. In T5.4, that part is not needed anymore. The other
> part remains quite useful.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Sincerely
*Boris Horvat*

Reply via email to