Localized messages based on property value

2015-08-10 Thread Nathan Quirynen
Hi, I have in some pages/components in my Tapestry (5.3.7) application the need to have localized messages based on some property value. Simplified example: Class SomeClass { String code; } In the page I have then a property of type SomeClass and based on this value I need different loc

RE: Multiple domains, one webapp

2015-08-10 Thread Svein-Erik Løken
Read about URL rewriting at https://tapestry.apache.org/url-rewriting.html, but cannot figure out how this can solve my question of how to access assets from javascript. > > I use to host tons of dealer websites on a single Tapestry application all > with their own unique domain. I used a comb

Default Marker

2015-08-10 Thread Nathan Quirynen
Hi, I'm using the following example for multiple database support with hibernate: https://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/ With the use of marker annotations the correct hibernate session manager is injected. I would like to use this in one of our applicat

Re: Multiple domains, one webapp

2015-08-10 Thread Thiago H de Paula Figueiredo
On Mon, 10 Aug 2015 06:05:27 -0300, Svein-Erik Løken wrote: Read about URL rewriting at https://tapestry.apache.org/url-rewriting.html, but cannot figure out how this can solve my question of how to access assets from javascript. Pass the asset URLs from Tapestry to JavaScript. -- Thiag

RE: Multiple domains, one webapp

2015-08-10 Thread Svein-Erik Løken
> > > Read about URL rewriting at > > https://tapestry.apache.org/url-rewriting.html, but cannot figure out > > how this can solve my question of how to access assets from javascript. > > Pass the asset URLs from Tapestry to JavaScript. > Thank you Thiago! I have created a project for people

Re: Frontend Frameworks / Libraries

2015-08-10 Thread George Christman
I think the choices these days are starting to become very overwhelming, I wish there was a magic bullet eliminating all these choices. I'd like to pick a new frontend framework, but with all the advise from the different sources, I don't think I know enough anymore to make an educated decision. O

Re: Multiple domains, one webapp

2015-08-10 Thread Stephen Nutbrown
This looks really good and will be really helpful to lots of people - thank you! I've had a look and have learnt some things from it myself, however I have a few questions. Is the "@ImportModule(CommonModule.class)" required? Instead of that I have something like this in my pom.xml or

RE: Multiple domains, one webapp

2015-08-10 Thread Svein-Erik Løken
> This looks really good and will be really helpful to lots of people - thank > you! > I've had a look and have learnt some things from it myself, however I have > a few questions. > > Is the "@ImportModule(CommonModule.class)" required? > > Instead of that I have something like this in my pom.xm

Re: Localized messages based on property value

2015-08-10 Thread mailingl...@j-b-s.de
Sorry Nathan I do not understand: do you want to spread properties belonging to one particular page accross multiple property files? Jens Von meinem iPhone gesendet > Am 10.08.2015 um 09:08 schrieb Nathan Quirynen : > > Hi, > > I have in some pages/components in my Tapestry (5.3.7) applicatio

Re: Multiple domains, one webapp

2015-08-10 Thread Thiago H de Paula Figueiredo
On Mon, 10 Aug 2015 13:04:25 -0300, Stephen Nutbrown wrote: This looks really good and will be really helpful to lots of people - thank you! +1! Is the "@ImportModule(CommonModule.class)" required? For multi-module development with the common module project open and live-class-reload

Re: Frontend Frameworks / Libraries

2015-08-10 Thread Taha Siddiqi
Well my way is to spend sometime on anything I find interesting... (Usually Saturday mornings) That is how I found tapestry and now Clojure/clojusescript, mongo, Titan graphs etc... So exciting !! Sent from my iPhone > On Aug 10, 2015, at 9:01 PM, George Christman wrote: > > I think the ch

Re: Multiple domains, one webapp

2015-08-10 Thread Stephen Nutbrown
Thank you also Thiago! You are all awesome and so is tapestry :) On 10 Aug 2015 18:19, "Thiago H de Paula Figueiredo" wrote: > On Mon, 10 Aug 2015 13:04:25 -0300, Stephen Nutbrown > wrote: > > This looks really good and will be really helpful to lots of people - >> thank you! >> > > +1! > > Is t

Re: Localized messages based on property value

2015-08-10 Thread Nathan Quirynen
Hmm yeah kind of.. So I want to have the usual properties file for the page and besides this for each possible value of a property an extra properties files in which specific localized messages are located. So for example an Index page it can have the following: - Index.properties - Index_en