Re: eventlink with multiple context parameters

2018-10-05 Thread Thiago H. de Paula Figueiredo
. [d.re...@googlemail.com.INVALID] > Sent: Tuesday, October 02, 2018 10:48 AM > To: users@tapestry.apache.org > Subject: eventlink with multiple context parameters > > Hi @all, > > I am confused about calling a java method with an eventlink and multiple > context

RE: eventlink with multiple context parameters

2018-10-03 Thread Ross, Cyndy
bject: eventlink with multiple context parameters Hi @all, I am confused about calling a java method with an eventlink and multiple context parameters: t:context="[account.get('test').userUuid, friend]" does not work, see below please. Following stuff is in my Java class: @Proper

Re: eventlink with multiple context parameters

2018-10-03 Thread Chris Poulsen
od with an eventlink and multiple > context parameters: > t:context="[account.get('test').userUuid, friend]" does not work, see > below please. > > Following stuff is in my Java class: > > @Property(write = false) > private final String friend = &quo

eventlink with multiple context parameters

2018-10-02 Thread D. R.
Hi @all, I am confused about calling a java method with an eventlink and multiple context parameters: t:context="[account.get('test').userUuid, friend]" does not work, see below please. Following stuff is in my Java class: @Property(write = false) private final Str

Re: Multiple Context Parameters

2016-09-18 Thread Adam X
Thank you guys :) This is a very valuable knowledge and it's great to know alternatives. As a feedback, the jumpstart is a wonderful tool to get started quickly, but it would be even better if it incorporated some more scenarios, such as this one. All I could find was several examples with literal

Re: Multiple Context Parameters

2016-09-18 Thread Lance Java
Assuming foo is a property you could also do t:context="[foo,'true']" or t:context="[foo,true]" https://tapestry.apache.org/property-expressions.html On 18 Sep 2016 11:13 a.m., "Bob Harner" wrote: > Yes, that's the correct way to do it. I think you could also do > t:context="foo,bar" if both f

Re: Multiple Context Parameters

2016-09-18 Thread Bob Harner
Yes, that's the correct way to do it. I think you could also do t:context="foo,bar" if both foo and bar are properties (e.g. a getter for each). On Sep 17, 2016 3:24 PM, "Adam X" wrote: > I'm not sure if I did this right but I introduced a getter in my page > class returning object array like thi

Re: Multiple Context Parameters

2016-09-17 Thread Adam X
I'm not sure if I did this right but I introduced a getter in my page class returning object array like this: public Object[] getFoo() { return new Object[] { tx.id, true }; } So this allows me to have a context that is partially dynamic (transaction id) and partially static (literal): public v

Multiple Context Parameters

2016-09-17 Thread Adam X
Hi, I have the following event link which works (with single context parameter) raw In my page class I have the associated handler: public void onDoAjax(boolean format) { log.debug("{}", format); } Now, I'd like to add a second (dynamic) context parameter. By dynamic I mean a p

Re: Use pagelink with multiple context parameters

2010-08-02 Thread mcfly37
om: "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 >> parameters like this

Re: Use pagelink with multiple context parameters

2010-08-02 Thread Sven Homburg
> > 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

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 pag

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 c