Re: Last visited pages

2011-08-09 Thread Dominik Hurnaus
Hello Joakim I am also working on Gerolds project. The difference is that we do not only need a static string (or message key) for a single page, but dynamic text depending on what entity is shown on the page. Consider the page BusinessPartnerDetail. Your breadcrumb-implementation would show "bus

Re: Last visited pages

2011-08-09 Thread Joakim Olsson
Hi, I don't really see the difference between my module tapestry-breadcrumbs and what you are looking for. What is missing from tapestry-breadcrumbs for you to use it? Maybe it can be added? Regards, Joakim On Wed, Aug 10, 2011 at 8:04 AM, Gerold Glaser wrote: > Dear Listeners! > > In our appl

Last visited pages

2011-08-09 Thread Gerold Glaser
Dear Listeners! In our application we want to track the pages a user has visited and provide a "last visited object" widget in the application for faster access. Our idea was to provide an Annotation @LastVisitedPage on the page to mark the pages that should be included in the history (like it is

Re: t:grid showing pager but not data

2011-08-09 Thread Eric Torti
Sorry, noob`s mistake :] I was missing the getters on the model that represents the rows on the grid. Thanks. Eric Torti On Tue, Aug 9, 2011 at 6:49 PM, Eric Torti wrote: > Hello, guys, > > I`m using a grid element, as in: > > > > To show a bean`s property which is a list. The pager is rend

t:grid showing pager but not data

2011-08-09 Thread Eric Torti
Hello, guys, I`m using a grid element, as in: To show a bean`s property which is a list. The pager is rendered but not the data itself. So no rows appear. On the same page I have working as expected. I thought it might have something to do with hibernate lazy loading the list, but if that wa

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread Joakim Olsson
Hmmm...That looks really strange. It's only one of the textareas that have an id as well. Haven't seen that behaviour as far as I know. I'll look into that as well. /Joakim On Tue, Aug 9, 2011 at 10:10 PM, George Christman wrote: > I'm seeing textarea duplicated  a few times, just wondering if

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread Joakim Olsson
Ok. A little example from my code then. :-) I use this for tagging accounts and therefor I have a class called AccountTag: @Entity public class AccountTag extends AbstractBaseEntity implements Serializable { private static final long serialVersionUID = -6290070624732905399L; @ManyToOne(fe

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread George Christman
I'm seeing textarea duplicated a few times, just wondering if this is a bug, or something I'm doing wrong. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-tagselect-version-1-0-released-tp4639340p4683451.html Sent from the Tapestry - User mailing list a

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread George Christman
Yes I think it's an excellent start and very useful. I'm slightly confused with using an object. I have a list of users with a one to many relationship to a purchase request table. I gave it a value encoder and gave the tagselect value "pr.authorizor". Where I'm confused is the authorizer is j

Re: how to user jquery 1.5.1

2011-08-09 Thread Emmanuel DEMEY
Hi, You can use the last SNAPSHOT version (2.1.2-SNAPSHOT). I upgraded it last week to jQuery 1.6.2. Or if you want to keep Tapestry-jQuery 2.1.1, you can use the symbol constants : - JQuerySymbolConstants.JQUERY_CORE_PATH or "jquery.core.path" : The path to the root folder of the jQuery library

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread Joakim Olsson
Hi George, Great to hear that the component can be of use to others than myself. Using objects instead of strings is no problem. I do it myself. Just use the t:encoder-parameter and provide a ValueEncoder for it. I haven't had strings with less/greater than signs and have not stumbled over this

Re: what is called when - ajax version

2011-08-09 Thread Howard Lewis Ship
On Tue, Aug 9, 2011 at 7:23 AM, Lenny Primak wrote: > pageAttached/pageDetatched are being obsoleyed in the future versions of > tapestry. > I would use setupRender instead. If there are valid uses for pageAttached / pageDetached then they can stay. Some people do use them for things that shoul

Re: opinion on modal dialog

2011-08-09 Thread Christian Köberl
2011-08-07 14:18, Vangel V. Ajanovski: In the past I have used the modal window from ChenilleKit, and recently I read the post from Taha on Java Magic blog, but I wanted to create something simpler, preferably without additional custom JavaScript code - just CSS and Tapestry zones. I think that

how to user jquery 1.5.1

2011-08-09 Thread thana
Hi, jquery 1.5 comes with an bug on IE 9. http://bugs.jquery.com/ticket/8238 Im using tapestyr-jquery.jar version 2.1 and now changed to 2.1.1. in hope that this release include this problem that im stuck with. Buth either this does not help., how do i prevent loading jquery 1.5. -- View th

Re: ANN: Tapestry-tagselect version 1.0 released

2011-08-09 Thread George Christman
Hi Joakim, Thanks for the screen shot. Seems to be pretty close to exactly what I was looking for. I have a few questions which I hope you'll be able to answer. I'd like to pass an object into the component rather than a string and define it by it's entity label which would make updates a breeze.

Re: T5 Facebook email autocomplete mixin

2011-08-09 Thread George Christman
Thanks Taha, seems to be what I'm looking for. Do you happen to know much about the component? I'm just wondering if I could restrict the total number of inputs and also if I could use an object rather than a string. Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5

Re: T5 Facebook email autocomplete mixin

2011-08-09 Thread Taha Hafeez
I am not sure but may be https://github.com/argoyle/tapestry-tagselect is what you are looking for . On Tue, Aug 9, 2011 at 8:34 PM, George Christman wrote: > Hello, before I attempt developing a mixin similar to the facebook email to > input field, I'm curious if anybody else has already tackled

T5 Facebook email autocomplete mixin

2011-08-09 Thread George Christman
Hello, before I attempt developing a mixin similar to the facebook email to input field, I'm curious if anybody else has already tackled this task. I found an older prototype implementation, but also found a much newer jQuery UI version. JQuery version http://www.danwellman.co.uk/demos/autocomp

Re: what is called when - ajax version

2011-08-09 Thread Lenny Primak
pageAttached/pageDetatched are being obsoleyed in the future versions of tapestry. I would use setupRender instead. On Aug 9, 2011, at 8:09 AM, Paul Stanton wrote: > Geoff, > > Thanks again, you are always helpful! > > Looks like pageAttached/pageDetached is exactly what i need. Combined

Re: Zebra Grid in Tapestry 5.2.6

2011-08-09 Thread TG
Dmitry, your solution works like a charm :) ! I think it is the simplest that works with Tapestry grid I have seen so far. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4681963.html Sent from the Tapestry - User mailin

Re: Zebra Grid in Tapestry 5.2.6

2011-08-09 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Aug 2011 23:14:55 -0300, TG wrote: What is the simplest way to do this without writing any codes but maybe just css3? See http://reference.sitepoint.com/css/pseudoclass-nthoftype. No code needed, just CSS. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 an

Re: what is called when - ajax version

2011-08-09 Thread Paul Stanton
Geoff, Thanks again, you are always helpful! Looks like pageAttached/pageDetached is exactly what i need. Combined with isXHR, works fine. I hadn't stumbled across this doc: http://tapestry.apache.org/page-life-cycle.html cheers, p. On 24/07/2011 10:37 PM, Geoff Callender wrote: Done - n

T5.3: customize validation messages (2)

2011-08-09 Thread stephanos2k
In a http://tapestry.1045711.n5.nabble.com/T5-3-customize-validation-messages-td4659356.html previous post I was trying to figure out how to customize the validation messages and came up with this (using Scala): / def contributeComponentMessagesSource(assetSource: AssetSource,