Please file a JIRA for localizing the "Today" and "None" labels in the core datefield component.
Robert On Oct 17, 2011, at 10/179:05 AM , parranz wrote: > Hi, > > I'd like to insert some date fields in my application. I started using the > dateField component from Tapestry (I'm using tapestry 5.3) which works > perfect, but I have the problem that the buttons "Today" and "None" don“t > get translated to spanish. I've seen the javascript code deployed on the > server, and it seems that only the months names depend on the locale, but > not this 2 buttons (they seem to be hardcoded). Am I missing something? Is > there any way to get them translated? > > I've tried a workaround too, using instead of the tapestry's component the > one from tapx's library, but I get this excepcion when I start the server: > > java.lang.RuntimeException: Service id 'DynamicTemplateParser' has already > been defined by > com.howardlewisship.tapx.core.services.CoreModule.buildDynamicTemplateParser(DynamicTemplateParserImpl, > UpdateListenerHub) (at CoreModule.java:127) and may not be redefined by > org.apache.tapestry5.internal.dynamic.DynamicTemplateParserImpl(ClasspathURLConverter, > BindingSource, PageSource) (at DynamicTemplateParserImpl.java:42) via > org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at > TapestryModule.java:440). You should rename one of the service builder > methods. > at > org.apache.tapestry5.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:226) > at > org.apache.tapestry5.ioc.RegistryBuilder.build(RegistryBuilder.java:178) > at > org.apache.tapestry5.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:216) > > at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:95) > at > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:222) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at RunTestTapestry5.main(RunTestTapestry5.java:31) > > thats the dependency that I'm using: > > <dependency> > <groupId>com.howardlewisship</groupId> > <artifactId>tapx-datefield</artifactId> > <version>1.1-SNAPSHOT</version> > </dependency> > > It seems like this library isn't compatible with tapestry 5.3 anymore. > > thanx in advance!! > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Locale-t-dateTime-in-tapestry-5-3-tp4909983p4909983.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org