Re: Using composite key with value encoder.

2012-02-28 Thread Thiago H. de Paula Figueiredo
On Tue, 28 Feb 2012 16:15:17 -0300, George Christman wrote: Thanks Thiago, this is the method I ended up implementing. I wasn't sure if there was a better way of handling this. I'm using a custom component that uses a hidden field, do you feel there will be any kind of security risk pub

Re: Using composite key with value encoder.

2012-02-28 Thread George Christman
Thanks Thiago, this is the method I ended up implementing. I wasn't sure if there was a better way of handling this. I'm using a custom component that uses a hidden field, do you feel there will be any kind of security risk publishing the concatenated id in the hidden field, or do you think they sh

Re: Using composite key with value encoder.

2012-02-28 Thread Thiago H. de Paula Figueiredo
On Tue, 28 Feb 2012 11:53:43 -0300, Lenny Primak wrote: Take a look at source code for Tapestry-JPA Or just think about it: you have an object, two or more values used as primary key. Now you need to transform this into a string. Concatenate them all using some character. Let's say ':'.

Re: Using composite key with value encoder.

2012-02-28 Thread Lenny Primak
Take a look at source code for Tapestry-JPA On Feb 28, 2012, at 9:14 AM, George Christman wrote: > Does anybody else have any suggestions on this topic? Unfortunately I'm > required to use a value encoder in my situation and not sure how to get it > to work with a composite key. Thanks in advanc

Re: Using composite key with value encoder.

2012-02-28 Thread George Christman
Does anybody else have any suggestions on this topic? Unfortunately I'm required to use a value encoder in my situation and not sure how to get it to work with a composite key. Thanks in advance. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-coposite-key-with-valu