Re: Problem with components TML files

2010-09-10 Thread Alexander Muthmann
Another easy solution is to use the Other Sources Folder for your component tmls. Those files will be included in the right way. On 10.09.2010 02:51, Elin wrote: Thx a lot howard. U are always the man making the things easier for the people whos starting with tapestry. I have seen the 2

Re: Tapestry tree render without recursion?

2010-09-10 Thread Alexander Muthmann
We tried to use recursive components for a menu-structure. In the end we limited our self to a maximum depth for the menu and now use 3 components which are nearly equal: TopMenu SubMenu SubSubMenu Not a clear solution but easy ;) On 10.09.2010 12:08, Elin wrote: Im making a component

Re: tapestry grid problem,when sorting,redirected to Start page

2010-08-20 Thread Alexander Muthmann
Hi bugxiaoya, I think you can solve this problem by setting the inPlace parameter of your grid. This causes your grid to act like a ajax component and prevents reloading the whole site.

Re: tapestry grid problem,when sorting,redirected to Start page

2010-08-20 Thread Alexander Muthmann
Great, thanks for the feedback! Have a lot of fun with tapestry ;) On 20.08.2010 18:27, bugxiaoya wrote: thanks,it works. 2010/8/20 Alexander Muthmann [via Tapestry] ml-node+2641993-90986904-102...@n5.nabble.comml-node%2b2641993-90986904-102...@n5.nabble.com Hi bugxiaoya, I think you

Re: [Tapestry Central] Tapestry Frequently Asked Questions

2010-08-18 Thread Alexander Muthmann
Hi there, It's great to have a FAQ for Tapestry. I just had a look at it and immediately found an issue I just ran into. The second FAQ is Why do I get a ClassCastException ... I have a service which takes some page-classes via the contribute method. In my code, I then want to compare the

Re: [Tapestry Central] Tapestry Frequently Asked Questions

2010-08-18 Thread Alexander Muthmann
, Alexander Muthmann amuthm...@dev-eth0.de wrote: Is there any better possibility to compare those classes than to just compare their names which is a little bit annoying because there could be two classes with the same name but which aren't equal... If you have two different classes with the same

Re: [Tapestry Central] Tapestry Frequently Asked Questions

2010-08-18 Thread Alexander Muthmann
Thanks a lot for this idea! The call of: componentSource.getPage(Registered.class).getClass().equals(CurrentPage.class) works fine! On 18.08.2010 17:51, Thiago H. de Paula Figueiredo wrote: On Wed, 18 Aug 2010 12:31:15 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: I just

Re: Tapestry 5.2 preview

2010-08-18 Thread Alexander Muthmann
Hi, this is Igor Drobiazko's blog. Igor has written a very good book about tapestry in german. As he told in another post, the book will be published in english in some time! Greetings On 18.08.2010 17:55, 9902468 wrote: Hi, I know that this is little bit of and advertisement, but I just

Re: Using a modules message-catalog in another module

2010-08-14 Thread Alexander Muthmann
contributeComponentMessagesSource( @Value(/foo/bar/baz.properties) Resource preappResource, OrderedConfigurationResource configuration) { configuration.add(PreApp, preappResource, before:AppCatalog); } On Fri, Aug 13, 2010 at 4:39 PM, Alexander Muthmann

Using a modules message-catalog in another module

2010-08-13 Thread Alexander Muthmann
Hi there, I'm currently developing a website which is extended by external modules. I have a top-menu which displays some basic classes and all registered classes provided by external modules. Now I have the following problem: Normally I would display a link with this code: t:pagelink

Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Hi there, I currently work on an applications which uses a google-map-api based map with database-loaded data. To get the data in my map, I use a JSONArray which is returned from a method. function addLocations(){ var data = ${courierLocations}; for(i in data ){

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Hi Thiago! Thanks a lot for your fast reply! This is one thing, I though about, but as far as I can remember, RenderSupport is only available during the render phase. So I cant use it in my actionlink... On Tue, May 18, 2010 at 5:53 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote:

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Thanks again. I'm sorry about the question, but I cant find any example of the RenderNotifier Component, so how to use it?? On Tue, May 18, 2010 at 7:20 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 18 May 2010 13:50:15 -0300, Alexander Muthmann amuthm...@dev-eth0.de

Re: Updating Javascript-Code with a zone

2010-05-18 Thread Alexander Muthmann
Ok, Ill give it a try ;) thanks alot! Mit freundlichen Grüßen Alexander Muthmann On 18.05.2010, at 20:58, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 18 May 2010 15:16:18 -0300, Alexander Muthmann amuthm...@dev-eth0.de wrote: Thanks again. I'm sorry about

Re: [T5] Adding/removing entries to messages

2010-02-07 Thread Alexander Muthmann
Sorry, I missed the point, my solution only works for labels used in grids etc On 06.02.2010 13:51, Nuno Ferreira wrote: I'll definitely try that. And using a cache I could give my users the functionality to change at runtime the label translations, which I'm planning anyway since google

Re: [T5] Adding/removing entries to messages

2010-02-06 Thread Alexander Muthmann
Fast idea: You could override the existing provider for Message-Entries and add a function to look at google translate if the requestes label was not found. The service would be ComponentDefaultProvider and the needed method defaultLabel: public String defaultLabel(ComponentResources

Re: Tapestry i18n t:Label

2010-02-05 Thread Alexander Muthmann
Is there a good reason not to enhance t:Label to do this? How can I help to get this implemented (in case I am not the only one who thinks this would be a good idea)? Hi Christoph, one solution could be, to override the whole ComponentDefaultProvider . You could use the implementation,

List loaded hibernate entities

2010-02-04 Thread Alexander Muthmann
Hi there, i'm currently looking for a solution for the following problem: i have an abstract class which is extended by several classes. Those classes are entities for my database, connected with hibernate. Now I'm looking for a possibility, to list all classes, which extend my abstract

Re: List loaded hibernate entities

2010-02-04 Thread Alexander Muthmann
Wow, that was fast, thanks a lot! getAllClassMetadata() was what I was looking for! On 04.02.2010 17:41, Thiago H. de Paula Figueiredo wrote: On Thu, 04 Feb 2010 14:25:44 -0200, Alexander Muthmann amuthm...@dev-eth0.de wrote: Hi there, Hi! i have an abstract class which is extended

Re: [Tapestry Central] Ten Years of Tapestry

2010-02-04 Thread Alexander Muthmann
Congratulation Howard! And a big thank you to you and everybody, who is developing this great framework and supporting in this maillist! Mit freundlichen Grüßen Alexander Muthmann On 04.02.2010, at 19:39, Howard hls...@gmail.com wrote: I recently realized that the first prototype

Re: Need help regarding Bean Edit Form

2010-02-01 Thread Alexander Muthmann
Hi Jagadesh, on this webpage http://tapestry.apache.org/tapestry5/guide/beaneditform.html you can find some simple examples for a beaneditform. There is also one point about using a custom model or modifing the exisiting, that's what you need. Another great source for examples is this one:

Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
Hi there, I'm currently writing an application, which uses Tapestry 5.1. So far, I have no problems, but now I try to add some AJAX support. I want to update a Zone on my page, if the user clicks an actionlink. For this, I use the following code: t:zone t:id=catsZone t:actionlink

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
Wow, that was fast, thank you very much... I don't use any custom javascript and other thinks like a autocomplete work, so I don't think, it's a problem with my configuration. To return null is what I do if(request.isXHR) { return zone.getBody(); } else return null; On 28.01.2010 14:13,

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
Paula Figueiredo wrote: On Thu, 28 Jan 2010 11:36:07 -0200, Alexander Muthmann amuthm...@dev-eth0.de wrote: I don't use any custom javascript and other thinks like a autocomplete work, so I don't think, it's a problem with my configuration. To return null is what I do if(request.isXHR) { return

Re: Unable to access www.chenillekit.org

2010-01-28 Thread Alexander Muthmann
Yeah, but thats not the official homepage with the demo application and working download links. But chenillekit.org seems to be down currently! Mit freundlichen Grüßen Alexander Muthmann On 28.01.2010, at 22:02, Christophe DUFOUR christo...@dooapp.com wrote: Hi, I can see chenillekit