Antw: Re: Two-way select ends in NullPointerException

2013-12-29 Thread Marco Wulf
Hi all, thanks for all the answers. The two-way select works after I've added annotation @Persist to the mapper. >>> Lance Java 28.12.2013 13:03 >>> 1. How is "mapper" initialized. Is it @Injected or is it configured in a render phase method of the container (page / component)? If configured

tapestry5.4-beta-2 validate flow is stranger

2013-12-29 Thread Zhou Yongcheng
Hi Thiago, Thank you very much, got it. (i can't modify the article becasue read only permit, so by mail) Regards

is it good for select component' parameter t:model not null

2013-12-29 Thread Zhou Yongcheng
I feel that it is not so good that select's parameter model not allow null. because when render, i get the model from Database, when submit i have already selected value, so why i have to get the model again. the performance is a problem. i just want the selected value to do some work.

is it good for select component' parameter t:model not null

2013-12-29 Thread Zhou Yongcheng
I feel that it is not so good that select's parameter model not allow null.

Re: Keep the same form id after the zone refresh

2013-12-29 Thread Thai Tran
It is better to use class for CSS stuffs and $("form[id^=form]") (select the form with the id started with "form") for javascript stuffs. Tapestry creates a new id not only on the client side but also keep track the new id underneath the hood (for security purpose, I guess) On 12/30/2013 4:02

[ANN] tapestry-atmosphere 0.0.1 released

2013-12-29 Thread Lance Java
I've been working hard over the Christmas break to put together tapestry / atmosphere integration to support push application in tapestry (websocket / comet / polling / jsonp). As with tapestry-cometd, the aim of this project is to support push applications without requiring developers to write a

Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-29 Thread Muhammad Gelbana
So did this campaign succeed ? *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Dec 10, 2013 at 11:13 AM, Joachim Van der Auwera wrote: > Congratulations! > > > On 12/10/2013 02:40 AM, Thiago H de Paula Figueiredo wrote: > >> On Mon, 09 Dec 2013 21:43:16 -0

Keep the same form id after the zone refresh

2013-12-29 Thread Boris Horvat
Hi everyone, I have a zone around my form (pseudo code below) // some fields After the zone is submitted the value is saved, the zone is refreshed and my form is broken. I believe that I could write a javascript code that will capture this event and override the id back to the original,

Re: tapestry5.4-beta-2 validate flow is stranger

2013-12-29 Thread Thiago H. de Paula Figueiredo
When using form field validate events, you receive the value as a parameter of its event handler method. The value typed by the user is only set to the edited property if the validation passes. On Fri, Dec 27, 2013 at 5:30 AM, Zhou Yongcheng wrote: > when execute component self validate, can not

Re: Is JSR-303 validation possible in a Loop?

2013-12-29 Thread Lance Java
I'm not sure I fully understand the "validate" parameter on form On 29 December 2013 00:58, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > I'm thinking that Loop and Grid both need a "validate" parameter like Form > has. > > > On 29 December 2013 11:54, Lance Java wrote: > > >