conditional page loading on OAuth callback?

2011-09-29 Thread George Ludwig
My app uses Twitter for authentication via OAuth. When Twitter redirects the user to my authorization callback page, I would like to be able to send them to their account setup page if they are a new user, but if they are an existing user I want to send them to their status page. I'm able to detect

Re: 5.3 Beta change in behaviour from Alpha with regard to event methods

2011-09-29 Thread Howard Lewis Ship
Meanwhile, beta-14 includes the PageCatalog, and beta-15 (building now) improves it by dealing better with pages that have problems. On Wed, Sep 28, 2011 at 9:30 PM, Steve Eynon wrote: >> if Tapestry did all the checks at startup, before the first >> request, you would not have a good place to re

Re: Injecting domain object into all pages

2011-09-29 Thread cqasker
That is really cool. Did not know you can do that with Tapestry. I'm just lurking but thanks -- I have a similar requirement for my app too. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Injecting-domain-object-into-all-pages-tp4848523p4854537.html Sent from the Tapestry

Re: Validator abilities

2011-09-29 Thread cqasker
Correction FieldTranslatorSource should be FieldValidatorSource. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validator-abilities-tp4845773p4854511.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Validator abilities

2011-09-29 Thread cqasker
I almost did that and I have a similar requirement. I basically have 2 fields which can be a number or date or whatever. And I need different validators depending on their type. I almost went with doing my own abstract field but I ended up doing something different. I made a parameter thats a str

Ordering Constraints for @Startup

2011-09-29 Thread Steve Eynon
I like using the @Startup annotation in my Modules for it makes my code a lot more succinct than contributing Runnables to the RegistryStartup service. But when I need to order the startup method I am forced to use the later for @Startup does not seem to take ordering constraints. For instance, I

Re: How to retrieve Field

2011-09-29 Thread Thiago H. de Paula Figueiredo
On Thu, 29 Sep 2011 09:56:46 -0300, Pups wrote: Hello, Thiago! Hello! Yes, I supposed ordering of processSubmission() methods too. Is where any workaround those issue? Or maybe it's possible to execut processSubmission() of TextField inside my processSubmission()? I can't see how unless y

Re: parameter binding lost

2011-09-29 Thread Ray Nicholus
n/m, it turns out there was another, non-tapestry-related cause for the problem I am seeing On Thu, Sep 29, 2011 at 8:27 AM, Ray Nicholus wrote: > I have a component with two levels of embedded components, like so: > > > > > > > > > > > > > In component 1, I declare a stat

parameter binding lost

2011-09-29 Thread Ray Nicholus
I have a component with two levels of embedded components, like so: In component 1, I declare a static String with the property annotation. That property is passed to component 2, and component 2 passes it on to component 3. So, the property in component 3 is bound to t

Re: How to retrieve Field

2011-09-29 Thread Pups
Hello, Thiago! Thanks a lot for your feedback. I use @Component. Yes, I supposed ordering of processSubmission() methods too. Is where any workaround those issue? Or maybe it's possible to execut processSubmission() of TextField inside my processSubmission()? Thanks, Vasyl -- View this message

Re: How to show Data

2011-09-29 Thread Olga
Thanks 8) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-show-Data-tp4852814p4852967.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr.

Re: DiscardAfter on component level

2011-09-29 Thread Thiago H. de Paula Figueiredo
On Wed, 28 Sep 2011 02:53:17 -0300, mem wrote: Hello, Hi! Maybe something like this would be helpful for other applications as well and be added to Tapestry, where to request such a "feature". Sounds interesting to me. :) Tapestry 5's JIRA is the place for filing suggestions and patch

Re: [t5.2.6] Composing pages through inheritance problem

2011-09-29 Thread Thiago H. de Paula Figueiredo
On Wed, 28 Sep 2011 13:17:10 -0300, Muhammad Gelbana wrote: I hope one day I can as helpful as you are..for no less than helping you back :) Just help people in this mailing list, blog about Tapestry if you have a blog, and I'll be very, very happy. :) -- Thiago H. de Paula Figueiredo I

Re: How to retrieve Field

2011-09-29 Thread Thiago H. de Paula Figueiredo
On Thu, 29 Sep 2011 05:02:26 -0300, Pups wrote: Hello, Thiago! Hi! I need exactly *Field* type object to use in the recordError method. You do this by @Component or @InjectComponent. @Component(id = "applyCouponCode") private TextField applyCouponCode; has applyCouponCode.getControlNam

How to show Data

2011-09-29 Thread Olga
Hello, i have some problems. I have class: public class Profile { private Long createTime; } and i show information on the page with this code: All is good, but i need to show my time in dateFormat(-mm-dd). How i can convert my long to date or i can't use beandisplay in my c

Re: Passing parameters to nested components

2011-09-29 Thread Peter Stavrinides
Hard to pinpoint the right choice without seeing the code, sounds to me like you need to use onPrepare rather since you are referring to a form, if that is not sufficient rethink the design maybe use InjectContainer instead of environmental... there is more than one way to do this. Peter --

Re: How to retrieve Field

2011-09-29 Thread Pups
Hello, Thiago! Maybe I've incorrect desribed issue. But what I really need is not retrieve value of field. I Retrieve it successfully at the moment. I need exactly *Field* type object to use in the recordError method. At this moment I do the following: tracker.recordError(applyCouponCode, e.getM