Re: detecting execution mode

2013-01-15 Thread Lutz Hühnken
Hi John, you should be able to inject its value into your class with @Symbol("tapestry.production-mode") See org.apache.tapestry5.ioc.annotations.Symbol for documentation and org.apache.tapestry5.SymbolConstants for names. Hth, Lutz On Tue, Jan 15, 2013 at 11:07 AM, John wrote: > Hi, > > What

Re: Want locale to be part of every uri

2012-01-25 Thread Lutz Hühnken
Hi Nillehammer, I was facing the same task and took the liberty of using your code - works like a charm! Thanks for that! One thing though... it will redirect with a "302 - Found" code, while I need it to return a "301 - moved permanently". Maybe it's because it is late, but I can't seem to figu

Re: jsp & jstl in tapestry

2012-01-25 Thread Lutz Hühnken
Short answer: no. Long answer: well, you know, "impossible is nothing". I you really must, you could probably "mix" Tapestry templates and JSP pages in the same application, but I cannot think of a good reason why one should attempt this. What are you trying to achieve? Why not use just Tapestry,

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

2010-09-28 Thread Lutz Hühnken
Dear Thiago, thanks for your patient reply and the advice. Of course I realize that I can still implement a search with Tapestry, with redirect-after-post or else, and I have actually done so in the past. But please take a minute and think about these two things: 1. You say, > GET was always mea

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

2010-09-28 Thread Lutz Hühnken
Dear Thiago, now this - the lack of - is something that has been puzzling me in Tapestry 5 for a long time. Why would you say using "GET" is a bad idea? The use case I think of is a search field. You enter a search term, submit the form, get the result. I think using a form with method=get is th

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/

Job offer for Tapestry Programmer in Hamburg, Germany

2010-06-01 Thread Lutz Hühnken
Ihre Bewerbung! Lutz Hühnken -- altocon GmbH http://www.altocon.de/ Software Development, Consulting Hamburg, Germany - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: 301 vs 302 redirects due to SEO

2010-01-15 Thread Lutz Hühnken
Stephan, you can extend the possible return types of the onActivate method by adding a ComponentEventResultProcessor to you configuration. You can define an HttpStatusCode class that returns the code you wish. I don't know if you consider this "clean", but it takes HTTP internals, codes etc. out

Re: blackbird (5.1)

2010-01-08 Thread Lutz Hühnken
s > > If you have some problem I can paste the code to contribute and get > your implementation working.Bye > > 2010/1/7 Lutz Hühnken : >> Hi, >> >> I do not want to use the blackbird console, especially not on the >> production server, plus it breaks my appl

blackbird (5.1)

2010-01-07 Thread Lutz Hühnken
Hi, I do not want to use the blackbird console, especially not on the production server, plus it breaks my application on IE (because of the cookie it sets, it somehow breaks the cookie handling because IE does not separate them properly). I see other peoples have problems with it too: https://is

Re: Persisting state without HTTP Session

2010-01-06 Thread Lutz Hühnken
Jim, You still have some different options to pursue in a cluster.. - "sticky" sessions, so that requests of the same user will go to the same server in the cluster. Good for load balancing, but if a server fails, the users of that server will loose their session. - session replication in the cl

Re: Persisting state without HTTP Session

2010-01-06 Thread Lutz Hühnken
lso feel it makes the app more breakable (fundamental > state could be broken with browser security settings).  What I'm after is > something akin to PageActivationContext but that passes the relevant > object(s) using Request parameters rather than the querystring / url - tha

Re: Persisting state without HTTP Session

2010-01-06 Thread Lutz Hühnken
Cookies come to mind, would that be an option? On Wed, Jan 6, 2010 at 2:16 PM, Jim O'Callaghan wrote: > Hi, > > Can anyone advise on the preferred way of persisting state between pages > without using HTTP Session?  PageActivationContext using Object[] looks > promising but I don't want long url

Re: Discussion

2009-12-23 Thread Lutz Hühnken
Hi everybody, I think the discussion on TheServerSide actually is somewhat interesting, but not because of the unfortunate Tapestry vs. Wicket flame war. Let's have a look at the topic leading to that... - One part of Java EE 6 is "CDI" (JSR 299) - http://jcp.org/en/jsr/detail?id=299 - originall

Re: t5: T5 friendly e commerce software?

2009-07-03 Thread Lutz Hühnken
Hi Angelo, what kind of e-commerce software are you thinking of? If it is a straight-forward online shop - we built www.toplicht.de about two and a half years ago with Tapestry and ever since we did, we wanted to open source the code as a an open source e-commerce project (the name would be "Coki

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-26 Thread Lutz Hühnken
http://www.toplicht.de (Tapestry 4) http://www.go7seas-kreuzfahrten.de (Tapestry 5) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Running quickstart in tomcat from eclipse

2009-04-14 Thread Lutz Hühnken
Hi Sean, although I currently use jetty (via the jetty maven plugin) for Tapestry development, I have used tomcat in the past, and if I remember correctly, there are two approaches. You can use the "web tools platform" in Eclipse, which will give you a server view and allow you to start your web

Re: T5: getting new Hibernate session in a lengthy thread

2009-03-15 Thread Lutz Hühnken
Hi Angelo, I think the point of sticking the session to the request is to keep it open until the request is processed, to avoid LazyInitializationExceptions during view rendering. So you might have to do your session management without the HibernateSessionManager. Then again, I wonder if it reall

Re: [T5] Web Service

2009-03-15 Thread Lutz Hühnken
Hi Dan, I think the usual approach would be to expose a remote interface to your application not through tapestry (or any other web framework), but by use of some remoting framework. Depending on your requirements (binary or text, one client platform or many, client architecture, security and tran

Re: base64 + url encoded activation context parameter

2009-03-15 Thread Lutz Hühnken
Hi Borut, right, Base 64 encoding is no good for URLs. See "http://en.wikipedia.org/wiki/Base64#URL_applications";. > What is the cleanest solution? Is there a known url safe > encoder/decoder which I can use or do I have to write one myself? I know there is one implementation included in the bo

Re: T5: accessing assets/files using apache httpd instead of tomcat

2009-03-05 Thread Lutz Hühnken
Hi Britske, assuming you are using mod_jk to connect Apache httpd to Tomcat, you can use JkMount/JkUnmount to unmount the paths containing static resources and have httpd handle them directly. Let's look at an example.. If your images are in "_img", the context is the root context and your webap

Re: http error on exception

2009-03-05 Thread Lutz Hühnken
The way I like to do it: decorate the exception handler in your AppModule.java /** * Decorate the exception handler in a way that it will just return error * code 500 in production mode. See * http://tapestry.apache.org/tapestry5/cookbook/exceptions.html On the * bottom o

Re: zone enhancements?

2009-01-13 Thread Lutz Hühnken
Fernando, I agree with you, especially your suggestion (1) would be very helpful and a welcome addition. The form/zone combination could maybe include more callback hooks. I think I have a case of Rails envy, look at the callbacks you can use for the remote_form_tag: > The callbacks that may be s

Re: T5/Jetty: disabling jsessionid?

2009-01-02 Thread Lutz Hühnken
Andy, you can strip the session id with filter, but you should also check if the pages you want index really need to be stateful. When your servlet container adds a session id, it means it found it necessary to create a session. If you just strip the session id, a new session will be created for e

Re: T5: encoding issues

2009-01-02 Thread Lutz Hühnken
Hm... I think there are many possible points of failure for the encoding... - maybe your browser thinks the page is not utf-8. Is the encoding set correctly either in a http response header or html meta tag? - what do you use for building your project? If you use maven, check the "encoding" argum

Re: T5 I am struggling with persisting form elements using onchange

2009-01-02 Thread Lutz Hühnken
Jayson, > customer. I attempted this using the onEvent mixin and a javascript > function, but Tapestry kept telling me my javascript function was undefined. that's probably just some mismatch between your function name and what you said the callback function was. Maybe you should post that code

Re: JSESSIONID cookie, secure is set, how to not set

2009-01-02 Thread Lutz Hühnken
I don't know how to do it within Tapestry, but generally you can use a filter to make sure that jsessionid is never set as a secure cookie. I dug up some old code that does that, I think it works: public class TomcatUnifiedSessionFilter implements Filter { public void destroy() { //

Re: [T5] Pagelink bug in Tapestry 5.0.16?

2008-11-19 Thread Lutz Hühnken
Hi, that is really quite the bug. I see you opened a jira ticket for it: https://issues.apache.org/jira/browse/TAP5-362 I hope a lot of people vote for it so it gets resolved quickly. Does anyone know of a good workaround? Lutz --

Re: Setting Cookies

2008-11-14 Thread Lutz Hühnken
On Tue, Nov 11, 2008 at 4:29 PM, Keith Bottner <[EMAIL PROTECTED]> wrote: > Oddly enough that DID work. But if I specify the domain and path it doesn't. There's probably a mismatch either of the given and the real hostname, or the given and real context path. > I will continue to look into this.

Re: Setting Cookies

2008-11-09 Thread Lutz Hühnken
Hm. Works fine for me. What happens if you leave out domain and path, like in cookies.writeCookieValue(Constants.COOKIE_NAME, value) ? On Wed, Nov 5, 2008 at 10:12 PM, Keith Bottner <[EMAIL PROTECTED]> wrote: > I am attempting to set a cookie for a user; however, it does not seem to be > reta

[t5] nested radiogroups?

2008-11-05 Thread Lutz Hühnken
Hi, is it possible (in 5.0.15) to have a radiogroup within a radiogroup? In the Tapestry 4.1 docs, it says quite clearly "RadioGroup components may not nest. ", but there is no such warning on the T5 RadioGroup page. Regards, Lutz ---

Re: T5: Spring prototype behavior equivalent ?

2008-10-31 Thread Lutz Hühnken
Hi Stephane, I think you can inject the WebApplicationContext and then use context.getBean to get fresh instances of your prototype bean. See http://tapestry.apache.org/tapestry5/tapestry-spring/ "The Spring WebApplicationContext is also added as a service..." "For the moment, you should consid

Re: so much useless logging

2008-10-22 Thread Lutz Hühnken
Hi Fernando, > Sorry, I might be worked up, but really, wow this is just amazing me how no > one has complained about this yet. well, this is just not true. You will find many discussions regarding this on this mailing list. Workarounds have been proposed. For log4j, you might try a filter htt

Re: t5: using jetty

2008-10-17 Thread Lutz Hühnken
In your pom.xml, add a context handler to the jetty plugin: org.mortbay.jetty jetty-maven-plugin / /myimages /the/

Re: T5: spring integration question

2008-09-30 Thread Lutz Hühnken
I'm just taking a guess here, but I think it won't. As far as I know the tapestry spring integration was always limited to singleton beans. I think the "prototype" variant is maybe difficult to handle since tapestry ioc (and hivemind in the past) have a somewhat different approach on object creatio

Re: T5: CMS Integration

2008-09-30 Thread Lutz Hühnken
page is actually a Tapestry template. Since Magnolia uses JSP, these to approaches don't interfere. You can easily add t:ids and such to your Magnolia templates. You can use Tapestry's template location mechanism to get the pages from Magnolia, and put any pre-generation and/or caching i

Re: [T5] setup logging

2008-08-12 Thread Lutz Hühnken
Hm... I had the same problem once, and I figured it was because Tapestry doesn't use the log level configured for the "org.apache.tapestry5" category, but the level you define for your components. As it is said on http://tapestry.apache.org/tapestry5/guide/logging.html : When a component's logger

Re: [T5] How to handle DAOs?

2008-08-10 Thread Lutz Hühnken
Hi Sven, this is the first time i hear of "chenillekit". So I'm wondering (and I'm sure others are, too) - what the relationship is between "chenillekit" and "t5components" ? Are those two names for the same project? Regards, Lutz On Sat, Aug 9, 2008 at 2:13 PM, Sven Homburg <[EMAIL PROTECTED

Re: T5: Trigger zone reload with just javascript?

2008-08-08 Thread Lutz Hühnken
Hi Mike, I faced the same task, I solved it using the onEvent mixin from Tapestry 5 components - http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnEvent.html In more detail - say you have two selects, sel1 and sel2, and you want sel2 to be updated when s

Re: T5 pagelink and http - >https redirect

2008-08-08 Thread Lutz Hühnken
I fell into that same trap once. Although it does it good job in teaching a lesson about not just copying & pasting code from a web page, it would really be nice if someone could correct the incorrect code samples on http://tapestry.apache.org/tapestry5/guide/secure.html Samples (plural) because

Re: T5 How to tell T5 to send 301 (moved permanently)

2008-08-08 Thread Lutz Hühnken
I haven't tried it, but I think it should work with the approach described in http://www.nabble.com/Index-page-context-and-404-response-to16649174.html#a16649174 It works fine for 404, you might have to extend it to include the URL to the page you are redirecting to. Hth, Lutz On Thu, Aug 7,

Re: https actionlink

2008-08-06 Thread Lutz Hühnken
Hi, have a look at "http://tapestry.apache.org/tapestry5/tapestry-core/guide/secure.html";. If the first paragraph - @Secure - does not work for you (which seems odd by the way because for me it seems to work just fine in 5.0.13), you can configure it in your AppModule.java, see the other two pa

Re: T5 getApplicationName

2008-08-04 Thread Lutz Hühnken
Hi Argo, if I understand you correctly, what you call application name is usually (or, in "java servlet speak") referred to as the "context". It is a property of the HttpServletRequest, which provides that information to you by the method "getContextPath()". Check the following pages: http://java

[T5] FormFragment and Radio Button - hidden Fragment still validated? (5.0.13)

2008-08-03 Thread Lutz Hühnken
Hi, I'm trying to use a FormFragment triggered by a Radio Button. Obviously, other people have done this before and ran into issues, see http://www.nabble.com/Form-fragments-and-radio-buttons-td16493007.html#a16493007 and https://issues.apache.org/jira/browse/TAPESTRY-2261 Having read that, I was

Re: T5: index page in pages package acts as a catchall

2008-07-31 Thread Lutz Hühnken
>> Ends up as http://app.com/. Am I doing something wrong? Surely others >> have run into this and deem it undesirable, no? > > yes and yes. Sorry, that should be no and yes and yes. no - you're not doing anything wrong (or better said, if you are, I'm doing something wrong, too) yes - others -

Re: T5: index page in pages package acts as a catchall

2008-07-31 Thread Lutz Hühnken
Dear Chris, > Ends up as http://app.com/. Am I doing something wrong? Surely others > have run into this and deem it undesirable, no? yes and yes. It has been discussed on this list before and a workaround (that works well for me) has been proposed. You can see the thread here: http://www.nabble.

Re: What if "Page" was removed from page names?

2008-06-25 Thread Lutz Hühnken
Shouldn't that be up to the developer (or whoever decides on the URLs)? If you don't want the page suffix, why not just name the page "Blogger" instead of "BloggerPage"? What if I wanted a url that reads "mypage"? Would I have to name the page "MyPagePage"? I'm all for convention over configuration

Re: Events from select component

2008-06-25 Thread Lutz Hühnken
Hi Brendan, I think the "OnEvent" mixin from t5components does what you are looking for: http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnEvent.html (I haven't used it myself, though. Let me know if it works as described.) Hth, Lutz On Tue, Jun 24,

[t5] form method="get", "old school" query parameters

2008-06-25 Thread Lutz Hühnken
Hi everybody, what is the way to create a form with method="GET" in Tapestry 5? I would like to create a simple form that produces a "GET" request with query parameters, such as www.example.com/books?author=king&category=crime. What is the straight-forward way to do that? Thanks for your help,

Re: T5 turn off form validation

2008-06-20 Thread Lutz Hühnken
Well, if you want stateless, you probably don't even want the session to be created at all. There has been a conversation about this on this mailing list before. The solution takes advantage of the possibility to define the persistence strategy per component. It also provides a custom persistence

Re: [NOOB] Getting the Locale without injection

2007-08-16 Thread Lutz Hühnken
Hi, which Tapestry version are you referring to? And what exactly do you mean with "in a final object" - are you talking about a component? In what way is the "final" part relevant? In Tapestry 4.0.x, the BasePage provides getLocale() and getMessages() methods. But I guess that's not what you are

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Lutz Hühnken
I'm not sure if I understand that correctly... I think the idea was not return the page name as a string from a submit method, but to set it.. in page A: - inject page B - set the name of page A as a property in page B - activate (or redirect to) B in page B: - do not inject page A, but get it by

Re: [T4] Tapestry-Acegi error

2007-08-08 Thread Lutz Hühnken
My first guess would be that you refer to something called "ClassWorkers" in your hivemodule.xml, but it is undefined. I think it might be helpful if you posted your hivemodule.xml. Hth, Lutz On 8/8/07, kael20 <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to setup tapestry-acegi using the

Re: [T4] wierd ognl error

2007-08-07 Thread Lutz Hühnken
Excuse me for being picky, but your subject is misleading. You claim to have an ognl error, but obviously you are using tapestry-prop instead of ognl. >From a quick look at your code I would guess the problem is that at some point the value of radioId is "mnpnull". Although you have defined an ini

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Lutz Hühnken
Hi there, to me it seems the error message indicates that you don't have a method "setSpringContext" in your CurrentFooEncoder. I think hivemind will try to set that property using that method. Or maybe you need a constructor with an argument of that type. For a slightly different approach you mi

Re: T4.1: How do you combine Tapestry + Spring?

2007-07-14 Thread Lutz Hühnken
What is the most common way to use Spring in combinations with Tapestry? I don't know. How do you combine Tapestry and Spring? I use the tapestry-spring library from "http://howardlewisship.com/tapestry-javaforge/tapestry-spring/";. Which parts of Spring? I use dependency injection a lot

Re: Feature of Inheritance in Tapestry Template (not only Java)

2007-07-04 Thread Lutz Hühnken
You can define your own components, i.e. take the code that is common to several templates and turn it into a tapestry component. You can than compose your templates from your components. Also, you might want to look at the "Border" component. hth, Lutz On 7/4/07, Eko S.W. <[EMAIL PROTECTED]>

Re: a servlet with a tapestry servlet in one web.xml

2007-07-03 Thread Lutz Hühnken
Which servlet/filter handles which request is configured in web.xml. Apparently, yours is set up in a way that a request which should go to the WingS-Servlet is handled by the Tapestry filter, although it shouldn't be. Check the filter-mapping for the TapestryFilter, does it include /application/

Re: t5: i18 messages without different locale files

2007-06-20 Thread Lutz Hühnken
I'm not sure (since I'm still on Tapestry 4 and there it's done like here: "http://wiki.apache.org/tapestry/UsingCustomResourceSource";), but there was a thread about that on this list just a few weeks ago. You can read it here: "http://thread.gmane.org/gmane.comp.java.tapestry.user/49256";. hth,

Re: ForBean issues

2006-11-14 Thread Lutz Hühnken
I've been using Tapestry for a couple of month now and still haven't understood how to work with collections in forms correctly. What works well for me is the DefaultPrimaryKeyConverter. But it seems such an overhead, I have to populate it in the beginPageRender, and iterate it in the listener to

Re: Timing processing time of a page

2006-09-26 Thread Lutz Hühnken
-----Original Message- From: Lutz Hühnken [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:38 PM To: Tapestry users Subject: Re: Timing processing time of a page I believe if your set the log level for tapestry to "debug", as in putting a line like "log4j.logger.org.a

Re: Timing processing time of a page

2006-09-26 Thread Lutz Hühnken
I believe if your set the log level for tapestry to "debug", as in putting a line like "log4j.logger.org.apache.tapestry=debug" in your log4j.properties, it will output such information. Like 19:30:56,135 DEBUG BaseComponent:89 - Begin render Home 19:30:57,807 DEBUG BaseComponent:95 - End render

Re: CMS Integration

2006-07-12 Thread Lutz Hühnken
gt; wrote: Oh, if you're interested in it, I can give my code for JCR integration as a base :) 2006/7/9, Lutz Hühnken <[EMAIL PROTECTED]>: > > Hi, > > I haven't really looked at it, but I was wondering... as far as I > understand, you'd like to integrate CMS-ma

Re: CMS Integration

2006-07-09 Thread Lutz Hühnken
Hi, I haven't really looked at it, but I was wondering... as far as I understand, you'd like to integrate CMS-managed content into a Tapestry-based site. You mention Magnolia... afaik, Magnolia uses a JSR 170 compliant content repository, such as Apache Jackrabbit ("http://jackrabbit.apache.org/

Re: 3 field date component

2006-06-20 Thread Lutz Hühnken
Any ideas out there on how we can get a better inventory of components? I think it would be easiest if everybody would just list their components (or components they know of) in the tapestry wiki ("http://wiki.apache.org/tapestry/ExtraComponents";). On a funny side note, the first one listed un

Re: R: R: Not solved! Re: Problem with mixing HTTP and HTTPS

2006-06-20 Thread Lutz Hühnken
I have not used google analytics, so I don't know. In theory, it could/should still work. The original client ip is, afaik, included in the http header "X-Forwarded-For". It's pretty much as if the user uses a proxy server (i.e. a forward proxy, not a reverse proxy) - how does google analytics dea

Re: R: Not solved! Re: Problem with mixing HTTP and HTTPS

2006-06-19 Thread Lutz Hühnken
What I don't understand: in an earlier posting you wrote: On 5/29/06, Josip Gracin <[EMAIL PROTECTED]> wrote: [...] scheme, but relying only on Tapestry mechanisms, i.e. not using Tomcat etc.? [...] Why would you not want to use an external mechanism? Is it not rather a feature of the framewor

Re: Hibernate persisted data never makes it to DB

2006-05-27 Thread Lutz Hühnken
Mark, I added "hibernate.connection.autocommit=true" to my hibernate.properties and that fixed it... hm. I don't know if that's a good idea. I'm not comfortable with hibernate.properties in a Spring environment, anyway. Is it clear to you in which order they are read? Will Spring configuratio

Re: Hibernate persisted data never makes it to DB

2006-05-25 Thread Lutz Hühnken
I asked for applicationContext.xml, and I get a mysql log... well, near enough :) From your last mail I understand you have the same problem if you use the mysql command line client. Makes me wonder why you thought the problem had to do with Hibernate in the first place (let alone Tapestry, for

Re: Hibernate persisted data never makes it to DB

2006-05-25 Thread Lutz Hühnken
Yes, the Spring HibernateTemplate will take care of that for you. The actual behaviour depends on your transaction management, but let's not get into that for now. So, the save you call will commit the changes to the database. Hibernate then disconnects the session, I believe, anyhow, there is no

Re: Hibernate persisted data never makes it to DB

2006-05-24 Thread Lutz Hühnken
Hm... given that you don't use OpenSessionInViewFilter, I think it is really pretty optimistic to believe your current problem can be solved by subclassing it and/or changing its flushing behaviour. On 5/25/06, Mark <[EMAIL PROTECTED]> wrote: Is there a way to set this in the hibernate.propert

Re: Hibernate persisted data never makes it to DB

2006-05-24 Thread Lutz Hühnken
my two cents, in three parts... - about the problem: well, usually, it kind of works. This may sound silly, but do you maybe have hbm2ddl.auto set to "create-drop" ? Or when you check if something has been stored, are you sure you're checking the right database? I'm not making fun of you, I have

Re: How would I know?

2006-05-23 Thread Lutz Hühnken
Yes, it has: "http://wiki.apache.org/tapestry/HowTos";. Hth, Lutz On 5/24/06, albartell <[EMAIL PROTECTED]> wrote: Thanks Ignatyev, that worked great! How would I have gotten to that without the list though? I think we should start a page called "How to do x in Tapestry" because these t

Re: Tap 4 integration with Spring and Hibernate

2006-05-19 Thread Lutz Hühnken
About Spring: There is a Wiki page at "http://wiki.apache.org/tapestry/Tapestry4Spring"; and a "drop-in" jar at "http://howardlewisship.com/tapestry-javaforge/tapestry-spring/";. The latter is by the Tapestry author himself, which makes some people (including me) favor it among the "quite a few so

Re: component that will get localized resources from database?

2006-05-15 Thread Lutz Hühnken
here may be a Hivemind way to inject a different message worker into only certain classes, but I would guess overriding getMessages() is probably just fine. Did you try it? Does it work? Is it simple? If so, no worries! Cheers, P On May 15, 2006, at 10:57 AM, Lutz Hühnken wrote: > Hi there, >

Re: component that will get localized resources from database?

2006-05-15 Thread Lutz Hühnken
Hi, actually no, I haven't even tried it, but it *must* collide with the enhancement stuff... However, I came across the page "http://wiki.apache.org/tapestry/UsingCustomResourceSource";, which provides quite a good solution. It "overrides" a default service implementation with a specific one i

component that will get localized resources from database?

2006-05-15 Thread Lutz Hühnken
Hi there, assume you want to create a localized tapestry application, but there are localized messages that you don't want to store in a properties file / text file. In a plain Java application, you could just write your own implementation of ResourceBundle, that could take the messages from any