Contribute custom Messages for localization

2010-08-11 Thread Henrik Schlanbusch
Hi all We have a Message service that we used when our system was implemented in T4. The messages will request localized strings from file and override the string with values from the database if they have been overridden there. I cannot find anything in the T5 literature on how to provide custo

Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-11 Thread Vjeran Marcinko
Hello, I tried to port my 5.1 app to 5.2 alpha, and also got IllegalAccessError. I have my own ComponentRequestFilter implementation (for Hibernate session management) registered naturally in Tapestry's module class (service package), and IllegalAccessError is raised when this filter tries to a

Re: Tapestry 5.2.0 Alpha Release Now Available

2010-08-11 Thread Peter Stavrinides
Yes, I think this could be the issue, thanks Igor! I will follow up with more info once I am certain. - Original Message - From: "Igor Drobiazko" To: "Tapestry users" Sent: Tuesday, 10 August, 2010 20:03:54 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry 5.2.0 Alph

Re: Contribute custom Messages for localization

2010-08-11 Thread Christophe Cordenier
Hi ! Tapestry 5 has a built-in mechanism to decorate/override services http://tapestry.apache.org/tapestry5/guide/alias.html As far a i remember, the service in charge of getting messages in page is ComponentMessagesSource http://github.com/apache/tapestry5/blob/trunk/tapestry-core/src/main/jav

Re: Why would I choose JQuery?

2010-08-11 Thread Christophe Cordenier
Hi ! 2010/8/10 Andreas Andreou > Wrt jquery vs. others, i'd say jquery has won especially for your > "everyday webapp", i.e. the webapp that contains lots of html > pages and mostly serves just that - html pages. Incidentally, i believe > that that's where Tapestry is good at - creating the mar

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-11 Thread Vjeran Marcinko
I tried everything again with converting my package-private methods into public, and now everything works, so this is also related to bug: https://issues.apache.org/jira/browse/TAP5-1233 -Vjeran - Original Message - From: "Vjeran Marcinko" To: "Tapestry users" Sent: Wednesday, Augus

Re: Select in Loop

2010-08-11 Thread Pablo dos Reis
Mite, You must use a property of your source as select value. 2010/8/11 Josh Canfield > Are you saying that when you post the form you are getting the last value > from the form stored in the currentBetType and currentAvailableBet > properties? > > With loops you have to remember that you onl

Re: Why would I choose JQuery?

2010-08-11 Thread Fritz Stelluto
Hi there. Just my two cents as a front end dev working on Tapestry projects. I'd rather you made it easier to plug in ANY js library of one's choice, including purpose built ones. It should really be a day's work or so for a front end dev to decide they are going to use library X, find out it'

Re: Why would I choose JQuery?

2010-08-11 Thread Christophe Cordenier
Hi ! 2010/8/11 Fritz Stelluto > Hi there. Just my two cents as a front end dev working on Tapestry > projects. > > > I'd rather you made it easier to plug in ANY js library of one's choice, > including purpose built ones. > I think this is exactly what Howard has in mind. Factoring work has alr

Latest 5.2 distributions not available yet?

2010-08-11 Thread Vjeran Marcinko
Hello, I wanted to try out new QueryParameterMapped annotation, but it seems it isn't present yet in latest 5.2 distributions that are available through man site. I guess it should be present in tapestry-core-5.2.0, and in "org.apache.tapestry5.annotations" package, but it isn't: I tried 2

Re: Latest 5.2 distributions not available yet?

2010-08-11 Thread Andreas Andreou
it was renamed to ActivationRequestParameter 2010/8/11 Vjeran Marcinko : > Hello, > > I wanted to try out new QueryParameterMapped annotation, but it seems it > isn't present yet in latest 5.2 distributions that are available through man > site. > > I guess it should be present in tapestry-core-5.

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-11 Thread Howard Lewis Ship
You can see these kinds of exceptions for a service implementation that accesses protected or package private members of another class. Because the service implementation class is loaded in a new ClassLoader (to support live class reloading), it is considered to be in a different Java package from

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-11 Thread Tornn
So.., no one can help to solve this problem? 2010/8/11 Tornn : > Hi Markus! > >  Thank you for your response! >  I tried to do that. But if I add id="something${counter}" where > counter is just a number it stops working at all. >  It renders ok. But buttons do nothing - they cannot submit the

Re: Latest 5.2 distributions not available yet?

2010-08-11 Thread Vjeran Marcinko
Ah, I see, thanx. The 5.2 site ( http://tapestry.apache.org/tapestry5.2-dev/ ) has "New and of ntoe" section that references QueryParameterMapped. I guess that's some old distro there. -Vjeran - Original Message - From: "Andreas Andreou" Newsgroups: gmane.comp.java.tapestry.user T

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-11 Thread Katia Aresti Gonzalez
I've checkout your code this afternoon in order to make it run. i didn't have much time, i had thing to do. can you tell me all about your development and runtime environment, please ? you are not using maven, are you using jetty to run the project ? tomcat ? do I need to configure something in pa

Re: T5.1 - Problem with form submission and zone rerendering

2010-08-11 Thread Josh Canfield
Hi Karpushin Sergey. >     Don't use ${} notation within bound parameters. This can cause problems in other situations (casts the value to a string). >  The first problem is that tapestry cant automatically restore state > of ActivityJournalItem component. When I receive event onSuccess for > the

Re: [GSOC 2010] GMaps Component

2010-08-11 Thread Joachim Van der Auwera
You could consider looking at geomajas (http://geomajas.org), it provides a lot of the functionality you want. Kind regards, Joachim On 07/19/2010 04:54 AM, Pablo dos Reis wrote: Hi everyone, I intend to create components that encapsulate some features of Maps Javascript API v3 The goal is a

Custom Validation Bubbles

2010-08-11 Thread Rich M
Hi, I've found resources that explain how to remove the validation bubbles, but I'm looking to display validation bubbles similar to how it's possible to record form errors to after a 'failed' form submission. I have tight spacing in the UI layout and having to accommodate for the isn't m

Re: Custom Validation Bubbles

2010-08-11 Thread Josh Canfield
You can control the look of the errors component using CSS. I also use a component that extends Errors so that it can render outside of the form: public class FormErrors extends Errors { @Parameter(required = true) private Form _form; @Inject private Environment _environment;

Re: [GSOC 2010] GMaps Component

2010-08-11 Thread Pablo dos Reis
Thank you Joachim, But I think that I don' t have time anymore to implement this component in the GSOC 2010. Anyway I intend implement it and then publish here. 2010/8/11 Joachim Van der Auwera > You could consider looking at geomajas (http://geomajas.org), it provides > a lot of the functiona