Re: Got5-JQuery - Tapestry.Zone_Updated_Event

2011-12-28 Thread Emmanuel DEMEY
Hi The observe method does not exist in jQuery. You have to use the bind method. http://api.jquery.com/category/events/ Manu 2011/12/27 George Christman gchrist...@cardaddy.com Hi Emmanuel, I'm using 3.0.0. Thanks -- View this message in context:

Re: How to override the sort image tooltip of a grid ?

2011-12-28 Thread danyboy85
Anyone knows how to resolve this problem ? Maybe because nobody is using Internet Explorer 7 . -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-override-the-sort-image-tooltip-of-a-grid-tp5102886p5104840.html Sent from the Tapestry - User mailing list archive at

Re: How to override the sort image tooltip of a grid ?

2011-12-28 Thread Dusko Jovanovski
This is really an IE issue. In order to get IE to behave correctly, use an empty title attribute (title=). Here's a small jQuery snippet that solves your problem (not tested, i don't have access to IE7) jQuery('.t-sort-icon').attr('title', ''); On Wed, Dec 28, 2011 at 9:38 AM, danyboy85

Re: How to override the sort image tooltip of a grid ?

2011-12-28 Thread danyboy85
I did'nt use jQuery but prototype : var imgs = $$('.t-sort-icon'); imgs.each(function(img) { img.alt = 'Trier les résultats'; }); and it works ;) But i really think a better solution should be that Tapestry framework let users configure there own alt value, like users can override label

Re: How to override the sort image tooltip of a grid ?

2011-12-28 Thread danyboy85
I did receive a mail of this forum because of a response by Indrek Tomm, but it seams he has deleted its post. I share it because his solution is the very best : Indrek Toom wrote Had the same problem with Tapestry 5.1. Thought that this works out of the box since in GridColumns the

AjaxFormLoop and ValueEncoder question

2011-12-28 Thread bigcache1
I want to bound one entity to another. I have the list of Clients (first entity), and list of Events (second entity). In every Event few Clients are taking part, so to every Event I must select few men from existing list, with assistance of AutoComplete (great thing). I did an encoder for that

Re: Autocomplete question

2011-12-28 Thread bigcache1
Thanks, I'm trying it now. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Autocomplete-question-tp5102734p5105561.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe,

Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2011-12-28 Thread Javix
I have a strange behavior when usin the above methods to add javascript from inside Java classes. When I use the first one like this: //java class @Inject private Messages messages; @Environmental private RenderSupport renderSupport; @BeginRender void addJsLibs() {

5.3.1 upgrade error : class has been transformed and may not be directly instantiated.

2011-12-28 Thread Andrew Dahl
Class us.venses.core.base.util.IndexedObject has been transformed and may not be directly instantiated. I am getting this error on a class after upgrading to 5.3.1 from 5.2.6. The class is referenced from a component, but is not in any of the tapestry reserved spots. It is not a parameter,

Re: Autocomplete question

2011-12-28 Thread Taha Hafeez Siddiqi
Or if you are using tapestry-jquery, this might help http://tawus.wordpress.com/2011/12/28/multivalue-autocomplete-for-tapestry/ regards Taha On Dec 28, 2011, at 9:42 PM, bigcache1 wrote: Thanks, I'm trying it now. -- View this message in context:

Re: 5.3.1 upgrade error : class has been transformed and may not be directly instantiated.

2011-12-28 Thread Howard Lewis Ship
5.2 may have been more lenient, but the rules still apply. Only components in component packages, which includes the base package under your application's root package. Move IndexedObject elsewhere. On Wed, Dec 28, 2011 at 9:24 AM, Andrew Dahl andrew.d...@venses.us wrote: Class

[ANN] Tapestry 5.3.1-compatible version of tapestry-breadcrumbs

2011-12-28 Thread Joakim Olsson
Hi, I just released version 1.8 of tapestry-breadcrumbs which is compatible with version 5.3.1 of Tapestry. It should be available from Maven Central in an hour or two. See https://github.com/argoyle/tapestry-breadcrumbs for more information. Regards, Joakim

Re: [ANN] Tapestry 5.3.1-compatible version of tapestry-breadcrumbs

2011-12-28 Thread Joakim Olsson
And of course I forgot to thank Todd for the pull request. :-) /Joakim On Wed, Dec 28, 2011 at 8:38 PM, Joakim Olsson joa...@unbound.se wrote: Hi, I just released version 1.8 of tapestry-breadcrumbs which is compatible with version 5.3.1 of Tapestry. It should be available from Maven

T5.3.1 a simple security

2011-12-28 Thread angelochen
Hi, I know there are many security solutions, what I'm looking is a very simple one: my app has a few pages all except login requires user signed, for that I checked a class by ApplicationStateManager. I'd like to redirect to login page if not sign in. hints? Thanks, Angelo -- View this

Re: T5.3.1 a simple security

2011-12-28 Thread Lenny Primak
Tynamo Tapestry-Security was very simple for me. http://tynamo.org/tapestry-security+guide It does require some tweaking, which I did in, and there are examples in the flowlogix library http://code.google.com/p/flowlogix/ On Dec 28, 2011, at 8:59 PM, angelochen wrote: Hi, I know there are

Tree component single leaf selection

2011-12-28 Thread Geoff Callender
I'm building an example of selection using T5.3's new Tree component but having some difficulties. The example will have a tree on the left, and when you click on a leaf the item is shown on the right in review mode, with a button for Edit and a button for Delete. Here are the problems: -

Re: T5.3.1 a simple security

2011-12-28 Thread angelochen
ok, i put it in the pom, it got around 800k in size, looks like i have to read that doc, that's quite many. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-a-simple-security-tp5106576p5106613.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5.3.1 a simple security

2011-12-28 Thread Taha Hafeez Siddiqi
This is a simple implementation http://tapestryjava.blogspot.com/2009/12/securing-tapestry-pages-with.html regards Taha On Dec 29, 2011, at 8:02 AM, angelochen wrote: ok, i put it in the pom, it got around 800k in size, looks like i have to read that doc, that's quite many. -- View this

Re: T5.3.1 a simple security

2011-12-28 Thread angelochen
hi, right, that's what I was looking for. however, lprimak pointed me to that tynamo's security package, think might be time now to look at a more complete security package for future projects, applying that to a current, small project might be a good practice. Thanks, Angelo -- View this

Re: tapestry-resteasy: How to Get IP Address on Resource Class

2011-12-28 Thread Yohan Yudanara
Hi, thank you very much for pointing me for using @Context. It's work... @PUT @Produces(MediaType.APPLICATION_JSON) @Path(doSomething) public String doSomething(@QueryParam(actionId) Long customerId, @Context HttpServletRequest request) { String ipAddress =

T5.3.1 mongodb?

2011-12-28 Thread angelochen
Hi, hibernate and t5 really goes very well, now got a need to use mongodb, seems no mongodb native support for t5, found one in Spring: SPRING DATA - MONGODB, anybody have tried this? thanks. Angelo -- View this message in context:

Re: Best practice for deploy tapestry app on nginx and tomcat 7

2011-12-28 Thread Kalle Korhonen
On Wed, Dec 28, 2011 at 7:39 PM, Yohan Yudanara yohan.yudan...@gmail.com wrote: I've read somewhere on the internet about deploying application on nginx as front end server for tomcat. They say that we better use nginx to serve static content and tomcat for dynamic content. Is it true that

shiro authentication

2011-12-28 Thread csckid
I am stuck with authenticating user from database table. In this function doGetAuthenticationInfo() don't we need to set the Subject? What is the purpose of SimpleAuthenticationInfo? package com.kids.crm.services; import java.util.HashSet; import java.util.Set; import

Re: T5.3.1 a simple security

2011-12-28 Thread Chris Poulsen
Hi, I'd prefer a filter based solution based on something like spring security or apache shiro for a requirement like the one you mention. They are usually really easy to setup for the basic case and can be configured to handle something more complex later on, if necessary. A separate filter