Re: [T5.3] Contributing a Service Override using addInstance()

2012-03-06 Thread Steve Eynon
> Perhaps we need complement the addInstance() methods with > addProxy() methods on the Configuration interfaces? Actually, this would be nice for a couple of times now I've been bit by having config.addInstance("blah", OptionalImpl.class); where OptionalImpl references a jar that's no longer

Re: ComponentParameters - Binding Expressions - "component:"

2012-03-06 Thread Paul Stanton
Why not just use: http://tapestry.apache.org/schema/tapestry_5_3.xsd";> ? On 7/03/2012 4:18 PM, Jochen Frey wrote: Hi! A general pattern for an Eventlink with an Ajax zone can look something like this: X.java: public class CTest { @InjectComponent @Property private Zone aZon

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread resign
>I have absolutely no idea about what you're trying to do. :-) sorry, i will try to describe my problem. I have a page with two actionLinks. This page contains a component with select list. This select list must contains a different entries depends on clicked actionLinks of parent page. resign

ComponentParameters - Binding Expressions - "component:"

2012-03-06 Thread Jochen Frey
Hi! A general pattern for an Eventlink with an Ajax zone can look something like this: X.java: public class CTest { @InjectComponent @Property private Zone aZone; } X.tml: http://tapestry.apache.org/schema/tapestry_5_3.xsd";> Where in essence I use a @Property in Java to genera

Re: Tapestry Forums

2012-03-06 Thread Paul Stanton
T, Try stackoverflow. Aside from here, it is the best place to have questions answered. http://stackoverflow.com/questions/tagged/tapestry On 7/03/2012 6:27 AM, TechniciuM wrote: Well Tapestry community is growing very rapidly, and this mailing list won't suit all our needs forever, therefo

Re: Tapestry 5.3 binaries

2012-03-06 Thread Rural Hunter
It's a greate news! 于 2012/3/6 8:03, Howard Lewis Ship 写道: The next release of Tapestry will include a binary download. On Mon, Mar 5, 2012 at 7:14 AM, TechniciuM wrote: I could assemble binaries looking from here http://mvnrepository.com/ but it would be a lot convenient if someone of you ha

Re: classloader issues casting objects to their tapestry type

2012-03-06 Thread Paul Stanton
I've found this is only a problem when you don't specify the zone's clientId in the tml: ${theTime} will work with @InjectComponent private Zone myZone; void onMyEvent() { ajaxResponseRenderer.addRender(myZone); } .. and this is well documented: http://tapestry.apache.org/ajax-components

Re: Zone update triggers update on parent Zone

2012-03-06 Thread Paul Stanton
i see you are using tapestry-jquery. I've converted your example over to prototypejs and observe the following: When submitting the form both alerts appear (zone2 first, zone1 2nd). zone1's javascript event listener is triggered when zone2's zone is updated even though its body is not re-rende

Re: classloader issues casting objects to their tapestry type

2012-03-06 Thread Paul Stanton
Actually, ajaxResponseRenderer.addRender("myZone", myZone); still doesn't work completely as it puts a 'myZone' inside of the original 'myZone', therefore the only workable solution with zone injection: ajaxResponseRenderer.addRender("myZone", myZone.getBody()); which is no more reli

Re: Tapestry Forums

2012-03-06 Thread Alex Kotchnev
Technicium, I'm just curious - how did you conclude that the tapestry community is growing very rapidly ? Cheers, Alex K On Tue, Mar 6, 2012 at 3:20 PM, Chris Mylonas wrote: > > there's an irc channel - freenode #tapestry > > > On 07/03/2012, at 6:36 AM, Thiago H. de Paula Figueiredo wrote:

Contribute custom messages

2012-03-06 Thread Henrik von Schlanbusch
Hi We have made a locale service that extracts messages from the database based on keys. We would like to use the service from the tml files, and preferably to replace the default tapestry ${message:SOME_KEY} to use our implementation. Is this possible to do in T5 so we can still write ${mess

Re: Tapestry Forums

2012-03-06 Thread Chris Mylonas
there's an irc channel - freenode #tapestry On 07/03/2012, at 6:36 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 06 Mar 2012 16:27:25 -0300, TechniciuM wrote: > >> Well Tapestry community is growing very rapidly, > > That's a good thing. :) > >> and this mailing list won't suit all our

Re: Tapestry 5.3 binaries

2012-03-06 Thread Howard Lewis Ship
Well, we may push out a 5.3.3 release at almost any time. On Tue, Mar 6, 2012 at 11:04 AM, TechniciuM wrote: > Thanks Howard. When could we expect it coming? :) > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5541878.html > Sent from

Re: Tapestry Forums

2012-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Mar 2012 16:27:25 -0300, TechniciuM wrote: Well Tapestry community is growing very rapidly, That's a good thing. :) and this mailing list won't suit all our needs forever, Why? Don't forget that Tapestry is an Apache Software Foundation project. From http://apache.org/foundat

Re: Tapestry Forums

2012-03-06 Thread TechniciuM
Well Tapestry community is growing very rapidly, and this mailing list won't suit all our needs forever, therefore I think it would be best to make some Tapestry related forum, however based on market exploring to see whether or not it is reliable to conduct in financial terms. ~T -- View this m

Re: Tapestry Forums

2012-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Mar 2012 16:03:09 -0300, TechniciuM wrote: Is there any tapestry related forum on the web, similar to tapestryforums.com that once was very active? No. This mailing list is best place for discussing Tapestry. Of course, you can discuss it in other places too, but here is where m

Re: Tapestry 5.3 binaries

2012-03-06 Thread TechniciuM
Thanks Howard. When could we expect it coming? :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5541878.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Tapestry Forums

2012-03-06 Thread TechniciuM
Is there any tapestry related forum on the web, similar to tapestryforums.com that once was very active? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Forums-tp5541874p5541874.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Bean Validation Localization

2012-03-06 Thread derkoe
Igor Drobiazko wrote > > Tapestry provides its own MessageInterpolator which is the wrapper around > the default one. Tapestry's interpolator is using ThreadLocale#getLocale() > in MessageInterpolator#interpolate without Locale parameter. Check this > out. > > https://svn.apache.org/repos/asf/ta

Re: redirect-after-post pattern

2012-03-06 Thread HubbardTisha
Thanks for the reply, Stephanie. I expect to use de PageService too and looking forward to some advice. - m4a to mp3 -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirect-after-post-pattern-tp2394300p5540713.html Sent from the Tapestry - User mailing list archive a

Zone update triggers update on parent Zone

2012-03-06 Thread nquirynen
Hi, I have this construction in my .tml (simplified): In my page class: @InjectComponent private Zone Zone2; public void onSubmitFromForm() { ajaxResponseRenderer.addRender(zone2.getClientId(), zone2); } So I just want to update the inner zone (zone2). But it

Re: Server Side Validation with ajax form loop

2012-03-06 Thread George Christman
Sounds good to me. Do you want to file the jira issue, or would you like me to? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5540927.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread Thiago H. de Paula Figueiredo
I have absolutely no idea about what you're trying to do. On Tue, 06 Mar 2012 11:00:02 -0300, resign wrote: You're doing it wrong. Environment works during rendering and you're using it on an event handler method. ok, undestand :-) But how can i resolve my problem? TML_1 - Page .. [ACTION

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread resign
>You're doing it wrong. Environment works during rendering and you're using it on an event handler method. ok, undestand :-) But how can i resolve my problem? TML_1 - Page .. [ACTION LINK TO SET PARAMETER to A] ... [ACTION LINK TO SET PARAMETER to B] ... ... MyComponent.tml ... ${myParamete

Re: Environment Environmental Service T5.2.6

2012-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Mar 2012 10:46:07 -0300, resign wrote: Hi, Hi! i try to proceed one value to a component. For this i try to use the Environment class. Why don't you use a parameter instead? But it doesn't work :-( You're doing it wrong. Environment works during rendering and you're using

Re: Failure loading Tapestry IoC module DevelopmentModule

2012-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, 06 Mar 2012 10:32:04 -0300, Az Madu wrote: Hi guys, Hi! java.lang.RuntimeException: Failure loading Tapestry IoC module class com.blah.blah.projectnameservices.DevelopmentModule: com.blah.blah.projectname.services.DevelopmentModule I guess the problem is in the lines above. Notice

Environment Environmental Service T5.2.6

2012-03-06 Thread resign
Hi, i try to proceed one value to a component. For this i try to use the Environment class. But it doesn't work :-( I also couldn't find any examples about this. My code: TML: ... GO ... Java Page ... @Inject private Environment environment; private ParamObject parameter; ... void onMyEven

Re: classloader issues casting objects to their tapestry type

2012-03-06 Thread Paul Stanton
Oh, hang on... I've just tried out what I ASSUMED was the 'recommended' way of performing zone updates via AjaxResponseRenderer: @InjectComponent private Zone myZone; void onMyEvent() { ajaxResponseRenderer.addRender(myZone); } ... and this doesn't work either! I get an error on the clie

Re: Scripts can be added to markup multiple times via different stacks

2012-03-06 Thread Jochen Berger
Hi, Am 06.03.2012 10:48, schrieb Lance Java: For the record, I don't think that it's an error to have two stacks sharing the same artifact in your application. I think the error exists when a page is attempting to import two stacks which share the same artifact. Correct, but that can only be

Re: Scripts can be added to markup multiple times via different stacks

2012-03-06 Thread Lance Java
For the record, I don't think that it's an error to have two stacks sharing the same artifact in your application. I think the error exists when a page is attempting to import two stacks which share the same artifact. On Tuesday, 6 March 2012, Lance Java wrote: > I agree that tapestry could be n

Re: Forms plus none tapestry fields

2012-03-06 Thread Gunnar Eketrapp
Thanks for the tip! That component looks awsame and I made a test and compare it with Erich Hynd's multiselect which also is god. I ran into some javascript issues in my minimal test page that I will try to solve this evening. It was some god old conflict between prototype / jquery but I think. I

Re: Scripts can be added to markup multiple times via different stacks

2012-03-06 Thread Lance Java
I agree that tapestry could be nice and at the least should log a warning to the console in this case. As you said, throwing an exception would be good too... at least in development mode. Not sure but perhaps it should throw exceptions if some (configurable) symbol is set to "true". I think this

Re: Bean Validation Localization

2012-03-06 Thread Igor Drobiazko
Tapestry provides its own MessageInterpolator which is the wrapper around the default one. Tapestry's interpolator is using ThreadLocale#getLocale() in MessageInterpolator#interpolate without Locale parameter. Check this out. https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-beanv