Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Howard Lewis Ship
The Gradle build will do the necessary work for you. However, I haven't fully tested it under Windows ... its Just Barely Good Enough on Mac/Linux. On Sat, Aug 27, 2011 at 2:42 PM, Shing Hing Man wrote: > In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were > generated.

Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were generated. They  are in   tapestry-core/build/generated-sources/ Shing From: Shing Hing Man To: Tapestry users Sent: Saturday, 27 August 2011, 20:25 Subject: Tap 5.3.0: How to gen

Re: tapestry 5.2.4 and spring 3.1M1

2011-08-27 Thread zelenka....@gmail.com
actually tapestry-spring integration with external context set tu True uses BeanFactoryUtils.beanNamesIncludingAncestors(context) to get list of beans to be exported as tapestry services. Maybe it should use just context.getBeanDefinitionNames() because starting with Spring 3.1 the former retu

Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
 Hi,    I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.  The class PropertyConduitSourceImpl.java  has the  following   imports  : import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer; import org.apache.tapestry5.internal.antlr.PropertyExp

Re: Validate without a form field

2011-08-27 Thread Robert Zeigler
FieldValidatorSource is heavily geared for form fields; form field validation involves potentially hooking up client-side js to the form field, displaying error messages to the user, tracking the field that generated the error, etc. If you don't have a form field, where does the request paramet

Re: outputting < > with outputRaw

2011-08-27 Thread Howard Lewis Ship
It's all about the XML parser: the < is parsed into the character '<' which is passed to OutputRaw which, in turn, streams it into the response. On Sat, Aug 27, 2011 at 12:18 AM, Ken in Nashua wrote: > > this fixed > > > > Best Regards and thanks > kcola...@live.com > > > > > From: kcola...@live

Re: [T5.3-alpha-13] Confusing Contributions to ComponentClassTransformWorker2 / MetaWorker

2011-08-27 Thread Howard Lewis Ship
MetaWorker extends CCTW2 so a @Contribute(CCTW2.class) needs qualification for tapestry-ioc to understand what is being contributed to. The ComponentClassTransformWorker service id is unchanged, which is why contributeComponentClassTransformWorker2() does not work using the naming convention. Sa

Re: [T5.3-alpha-13] Confusing Contributions to ComponentClassTransformWorker2 / MetaWorker

2011-08-27 Thread Josh Canfield
The solution is to the MetaWorker issue is to add @Primary with @Contribute( ComponentClassTransformWorker2). There is a dependency that I honestly haven't spent the time to understand, but I happened upon a jira ticket that pointed the way. On Aug 27, 2011 6:16 AM, "Steve Eynon" wrote: > Hi, > >

[T5.3-alpha-13] Confusing Contributions to ComponentClassTransformWorker2 / MetaWorker

2011-08-27 Thread Steve Eynon
Hi, I was converting some components from T5.2 to T5.3 and I came across some confusing behaviour / error messages. The following replicates what I found: If you put the following in your module - i.e. contributing to the new ComponentClassTransformWorker2 @Contribute(ComponentClassTransformWork

Re: Default locale does not work form validation messages !?

2011-08-27 Thread Denis McCarthy
Quite possibly - add sv_SE to tapestry.supported-locales as well - we support a number of national language variants on our site and adding them to tapestry.supported-locales works as expected. Denis On Sat, Aug 27, 2011 at 10:53 AM, Gunnar Eketrapp wrote: > Hum .. I just saw that th swedish pro

Re: Default locale does not work form validation messages !?

2011-08-27 Thread Gunnar Eketrapp
Hum .. I just saw that th swedish property files in tapestry are named ** _sv_SE*.properties Can this be the reason that my "sv" locale does not find them ... 2011/8/27 Gunnar Eketrapp > Hi! > > I have a question related to localization in general and validation > messages specifially. > > My s

Default locale does not work form validation messages !?

2011-08-27 Thread Gunnar Eketrapp
Hi! I have a question related to localization in general and validation messages specifially. My site is swedish only . i.e. configuration.add(SymbolConstants.SUPPORTED_LOCALES, "sv"); Localization works fine for pages and components where my swedish property files are selected by T5.

Re: My loggings changed when upgrading to 5.2.6

2011-08-27 Thread Gunnar Eketrapp
Problem solved! Hum ... strange I added a dependence to tapestry-ioc and moved the exlusions og log4j there and now it is back to normal. 2011/8/27 Gunnar Eketrapp > Hum ... > > I upgraded from 5.2.4.to 5.2.6 and noticed that my logging output has > changed. > > What could have caused this? I

My loggings changed when upgrading to 5.2.6

2011-08-27 Thread Gunnar Eketrapp
Hum ... I upgraded from 5.2.4.to 5.2.6 and noticed that my logging output has changed. What could have caused this? I am using logback ... The release notes did not mention anything that could have this effect ... If I switch back to 5.2.4 they get back to "normal" again. [The switches where m

RE: outputting < > with outputRaw

2011-08-27 Thread Ken in Nashua
this fixed Best Regards and thanks kcola...@live.com From: kcola...@live.com To: users@tapestry.apache.org Subject: outputting < > with outputRaw Date: Sat, 27 Aug 2011 02:56:37 -0400 Can someone help me... the above fails... cannot have brackets inside value. How do I output