Re: multiple context values

2009-04-02 Thread Howard Lewis Ship
AM, Leon Derks wrote: > How can I add multiple context values to an actionlink? > > For example a productId and a categoryId? > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

Re: multiple context values

2009-04-02 Thread Thiago H. de Paula Figueiredo
On Thu, Apr 2, 2009 at 11:37 AM, Fernanda C. Carmo wrote: > Is there any other way to have only one parameter ProjectVersion like this? > >    public Object onActionFromEditProjectVersion(ProjectVersion > projectVersion) { > >        editProjectVersionPage.setProjectVersion(projectVersion); >    

Re: multiple context values

2009-04-02 Thread Fernanda C. Carmo
-- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > - Fernanda Cristina do Carmo System Analyst and Java Developer MSN/GoogleTalk: f

Re: multiple context values

2009-04-02 Thread Thiago H. de Paula Figueiredo
On Wed, Apr 1, 2009 at 7:45 PM, Filip S. Adamsen wrote: > What about contributing a ValueEncoder that converts between a ProductId > and a String? I haven't needed to work with composite primary keys, so I > can't say if it'd work, but it's worth a shot. This is a more reusable solution than the

Re: multiple context values

2009-04-01 Thread Filip S. Adamsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What about contributing a ValueEncoder that converts between a ProductId and a String? I haven't needed to work with composite primary keys, so I can't say if it'd work, but it's worth a shot. /Filip On 2009-04-02 00:33, Thiago H. de Paula Figueiredo

Re: multiple context values

2009-04-01 Thread Thiago H. de Paula Figueiredo
Em Wed, 01 Apr 2009 18:35:53 -0300, Fernanda C. Carmo escreveu: I have an object Product and it has a composite primary key (ProductId). How can I put this object Product in actionlink's context value? Hi! Create a method that return a List containig the values thatt comprise the composi

Re: multiple context values

2009-04-01 Thread Fernanda C. Carmo
ctionlink> >> >> >> see: >> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/ActionLink.html >> >> >> 2008/4/28 Manuel Corrales : >>> I think you can separate the values with commas like this: >&

Re: multiple context values

2008-04-29 Thread Geoff Callender
b/components/ActionLink.html 2008/4/28 Manuel Corrales <[EMAIL PROTECTED]>: I think you can separate the values with commas like this: t:context="p.productId, p.categoryId" Good luck! On Mon, Apr 28, 2008 at 12:53 PM, Leon Derks <[EMAIL PROTECTED]> wrote: How can I

Re: multiple context values

2008-04-28 Thread Marcelo Lotif
; > > > On Mon, Apr 28, 2008 at 12:53 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > > > How can I add multiple context values to an actionlink? > > > > For example a productId and a categoryId? > > > > > > > > > > > > -

Re: multiple context values

2008-04-28 Thread Manuel Corrales
I think you can separate the values with commas like this: t:context="p.productId, p.categoryId" Good luck! On Mon, Apr 28, 2008 at 12:53 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > How can I add multiple context values to an actionlink? > > For example a p

multiple context values

2008-04-28 Thread Leon Derks
How can I add multiple context values to an actionlink? For example a productId and a categoryId? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]