Re: Select a property file

2010-08-02 Thread LeSanglier
I found it, thx !! :-) http://www.rgagnon.com/javadetails/java-0503.html You must add a slash / in the end of the line. Sven Homburg wrote: > > google for "multiline properties java" > > with regards > Sven Homburg > Founder of the Chenille Kit Project > http://chenillekit.codehaus.org > >

Re: Select a property file

2010-08-02 Thread Sven Homburg
google for "multiline properties java" with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/8/3 LeSanglier > > Another question, does it possible to have a multi-line in my .properties > file, by example : > > vacumcleaner.properties > > name = v

Re: Select a property file

2010-08-02 Thread LeSanglier
Another question, does it possible to have a multi-line in my .properties file, by example : vacumcleaner.properties name = vacum cleaner description = the best tool for the house It is red and very small don't hesitate to buy it. -- View this message i

Re: Select a property file

2010-08-02 Thread LeSanglier
Okay, But I don't want to use the Internationalization and localization function, I would like something generic. Another example is to select a description of a product from the properties : product_1.properties product_2.properties product_3.properties. -- View this message in context: http

Re: actionlink vs onAction()

2010-08-02 Thread Howard Lewis Ship
Seems like a bug to me; Tapestry is supposed to be case-insensitive. The "on" and "from" parts of the method name should work regardless of case. On Mon, Aug 2, 2010 at 12:22 PM, Tapestry5 Newbie Beginner wrote: > > Thanks. It works. My bad. > > -- Daniel. > > > Thiago H. de Paula Figueiredo wrot

Re: T5 Dispatcher: How to correctly order the Pipeline

2010-08-02 Thread Pierce Wetter
On Jul 31, 2010, at 2:13 AM, Daniel Henze wrote: > Thanks Kalle and Pierce for your feedback, it's interesting to read a little > more about other experiences. I can completely understand the login form > issue, something I stopped considering after a short period of time. The > tynamo project

Re: actionlink vs onAction()

2010-08-02 Thread Tapestry5 Newbie Beginner
Thanks. It works. My bad. -- Daniel. Thiago H. de Paula Figueiredo wrote: > > On Mon, 02 Aug 2010 16:16:16 -0300, Tapestry5 Newbie Beginner > wrote: > >> public class Index >> { >> @InjectPage >> private CreateContact contact; >> >> >> public Date getCurrentTime(

Re: actionlink vs onAction()

2010-08-02 Thread Thiago H. de Paula Figueiredo
On Mon, 02 Aug 2010 16:16:16 -0300, Tapestry5 Newbie Beginner wrote: public class Index { @InjectPage private CreateContact contact; public Date getCurrentTime() { return new Date(); } Object OnActionFr

actionlink vs onAction()

2010-08-02 Thread Tapestry5 Newbie Beginner
I was trying to tutorial on the web (the number guessing one); And I was able to set it up. However, when I add this to the Index.tml: Create Then, in my Index.java, I have, public class Index { @InjectPage private CreateContact contact; public Date get

Re: Unable to load an Asset which contains a folder destination in Tapestry 5.1.0.5 using PageTester

2010-08-02 Thread Sven Homburg
point the asset path to the image to load ( context:), not onley the directory where the image located. with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/8/2 Smita > > java.lang.RuntimeException: Exception assembling root component of page > E

Re: T4 PermGen

2010-08-02 Thread Norman Franke
Good to hear, but this one app is Tapestry 4. Porting it to 5 (as my new apps are) will be a major pain due to extensive use of form-based persistence. I guess I could turn off redirect after post, assuming that flag will stay around for the indefinite future of upgrades. Norman Franke Answ

Re: Unable to load an Asset which contains a folder destination in Tapestry 5.1.0.5 using PageTester

2010-08-02 Thread Juan E. Maya
Sorry, but do u really think this is the right why to ask for help? On Mon, Aug 2, 2010 at 4:50 PM, Smita wrote: > > java.lang.RuntimeException: Exception assembling root component of page > ExceptionReport: Exception assembling embedded > > component 'pagelayoutbasic' (of type > com.proquest.ap

Re: T4 PermGen

2010-08-02 Thread Howard Lewis Ship
That really feels like a Damned-if-you-do, Damned-if-you-don't situation. Javassist should be gone in 5.3. Mon, Aug 2, 2010 at 11:11 AM, Norman Franke wrote: > To follow up, the problem appears to be using Javaassist 3.12GA. Reverting > to 3.9GA resolved the permgen issue. > > Norman Franke > An

Re: T4 PermGen

2010-08-02 Thread Norman Franke
To follow up, the problem appears to be using Javaassist 3.12GA. Reverting to 3.9GA resolved the permgen issue. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 1, 2010, at 4:28 PM, Norman Franke wrote: I just started having problems with my web server running out of

Re: Select a property file

2010-08-02 Thread Howard Lewis Ship
Tapestry automatically chooses the correct localization of properties files, templates, and assets. Read up on Localization support. On Mon, Aug 2, 2010 at 5:32 AM, LeSanglier wrote: > > Hello, > > I would to know if it does possible to select a .properties file by a value > ? > By example, I go

Unable to load an Asset which contains a folder destination in Tapestry 5.1.0.5 using PageTester

2010-08-02 Thread Smita
java.lang.RuntimeException: Exception assembling root component of page ExceptionReport: Exception assembling embedded component 'pagelayoutbasic' (of type com.proquest.apps.onesearch.components.PageLayoutBasic, within ExceptionReport): Unable to locate asset 'context:images/brandingLogos' (th

RE: t:5.1.05 passing Object in t:context parameter using actionLink

2010-08-02 Thread Eldred Mullany
Hi Christophe Is there an example of similarity that implements the ValueEncoder. The class / Object that I want to encode just has a bunch of getters and setters. Is there some sort of GenericValueEncoder that takes a class file that I could take a look at ? Thank you Eldred -Original M

RE: t:5.1.05 passing Object in t:context parameter using actionLink

2010-08-02 Thread Eldred Mullany
Thanks Christophe I will give it a go. -Original Message- From: Christophe Cordenier [mailto:christophe.corden...@gmail.com] Sent: 02 August 2010 02:00 PM To: Tapestry users Subject: Re: t:5.1.05 passing Object in t:context parameter using actionLink Hi ! To handle client/server and se

Select a property file

2010-08-02 Thread LeSanglier
Hello, I would to know if it does possible to select a .properties file by a value ? By example, I got 3 .properties files : desc_fr.properties desc_en.properties des_es.properties And in my product.java, I want to select the good property file and to display the label : private int country =

Re: t:5.1.05 passing Object in t:context parameter using actionLink

2010-08-02 Thread Christophe Cordenier
Hi ! To handle client/server and server/client encoding of custom Types, you have to provide your an implementation of ValueEncoder. Contribute it to the ValueEncoderSource and context parameters will be handled properly/automatically. 2010/8/2 Eldred Mullany > Hi Guys > > > > I have a grid com

t:5.1.05 passing Object in t:context parameter using actionLink

2010-08-02 Thread Eldred Mullany
Hi Guys I have a grid component, in one of the parameter cells I have an actionLink, passing t:context="Object": I get illegalArgumentException : Could not find a coercion from type java.lang.String to type za.co.easypay.econfig.beans.stores.Store. I notice that the parameter is one m

Re: Label id for RadioGroup component is "null-label"

2010-08-02 Thread Borut Bolčina
OK, I downloaded the sources for T 5.1.0.5 from https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.1.0.5 and the RadioGroup.java has a method getClientId which always returns null: /** * Returns null; the radio group does not render as a tag and so doesn't have an id to

Re: Use pagelink with multiple context parameters

2010-08-02 Thread mcfly37
Simple, efficient fast... Thanks a lot!!! I was persuaded the solution was simple, I didn't mismatch ^^ So thank you, problem solved!! ningdh-2 wrote: > > Like this: > > context="[batchs.id.idBatch,batchs.id.idAo]" > > - Original Message - > From: "mcfly37" > To: > Sent: Monday, A

Label id for RadioGroup component is "null-label"

2010-08-02 Thread Borut Bolčina
Hi, I am trying to use the "No Validation Bubbles" from the JumpStart and it works just fine, but it fails for RadioGroup component. After some FireBug investigation I found out that this template: : renders as: CC Type: Master Card Visa I would expect: CC Type I have

Re: LinkSubmit is not working with Tapestry 5.1.0.5

2010-08-02 Thread Ulrich Stärk
I'd really love to cut another 5.1 release. I'd need some time to study and backport Howard's fix for the asset protection problem though which is the only reason we don't have a 5.1 bugfix release yet. Uli On 02.08.2010 11:09, Geoff Callender wrote: The JIRA ticket says its been fixed in 5.1.

Re: Use pagelink with multiple context parameters

2010-08-02 Thread Sven Homburg
change your page template to: ${batchs.nomBatch} and add to your page class: public Object[] getContextParams() { return new Object[]{batchs.id.idBatch, (long) batchs.id.idAo}; } with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/8/2 mcfly37

Re: Use pagelink with multiple context parameters

2010-08-02 Thread ningdh
Like this: context="[batchs.id.idBatch,batchs.id.idAo]" - Original Message - From: "mcfly37" To: Sent: Monday, August 02, 2010 5:43 PM Subject: Use pagelink with multiple context parameters > > Hello!! > > Currently I'm trying to use a pagelink component with multiple context > par

Use pagelink with multiple context parameters

2010-08-02 Thread mcfly37
Hello!! Currently I'm trying to use a pagelink component with multiple context parameters like this : ${batchs.nomBatch} Where idBatch is an int and idAo a long. But I didn't manage to find the right syntax to do this (I'm not even sure that it is possible this way...) So I come here to ask t

Re: LinkSubmit is not working with Tapestry 5.1.0.5

2010-08-02 Thread Geoff Callender
The JIRA ticket says its been fixed in 5.1.0.6, 5.1.0.7, and 5.2.0, so if you're willing to use one of those then you than that's the solution. Does anyone know if there will there be another stable release in the 5.1.0.* branch, ie. purely a bug-fix release? Regards, Geoff On 02/08/2010, at