Re: Call for translations

2011-07-26 Thread Tom van Dijk
Hey Igor, It may be a silly detail, but in Dutch, "Cancel" is "Annuleren", not "Afbreken" which is the translation of "Abort". Also, the "integer-format-exception" should not be "een heel getal" but "een geheel getal". This is the usual way the word "integer" is rendered in Dutch. Then, a

Re: Grid with multiple forms

2011-02-27 Thread Tom van Dijk
Op 28-2-2011 1:08, Thiago H. de Paula Figueiredo schreef: On Sun, 27 Feb 2011 19:42:35 -0300, Tom van Dijk wrote: the list of "A" items. I very quickly ran into problems with the combination of nested zones, loops, forms and actions, partially because the client IDs of the zones

Re: Grid with multiple forms

2011-02-27 Thread Tom van Dijk
Op 27-2-2011 14:13, Thiago H. de Paula Figueiredo schreef: On Sat, 26 Feb 2011 18:47:06 -0300, Tom van Dijk wrote: What exactly makes you bang your head? Just the fact that I can't get my head around this thing. I'm still curious to know more about it. Well, what I want is v

Multipe databases support

2011-02-26 Thread Tom van Dijk
OK, I uploaded a small pdf that explains the basics of my idea to http://www.tvandijk.nl/pub/multiconf.pdf You can pull from my multiconf branch, git://hetdiana.dyndns.org/tapestry5.git. Tom. Op 26-2-2011 21:40, Tom van Dijk schreef: My Multiple database support version of Tapestry is still

Re: Grid with multiple forms

2011-02-26 Thread Tom van Dijk
Op 26-2-2011 22:43, Thiago H. de Paula Figueiredo schreef: On Sat, 26 Feb 2011 17:40:21 -0300, Tom van Dijk wrote: My Multiple database support version of Tapestry is still working and being updated every few days. I just need to find time to promote it and document it on the developer mail

Re: Grid with multiple forms

2011-02-26 Thread Tom van Dijk
omes a hammer." My wish list? Multiple database support - there was some great conversation last year on the list with Tom van Dijk. Transaction management on par with Spring. Why don't I ask more questions on the list? If I can't find my answer in a search, I can probably figure

Re: Rendering a Block

2011-02-26 Thread Tom van Dijk
s turned on. You can check the request for isXHR to make sure tapestry thinks you are doing an ajax request. Josh On Feb 26, 2011 5:52 AM, "Tom van Dijk" wrote: Hello, I want to do something that should be simple but appears to be complex. I want to render a Block and return the result.

Rendering a Block

2011-02-26 Thread Tom van Dijk
Hello, I want to do something that should be simple but appears to be complex. I want to render a Block and return the result. The context is a website in which I want to use Javascript to fill a . I don't want to use a zone for this. What I did was make a in the .tml file. Now what I want to do

Re: Discussion

2010-12-21 Thread Tom van Dijk
I have problems taking someone seriously who bases his argumentation on the looks of one of the developers and on exaggerated (indicator of bad reasoning) vague claims (bad reasoning) of many (bad reasoning, come up with better statistics) experiences. I would rather see compelling arguments ag

Re: Things in a loop go null

2010-12-15 Thread Tom van Dijk
8, Igor Drobiazko schreef: Because the product set inside the loop is lost, when the user clicks on the ActionLink. You need to provide a context for your ActionLink in order to restore the state. On Wed, Dec 15, 2010 at 1:13 PM, Tom van Dijk wrote: Hi, In an application, I'm making an edito

Things in a loop go null

2010-12-15 Thread Tom van Dijk
Hi, In an application, I'm making an editor for products in a group and my client wants everything in one page. So, there are product groups, with products in each group and every product has a number of subproperties, and so on (4 levels deep). So what I get is a loop inside a loop inside a

Re: @Transactional needed in tapestry-hibernate?

2010-12-15 Thread Tom van Dijk
Modifying CommitAfter in that way isn't too hard, but what should happen if an exception is thrown? e.g. enter A change things 1 enter B change things 2 exit B change things 3 throw exception what should be committed? Op 11-12-2010 21:04, Howard Lewis Ship schreef: At the very least, I've bee

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
y(Registry registry). You might find it less ugly to have a ServletContextListener and do the cleanup in contextDestroyed. The real solution would be to have a registryIsShuttingDown() notification, fired before registryDidShutdown(). I haven't found it, though. El 29/11/10 12:53, Tom

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
wn(). I haven't found it, though. El 29/11/10 12:53, Tom van Dijk escribió: Which service would that be? Could you provide a stack trace? Perhaps you could make your service contribute to RegistryStartup as well, to make sure the DbShutdownImpl service is realized and that the sessionSou

Re: hibernatesessionmanager produces redundant exception

2010-11-29 Thread Tom van Dijk
Well, the thing is that an injected Session is retrieved from the HibernateSessionManager. This service is a per-thread service, so every request (has a seperate, new thread and thus) has its own HibernateSessionManager. This service automatically starts a new transaction. (see also https://sv

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
method. I agree that modifying TapestryFilter is an ugly solution and should be avoided if possible. On Mon, 29 Nov 2010 21:06:50 +1100, Paul Stanton wrote: > same error, different service which can't be injected. > > On 29/11/2010 8:13 PM, Tom van Dijk wrote: >> What if y

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
What if you do this: public class DbShutdownImpl implements DbShutdown, RegistryShutdownListener { @Inject private HibernateSessionSource sessionSource; private final static Logger LOG = Logger.getLogger(DbShutdownImpl.class); @PostInjection public void startupService(Regi

Re: ObjectProvider called to often

2010-11-22 Thread Tom van Dijk
Hallo Sebastian, Well, you will always need the ObjectProvider, and it in turn will always need a number of services, either virtual or realized. Maybe there is a way to draw dependency diagrams so you can really see what is going on (but as far as I know, this information isn't available from

Re: ObjectProvider called to often

2010-11-21 Thread Tom van Dijk
And obviously, I meant "every service that it somehow depends on" instead of the other thing which is not true. Op 22-11-2010 0:34, Tom van Dijk schreef: Well, no, you will see that a lot of services depend on each other, so in order to create an object that just happens to depen

Re: ObjectProvider called to often

2010-11-21 Thread Tom van Dijk
Well, no, you will see that a lot of services depend on each other, so in order to create an object that just happens to depend on stuff like object providers, many other services need to be created. This is not an inefficiency in Tapestry (The services are first only "virtual" before they are

Re: T5.2.2 IOC: Non public service implementations

2010-11-04 Thread Tom van Dijk
I think there is a problem with invoking constructors of package private classes. There would be IllegalAccessExceptions. On Thu, 4 Nov 2010 14:37:21 +0100 (MET), "nille hammer" wrote: > Hi List, > > long time no write. > > I have got used to defining a public interface for my services paired