Re: About T5 integration modules

2009-12-27 Thread Kalle Korhonen
On Sat, Dec 26, 2009 at 1:52 AM, Alessandro Bottoni wrote: > If Tapestry does not offer anything for my Authentication/Authorization > needs, I will just look somewhere else, for example at Spring's site > (ACEGI/Spring security). I will not reinvent the n-th wheel by myself. > If Tapestry wants t

Re: Need a workaround for having a Zone inside a Form

2009-12-27 Thread Christian Riedel
Hi Igor :) yes, I've seen a similar thing in the FormInjector's code. This line does (most of) the trick: FormSupport formSupport = form.createRenderTimeFormSupport(form.getClientId(), actionSink, new IdAllocator()); But unfortunately the form's createRenderTimeFormSupport is in default sco

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Bryan Lewis
Thanks, that's what I was missing!! A translator can be supplied as a page property for per-field use! One doesn't need to contribute a custom translator in AppModule unless one wants it to apply universally to a custom type and wants to avoid repeatedly specifying the "translate". It would be go

Re: Is AjaxFormLoop example working for you?

2009-12-27 Thread Dariusz
I am able to reproduce this error by removing all rows and then refreshing the page using browser's refresh button (pressing F5), not the "Refresh" button one on the page. Dariusz wrote: > > I was going through Tapestry JumpStart:Demo. I've accessed both > ajaxFormLoop pages and they were work

Re: About T5 integration modules

2009-12-27 Thread Massimo Lusetti
On Sat, Dec 26, 2009 at 10:52 AM, Alessandro Bottoni wrote: > This is a very good example of what is probably missing in Tapestry, at > least from the point of view of a new user. > > Is this technique documented somewhere? > Is this demonstrated by some existing archetype or demo app? > Is this

Re: Need a workaround for having a Zone inside a Form

2009-12-27 Thread Igor Drobiazko
Hi Christian, you can also have a look at how TAP5-138 is fixed. https://issues.apache.org/jira/browse/TAP5-138 On Sun, Dec 27, 2009 at 8:00 PM, Christian Riedel wrote: > Hi list, > > I am currently studying the sources of Tapestry to find out whether or not > I am able to push the formSupport

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Thiago H. de Paula Figueiredo
Em Sun, 27 Dec 2009 17:58:07 -0200, Bryan Lewis escreveu: Really? I wish that was my experience. Here's what I'm seeing; maybe you can point out what I've done wrong. Have you tried t:translate="prop:salesTranslator" and a Translator getSalesTranslator() in your class? TapestryModu

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Bryan Lewis
Thiago wrote: > > As of 5.1.0.5, it isn't possible to override them for a given type > globally, but you can override it in a given TextField instance (translate > parameter). > > Really? I wish that was my experience. Here's what I'm seeing; maybe you can point out what I've done wrong. I have

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Thiago H. de Paula Figueiredo
Em Sun, 27 Dec 2009 12:43:29 -0200, Bryan Lewis escreveu: I'd like to see either or both of the techniques. Me too. It's nice to have some different approaches to the same problem and them pick the one that suits better a given scenario. I thought that it wasn't possible to override Ta

Need a workaround for having a Zone inside a Form

2009-12-27 Thread Christian Riedel
Hi list, I am currently studying the sources of Tapestry to find out whether or not I am able to push the formSupport into the environment before the body of a Zone is rendered. I know why it's not working and I've seen the code of FormInjector that does a pretty good job publishi

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Bryan Lewis
I'd like to see either or both of the techniques. I thought that it wasn't possible to override Tapestry's built-in translators. (See TAP-725, "You cannot define two different translators for a single field type.") When I tried to add custom translators for String and BigDecimal types, either my

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Ville Virtanen
Hi! If you get this working please share the results. This is something I never thought when adding our number format handling. (Which is based on custom translators. I'm happy to share the current solution if you are interested?) - Ville Benny Law wrote: > > On Thu, Dec 24, 2009 at 5:41 AM,

Re: Tapestry URL Rewriting Support and form submit

2009-12-27 Thread Sergey Kashin
now all clear, thx On Sat, 26 Dec 2009 16:18:23 -0200 "Thiago H. de Paula Figueiredo" wrote: Em Thu, 24 Dec 2009 16:03:50 -0200, Sergey Kashin escreveu: if i click submit button in form (name frm in page) rewrite works not correctly: url looks like /rewrited_tst/testpage but i expect url

Re: Help with onActivate Page

2009-12-27 Thread Ashwanth Kumar
Piero, Thanks a lot!! It worked! - Ashwanth On Sun, Dec 27, 2009 at 6:17 PM, Piero Sartini wrote: > > 2. If No, help me with the following scenario in my project. > > I need to show a page a page to the user, only when it has a context > with > > it! Else i need to redirect the user to

Re: Help with onActivate Page

2009-12-27 Thread Piero Sartini
>   2. If No, help me with the following scenario in my project. >   I need to show a page a page to the user, only when it has a context with >   it! Else i need to redirect the user to another page. Though i  link the >   page, only with the t:context, i just need to confirm no one has ever >   b