Re: Tapestry5 vs Vaadin

2012-08-14 Thread Muhammad Gelbana
I'm feeling guilty for starting such a controversy subject about a framework I like ! I was merely making a suggestion that tapestry would adopt a mature UI framework for it's client part and focus on it's most mature part so far which is the server side's. But *Thiago* already replied to that usin

T5.2.6 AjaxFormLoop and Select(s)

2012-08-14 Thread resign
hello, i have to build a "super dynamic form" :-( I use AjaxFormLoop for a table and in every row i have a number of select - elements, which depends on other select - elements on same row. *Example* I have a configuration witch despribes the "small world of think" alpha can have values (a,

Re: Tapestry5 vs Vaadin

2012-08-14 Thread trsvax
I added a comment to your issue. I think you want something like this public interface DAO { @Binder(implementation=CartDAOImpl.class) public CartDAO cart(); ... @Binder(implementation=ItemDAOImpl.class) public ItemDAO item(); } In your AppModule

Tapestry5 Book By Igor

2012-08-14 Thread tapestry.kung.fu
Wow!! This is excellent book. I have read few chapters so far and I am impressed already. You are providing great detail about tapestry5 philosophy. This is exactly what I was looking for to combine all tapestry5 tutorial available online with full understanding of tapestry5 philosophy. Code exampl

Re: Tapestry5 vs Vaadin

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 07:00:13 -0300, Muhammad Gelbana wrote: I'm feeling guilty for starting such a controversy subject about a framework I like ! This has been a nice discussion, so I think you have nothing to apologize. ;) I've said wrong things about Vaadin and got corrected, and I do l

Re: Tapestry5 vs Vaadin

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 07:00:13 -0300, Muhammad Gelbana wrote: I was merely making a suggestion that tapestry would adopt a mature UI framework for it's client part and focus on it's most mature part so far which is the server side's. Another argument against that: Tapestry, in my humble opini

Re: Tapestry5 Book By Igor

2012-08-14 Thread Igor Drobiazko
Thank you very much for your feedback. :) On Tue, Aug 14, 2012 at 2:32 PM, tapestry.kung.fu wrote: > Wow!! This is excellent book. I have read few chapters so far and I am > impressed already. You are providing great detail about tapestry5 > philosophy. This is exactly what I was looking for to c

Submit two forms with one button

2012-08-14 Thread Ditso
I was wondering if it was possible to submit two forms in tapestry on one page with one button. One after the other. So you could have for instance: onValidate1 onSuccess1 (persist data) onValidate2 onSuccess2 (persist other data) Kind regards, -- View this message in context: http://tapestry

Re: Howto render a block and put it into a JSON reply?

2012-08-14 Thread Nourredine
Christian, I ended up following the source code of "MultiZoneUpdateEventResultProcessor#processResultValue" method and "SingleZonePartialRendererFilter" class (which is nearly what Lance had suggested). It concerns the "DataTableModel"'s default implementation [1] that can easily be replaced. I

Re: Tapestry5 vs Vaadin

2012-08-14 Thread Muhammad Gelbana
> > I agree this is an issue. Have you filled a JIRA for that? If not, please > do it. It's already done but I think I'm not labeling it correctly because it hasn't had any activity since then. https://issues.apache.org/jira/browse/TAP5-1948 I think what you're really saying is not that Tapestry

Tapestry5 book

2012-08-14 Thread Chris Cureau
Igor, Thanks for the book link this morning! I'm going to spend a good few hours a day absorbing... May I suggest some instruction on how to make components out of javascript packages? A good example of how to create a wrapper for something like gmap3 would be quite beneficial... I ask because

Re: Submit two forms with one button

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 09:55:38 -0300, Ditso wrote: I was wondering if it was possible to submit two forms in tapestry on one page with one button. You can, but you'll need to use some JavaScript for that. You'll probably receive two different requests. In addition, HTML itself wasn't built

Re: Tapestry5 vs Vaadin

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 10:20:57 -0300, Muhammad Gelbana wrote: I agree this is an issue. Have you filled a JIRA for that? If not, please> do it. It's already done but I think I'm not labeling it correctly because it hasn't had any activity since then. https://issues.apache.org/jira/browse/TAP

Re: Submit two forms with one button

2012-08-14 Thread Dieter Sauvillers
We are trying to avoid putting too much data in one form, but don't wanne put an extra button on the page. This for usability of the application. On 14 August 2012 15:29, Thiago H de Paula Figueiredo wrote: > On Tue, 14 Aug 2012 09:55:38 -0300, Ditso > wrote: > > I was wondering if it was possi

Re: Submit two forms with one button

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 10:34:46 -0300, Dieter Sauvillers wrote: We are trying to avoid putting too much data in one form, but don't wanne put an extra button on the page. This for usability of the application. I'd suggest you to not go against the philosophy of the tool (HTML) you're using.

Re: Tapestry5 book

2012-08-14 Thread Emmanuel DEMEY
Hi If you need informations about how to write Javascript components, you should have a look to the tapestry5 jQuery project. We use the same structure for each components/mixins. And there is a gmap component ! At work, we are working on an integration of the full calendar. Are you interested? I

Re: Tapestry5 book

2012-08-14 Thread Chris Cureau
Quite interested! Thanks! In the meantime I'll clone the repository and have a look... On Tue, Aug 14, 2012 at 10:08 AM, Emmanuel DEMEY wrote: > Hi > > If you need informations about how to write Javascript components, you > should have a look to the tapestry5 jQuery project. We use the same >

Re: BigDecimal on Tapestry pages

2012-08-14 Thread Steve Eynon
In your module class, if you add: public static void contributeApplicationDefaults(MappedConfiguration config) { config.add(SymbolConstants.SUPPORTED_LOCALES, "en"); } then T5 should only support English, meaning only full stops should be used as decimal separators. See org.apache.tapestry5.s

Library binder and IDE helper

2012-08-14 Thread trsvax
https://github.com/trsvax/tapestry-librarybinder There was a discussion about IDE help on another thread. I had thought about this before so while I was waiting for My wife at the airport I started one. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Library-binder-an

Re: Library binder and IDE helper

2012-08-14 Thread Howard Lewis Ship
Interesting, though (of course), the available interfaces are a moving target. You should honor marker annotations on the interface methods to help identify which service it injected for each method. On Tue, Aug 14, 2012 at 9:01 AM, trsvax wrote: > https://github.com/trsvax/tapestry-librarybinde

images dont resolve anymore

2012-08-14 Thread sommeralex
i have tooltip images which dont show up. see: http://www.airwriting.com/group/show/30 the tooltip is a component, which renders via the writer: writer.element("image", "src", "img/icon/help.png}", "title", text,

Re: images dont resolve anymore

2012-08-14 Thread Scott
Please remove me from this mailing list. I've made several attempts to remove my address, but have not had any success. Thanks.

Re: Library binder and IDE helper

2012-08-14 Thread Lenny Primak
So seems like you are running with this faster than I am. Should I close my issue them? On Aug 14, 2012, at 11:01 AM, trsvax wrote: > https://github.com/trsvax/tapestry-librarybinder > > There was a discussion about IDE help on another thread. > I had thought about this before so while I was

Re: Library binder and IDE helper

2012-08-14 Thread Lenny Primak
As Thiago said before this moving target isn't moving very fast :) On Aug 14, 2012, at 12:08 PM, Howard Lewis Ship wrote: > Interesting, though (of course), the available interfaces are a moving > target. You should honor marker annotations on the interface methods > to help identify which se

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-08-14 Thread mcamilleri
Did you ever get this fixed karthi? I'm having a similar problem. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-value-tp5682745p5715398.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5: standard validator for decimal numbers with 2 digits?

2012-08-14 Thread Ray Nicholus
Either contribute a Validator and/or write some javascript. On Tue, Aug 14, 2012 at 12:50 PM, Dmitriy Vsekhvalnov < dvsekhval...@gmail.com> wrote: > Hi everybody, > > stupidly, but can't find it: Can i have input field for double values, > which restricts up to 2 digits after point? > > Thanks

Re: images dont resolve anymore

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 14:27:02 -0300, sommeralex wrote: writer.element("image", "src", "img/icon/help.png}", "title", text, "id", id ); You're using a relative path. Use an absolute

Re: Library binder and IDE helper

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 14:45:04 -0300, Lenny Primak wrote: So seems like you are running with this faster than I am. Should I close my issue them? I thought what trsvax did is different from what you wanted, Lenny. -- Thiago H. de Paula Figueiredo ---

Re: BigDecimal on Tapestry pages

2012-08-14 Thread ICE Ernesto Arteaga Zavala
I have this on my app module: public static void contributeApplicationDefaults( MappedConfiguration configuration) { // Defines english, spanish as supported locales configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,es"); } when I remove 'es' everything goes fine, public static void con

Re: Library binder and IDE helper

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 15:15:28 -0300, Thiago H de Paula Figueiredo wrote: On Tue, 14 Aug 2012 14:45:04 -0300, Lenny Primak wrote: So seems like you are running with this faster than I am. Should I close my issue them? I thought what trsvax did is different from what you wanted, Lenny.

Re: Library binder and IDE helper

2012-08-14 Thread Lenny Primak
Seems like he has a T5 interface that as all kinds of getters. Seems like what I am going for or am I confused? One thing that I would like is to merge some of this work. Barry's (trsvax) stuff isn't on Maven Central, which makes things a little more difficult to work with. On Aug 14, 2012, at

Re: Tapestry 5 book : some minor typos in Chapter 2

2012-08-14 Thread Igor Drobiazko
Thank you for reporting the typos. I guess it's better if you mail them to me directly. On Tue, Aug 14, 2012 at 7:38 PM, Shing Hing Man wrote: > Hi, > I do not know whether this is the right place to report some minor typos > in Chapter 2 of Igor's excellent book. > > > In case the typos ar

Re: Tapestry 5 book : some minor typos in Chapter 2

2012-08-14 Thread Igor Drobiazko
Great comments. Just committed the fixes which will be available in the next book update. Thank you for this valuable feedback. Looking forward to see more comments. On Tue, Aug 14, 2012 at 7:38 PM, Shing Hing Man wrote: > Hi, > I do not know whether this is the right place to report some mino

Re: Library binder and IDE helper

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 15:19:04 -0300, Lenny Primak wrote: Seems like he has a T5 interface that as all kinds of getters. Seems like what I am going for or am I confused? I think it can be used for speeding the implementation of what you want. The other part would be to define an interface

Re: Library binder and IDE helper

2012-08-14 Thread Robert Zeigler
On Aug 14, 2012, at 8/142:07 PM , Thiago H de Paula Figueiredo wrote: > On Tue, 14 Aug 2012 15:19:04 -0300, Lenny Primak > wrote: > >> Seems like he has a T5 interface that as all kinds of getters. Seems like >> what I am going for or am I confused? > > I think it can be used for speeding t

Re: Library binder and IDE helper

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 16:17:43 -0300, Robert Zeigler wrote: This is what the T5.java service is doing already. It's a single injectable service that has methods to gain access to many (all?) the public services. I didn't know about that. Does it exist since which Tapestry version? Or is

Re: Library binder and IDE helper

2012-08-14 Thread Lenny Primak
Its in the library -Original message- From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tue, Aug 14, 2012 20:15:49 GMT+00:00 Subject: Re: Library binder and IDE helper On Tue, 14 Aug 2012 16:17:43 -0300, Robert Zeigler wrote: This is what the T5.java service is doing alr

Re: Library binder and IDE helper

2012-08-14 Thread trsvax
I think I can generate this file from the Javadocs but I have not tried that. If so the moving target does not really matter. Also since the library will bind all the services interfaces from the methods in the Interface file it really becomes the definition for the Library/Module API so there is

Re: Autocomplete with two parameters

2012-08-14 Thread William Lopes
I achieved, but I don't did with autocomplete, I chose for the input select with SelectModel. Anyway, thank you, in the future will be useful. Hugs. 2012/8/13 Robert Zeigler > Under the hood, tapestry is using the Ajax.Autocompleter from > Scriptaculous (at least for now). One of the parameters

Re: images dont resolve anymore

2012-08-14 Thread sommeralex
it is also not working with the slash: writer.element("image", "src", "/img/icon/money.png", "title", text, "id", id ); the produced url is: http://www.airwriting.com/i

Tapestry 5 is #2!

2012-08-14 Thread TG
http://www.enerjy.com/explorer/index.html Good news! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-is-2-tp5715422.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: images dont resolve anymore

2012-08-14 Thread sommeralex
created an asset and solved it with toClientURL() thx! -- View this message in context: http://tapestry.1045711.n5.nabble.com/images-dont-resolve-anymore-tp5715400p5715423.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Library binder and IDE helper

2012-08-14 Thread trsvax
I checked in the last of the T5 public services. Lenny if you want to use some of the code feel free. I'll add the Apache 2 license header in the morning. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Library-binder-and-IDE-helper-tp5715397p5715424.html Sent from the T

Re: Library binder and IDE helper

2012-08-14 Thread Lenny Primak
I don't want to duplicate your efforts. I would love it if the library was in maven central and just use it. It would also be great for this to be part of the core tapestry, I think it would simplify the usage greatly, especially for beginners. On Aug 14, 2012, at 7:28 PM, trsvax wrote: > I

Re: Tapestry 5 is #2!

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 20:20:09 -0300, TG wrote: http://www.enerjy.com/explorer/index.html Good news! Thanks! Good catch! And notice the #1 is Apache Commons-Chain, which has way less lines of code. :D -- Thiago H. de Paula Figueiredo

Re: Can i edit chenillekit pagedloop navigation links to <>

2012-08-14 Thread TG
Do you know where can I get the source codes for this customized pagedloop? If not, what are the jar files of chenillekit? I don't use Maven. Just plain old copy and paste into lib/ ;) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-i-edit-chenillekit-pagedloop-navig

Re: macbook retina support

2012-08-14 Thread sommeralex
i would prefer to write a "binding" like src="${context:/img/my.png}" but as some poster has mentioned before named "retina" so i can use it that way: "${retinaContext:/img/my.png}" the only thing this binding should do is 1. to check if the window.devicePixelRatio >= 2 and if, check if a my_2x.

Re: macbook retina support

2012-08-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 Aug 2012 21:23:09 -0300, sommeralex wrote: the only thing this binding should do is 1. to check if the window.devicePixelRatio >= 2 and if, check if a my_2x.png pic exists on the same location has the my.png - and if so, it should take the _2x.png The binding code is complet

Re: Tapestry CheckList not displaying inside radiogroup

2012-08-14 Thread bogdan_cm
Finally solved by using Form fragments. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-CheckList-not-displaying-inside-radiogroup-tp5714471p5715430.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Update other zones on zonerefresh event

2012-08-14 Thread bogdan_cm
What I want to achieve is a "self refreshing cluster of zones" for a notification mechanism driven by the autorefresh event of a zonerefresh mixin. To simplify, a multiZoneUpdate that is triggered by a zonerefresh event from the mixin. How do I capture the "zonerefresh" event from the mixin ins