Re: T5 - app.properties using charset "iso-8859-1"

2009-04-09 Thread Tapestry Infodea
I believe that it's not possible. You can resolve as follows: http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner and converting the original Errors_xx.properties to UTF-8. Roberto. Fernanda C. Carmo ha scritto: It´s possible to tell Tapestry (5.0.18) to use a

Re: Form submit with bypass to required validation

2009-04-06 Thread Tapestry Infodea
lient side. 2009/4/6 Tapestry Infodea Hi, you can use Form.clearErrors() when you save. Roberto. Pedro Januário ha scritto: Hi Jorge, Probably i didn't explained very well. The idea was to kept the client validation turned on, and i don't want to display any required validation

Re: Form submit with bypass to required validation

2009-04-06 Thread Tapestry Infodea
Hi, you can use Form.clearErrors() when you save. Roberto. Pedro Januário ha scritto: Hi Jorge, Probably i didn't explained very well. The idea was to kept the client validation turned on, and i don't want to display any required validation message on save submit button. The aproach that you m

Re: help with tapestry hibernate.

2009-04-02 Thread Tapestry Infodea
I use Tapestry 5.0.18 and I can test Hibernate. The classes that I use for testing are as follows: //A Test Module in order to use a specific configuration on test environment @SubModule( { AppModule.class }) public class AppTestModule { public static void contributeApplicationDefaults(Mapped

Re: Tapestry4e - New free eclipse plugin for Tapestry 5

2009-03-20 Thread Tapestry Infodea
I too use the ganymede for jee official release: Version: 3.4.0 Build id: I20080617-2000 with the plugins for Maven and SVN. I like the name of your plugin ;) Roberto. Juan Miguel Salamanca ha scritto: It looks like a problem with the version of your eclipse IDE. I have tested the plugin wi

Re: FormInjector Component

2009-03-12 Thread Tapestry Infodea
http://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/FormInjectorDemo.java http://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/FormInjectorDemo.tml Eldred Mullany ha scritto: Hi Doe

[T5.0.18] How to change default persistence strategy for the whole application?

2009-03-06 Thread Tapestry Infodea
Hi guys, I've tried to change the configuration in my application module as follows: public static void contributeFactoryDefaults(MappedConfigurationString> configuration) { configuration.add(PersistentFieldManagerImpl.META_KEY, PersistenceConstants.FLASH); } This approach don't works :( Hav

Re: [OT] Problem using eclipse+maven+jetty

2009-03-02 Thread Tapestry Infodea
false update Tapestry Infodea ha scritto: > In Run --> Run configurations...I've created a new Maven Build > configuration adding the following goals: > org.mortbay.jetty:maven-jetty-plugin:6.1.14:run > > Allex Juang ha scritto: >> maven eclipse plugin?? &g

Re: [OT] Problem using eclipse+maven+jetty

2009-03-02 Thread Tapestry Infodea
about using DataSource in m2eclipse > > Allex J. > > Tapestry Infodea 提到: >> I had the same problem and I solved using the maven eclipse plugin to >> run Jetty >> >> Allex Juang ha scritto: >> >>> Hi, >>> >>> Sorry for offtopi

Re: [OT] Problem using eclipse+maven+jetty

2009-03-02 Thread Tapestry Infodea
I had the same problem and I solved using the maven eclipse plugin to run Jetty Allex Juang ha scritto: > Hi, > > Sorry for offtopic. > But I am writing my own website using T5+hibernate. > And when I using eclipse 3.4 with m2eclipse, jetty can be launched very > well. > But here I got a problem

Re: Localization in Services

2009-02-06 Thread Tapestry Infodea
fine myprop.properties in it/infodea/app/internal/ Tapestry Infodea ha scritto: You can use the ValidationMessagesSource and ThreadLocale services: ValidationMessagesSource validationMessagesSource; ThreadLocale threadLocale; Messages messages = validationMessagesSource.getValidationMessag

Re: Localization in Services

2009-02-06 Thread Tapestry Infodea
You can use the ValidationMessagesSource and ThreadLocale services: ValidationMessagesSource validationMessagesSource; ThreadLocale threadLocale; Messages messages = validationMessagesSource.getValidationMessages(threadLocale.getLocale()); Roberto. Nicolas Charles ha scritto: Hello there,

[T.5.0.18] FormSupportAdapter question

2009-01-23 Thread Tapestry Infodea
Hi guys, I've implemented a new component that make AJAX call on a select change event and update the page with the AJAX response. The Ajax response is the result of a Block render. The Block contains a BeanEditor. The following is a sample code portion of what I've done and some questions ab

Re: t5: accessing a text file under resources

2009-01-14 Thread Tapestry Infodea
Hi, try something like this: private static final String WEB_BASED_PATH = "resources/robots.txt"; try { InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(WEB_BASED_PATH); DataInputStream din = new DataInputStream(is);