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 very subtle

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 t...@tvandijk.nl 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

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 t...@tvandijk.nl 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

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 div. I don't want to use a zone for this. What I did was make a t:block in the .tml file. Now what I

Re: Rendering a Block

2011-02-26 Thread Tom van Dijk
Hi, Well, it is an AJAX request. The X-Requested-With header is properly set, isXHR() will return true. I'm executing it in Javascript, just a normal call. It's supposed to return a form that I can then display in any DIV that I want, and I don't want to use zones here. So I would think I

Re: Grid with multiple forms

2011-02-26 Thread Tom van Dijk
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 it out myself in about the same time it would take to generate a simplified version of whatever I'm working on to post to the list

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 t...@tvandijk.nl 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

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: 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

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

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: Things in a loop go null

2010-12-15 Thread Tom van Dijk
Alright, I suppose can add a context. But I find that it's not only the Product that's null, but also stuff like zones. What I have, is a component inside a loop. Now within the component, I have a zone that I want to update as follows: t:loop ... t:zone t:id=overviewOfStuff t:actionLink

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

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
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 p...@mapshed.com.au wrote: same error, different service which can't be injected. On 29/11/2010 8:13 PM, Tom van Dijk wrote: What if you do this: public

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

Re: tapestry-hibernate, hsqldb and registry shutdown

2010-11-29 Thread Tom van Dijk
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 sessionSource is realized

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

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: 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 depend on stuff like

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 tapestry.nilleham...@winfonet.eu wrote: Hi List, long time no write. I have got used to defining a public