Re: Exceptions during registry startup

2010-09-18 Thread Howard Lewis Ship
I think you are correct, the best thing would be to let the exception bubble up to the top, preventing the Registry from starting up. On Fri, Apr 24, 2009 at 3:24 AM, Alfie Kirkpatrick wrote: > Hi, I am staring at an error in my log: > > > > 11:02:22.617 [main] ERROR o.a.t.i.s.T.RegistryStartup -

Re: Exceptions during registry startup

2010-09-18 Thread Peter Niederwieser
My @Startup method does get invoked, and I do see "Error invoking startup method" in the log file. However, I never get a stack trace, neither in the log file nor on system out/err. Does this mean I've misconfigured something? Cheers, Peter -- View this message in context: http://tapestry.10457

Re: Dynamic form

2010-09-18 Thread Markus Feindler
Why do I need a notification? the value encoder handles that stuff. Did you try to submit the form after removing SubmitNotifier? Try it out. Because all fields are bound to the same property you need a way to be notified when a field value is set. The SubmitNotifier component is the way to do it

Re: My mails are rejected

2010-09-18 Thread Sven Homburg
same as me. try to send mails with igor.drobiazko ... add ... googlemail.com with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/9/18 Igor Drobiazko : > Hm, this one was not rejected. I cannot reply to mails in the other thread. > > On Sat, Sep

Re: Is there any way to render the "get" method of form?

2010-09-18 Thread Thiago H. de Paula Figueiredo
On Sat, 18 Sep 2010 07:40:18 -0300, Lutz Hühnken wrote: I don't understand how this answers the question. I followed all of the links and could not find instructions how to use the get method in forms in tapestry. Must have overlooked it.. could you be more specific maybe? Using the GET met

Re: Dynamic form

2010-09-18 Thread Thiago H. de Paula Figueiredo
On Fri, 17 Sep 2010 19:03:01 -0300, Антон Мезерный wrote: And what is the best way to create such a dynamic form? Provide DataTypeAnalyzer to define new BeanModel types (which are just names) and edition and viewing blocks for them. This way, BeanEditForm, BeanEditor, Grid, and BeanDisp

Re: Dynamic form

2010-09-18 Thread Thiago H. de Paula Figueiredo
On Sat, 18 Sep 2010 11:45:19 -0300, Josh Canfield wrote: Is there any way to get component instance by its name even if this component is not used in any other page? The short answer is no. I don't remember the long answer off hand... The long answer is also no :). A component instance

Re: [T5] PropertyAccess and thread safety

2010-09-18 Thread 9902468
Thanks for the input! I'll change it to be parameter to the method, so the code that uses the util must provide the implementation. I can't inject it directly as it is not T5 managed bean. - Ville Howard Lewis Ship wrote: > > You should use the injected service. > > It is thread safe. > >

Re: [T5.2] Tapestry IoC Configuration (remove?)

2010-09-18 Thread Howard Lewis Ship
I've been looking at the code, and I noticed that (for some reason) the code for streaming a JSONObject invokes PrintWriter.flush() at the end. The code for streaming a partial page render response (which is also JSON) invokes PrintWriter.close(). I believe the later is correct. It is possible th

Re: Dynamic form

2010-09-18 Thread Igor Drobiazko
Did you try to submit the form after removing SubmitNotifier? Try it out. Because all fields are bound to the same property you need a way to be notified when a field value is set. The SubmitNotifier component is the way to do it. Check out the documentation: http://tapestry.apache.org/tapestry5.1

Re: Dynamic form

2010-09-18 Thread Josh Canfield
> Is there any way to get component > instance by its name even if this component is not used in any other page? The short answer is no. I don't remember the long answer off hand... -- Josh On Sep 18, 2010, at 5:41 AM, Anton Mezerny wrote: > Looking on ComponentSource code I understood, that

Re: My mails are rejected

2010-09-18 Thread Igor Drobiazko
Hm, this one was not rejected. I cannot reply to mails in the other thread. On Sat, Sep 18, 2010 at 4:45 PM, Igor Drobiazko wrote: > Looks like a cannot send mails to the list. My mails are considered as > spam. Is anybody getting the following messages? > > Delivery to the following recipient fa

My mails are rejected

2010-09-18 Thread Igor Drobiazko
Looks like a cannot send mails to the list. My mails are considered as spam. Is anybody getting the following messages? Delivery to the following recipient failed permanently: users@tapestry.apache.org Technical details of permanent failure: Google tried to deliver your message, but it was r

Re: Dynamic form

2010-09-18 Thread Anton Mezerny
Looking on ComponentSource code I understood, that it gets only components, that are already defined within some page. Is there any way to get component instance by its name even if this component is not used in any other page? 2010/9/18 Anton Mezerny > Igor, I am now trying to write something l

Re: Dynamic form

2010-09-18 Thread Anton Mezerny
Igor, I am now trying to write something like in your book, but first of all I don't want to define blocks in one tml page, and a number or blocks in java-class. I try to get component instance dynamically using method componentSource.getComponent(String) but I have an exception on this method. o

Re: Dynamic form

2010-09-18 Thread Markus Feindler
Why would you need a submit notifier? I checked out your book and it works fine without one. What you need is a combination of Loop, Delegate, and SubmitNotifier components and a couple of blocks inside your template. Check this out: http://code.google.com/p/tapestrybook/source/browse/trunk/tap

Re: Dynamic form

2010-09-18 Thread Igor Drobiazko
What you need is a combination of Loop, Delegate, and SubmitNotifier components and a couple of blocks inside your template. Check this out: http://code.google.com/p/tapestrybook/source/browse/trunk/tapestry-dynamic-forms/src/main/webapp/ViewReport.tml http://code.google.com/p/tapestrybook/source/

Re: Is there any way to render the "get" method of form?

2010-09-18 Thread Lutz Hühnken
I don't understand how this answers the question. I followed all of the links and could not find instructions how to use the get method in forms in tapestry. Must have overlooked it.. could you be more specific maybe? On Sun, Aug 22, 2010 at 3:03 PM, based2 wrote: > > http://www.cgisecurity.com/