RE: EventLink parameters

2012-10-17 Thread Lance Java
icle-using-hibernate-td5716817.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters-tp5716874p5716989.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubs

RE: EventLink parameters

2012-10-16 Thread Ken in Nashua
Thanks Taha... but I got a huge problem understanding this language and I am not talking about T5. I am having fun with this T5... real diamond grade fun. Is that such a crime ? I can model the natural world... am I not allowed? I enjoy the ups and downs and challenges and problems. I dont tak

Re: EventLink parameters

2012-10-16 Thread Taha Siddiqi
in a position to understand why your questions are not the right questions. Best of luck Taha On Oct 17, 2012, at 9:02 AM, Ken in Nashua wrote: > > >> Subject: Re: EventLink parameters >> From: lpri...@hope.nyc.ny.us >> Date: Tue, 16 Oct 2012 11:06:10 -

RE: EventLink parameters

2012-10-16 Thread Ken in Nashua
ating you. I will keep on developing tapestry because its my passion. peace be with you From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: EventLink parameters Date: Tue, 16 Oct 2012 10:30:49 -0400 so context was the solution... i get my pagenumber in nicely to the ha

FW: EventLink parameters

2012-10-16 Thread Ken in Nashua
> Subject: Re: EventLink parameters > From: lpri...@hope.nyc.ny.us > Date: Tue, 16 Oct 2012 11:06:10 -0400 > To: kcola...@live.com > > Seriously, I hate being "rude anonymous guy" but we have this saying in > aviation (my other profession) > "this ain&#x

Re: EventLink parameters

2012-10-16 Thread Thiago H de Paula Figueiredo
On Tue, 16 Oct 2012 11:30:49 -0300, Ken in Nashua wrote: Never, never ever use ${} expansions when passing parameters values. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

RE: EventLink parameters

2012-10-16 Thread Lance Java
eventlink.parameters MUST be either a Map or something that can be coerced to a Map eventlink.context MUST be either a collection or something that can be coerced to a collection (eg a single value) -- View this message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters

RE: EventLink parameters

2012-10-16 Thread Ken in Nashua
so context was the solution... i get my pagenumber in nicely to the handler thanks for helping : ) From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: EventLink parameters Date: Tue, 16 Oct 2012 10:28:38 -0400 Lance, jap slappin me is going to make me a better

RE: EventLink parameters

2012-10-16 Thread Ken in Nashua
o/examples/hibernatesecurity/components/Gallery.tml, line 46org.apache.tapestry5.ioc.util.UnknownValueExceptionCould not find a coercion from type java.lang.Integer to type java.util.Map. From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: EventLink parameters Date: Tue, 16 Oct 2012 00:2

RE: EventLink parameters

2012-10-16 Thread Lance Java
> but it also states that there is a bug with parameters I love it when people who don't understand something say it's broken public Map getFoo() { // return a map } ... -- View this message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters-tp5716874p5716

RE: EventLink parameters

2012-10-15 Thread Ken in Nashua
alright lance... your context works... but it also states that there is a bug with parameters... you hadnt mentioned that kcola...@live.com From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: EventLink parameters Date: Mon, 15 Oct 2012 17:43:37 -0400 Lance, this has

RE: EventLink parameters

2012-10-15 Thread Ken in Nashua
x27;}" parameters construct refuses to create the Map if I use a java method or try to dereference a java method kcola...@live.com From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: EventLink parameters Date: Mon, 15 Oct 2012 16:20:46 -0400 t:parameters=&

RE: EventLink parameters

2012-10-15 Thread Lance Java
Just write a getter (aka a property) public int getFoo() { // return some calculation using pageNum and index value } And call it in a template ... -- View this message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters-tp5716874p5716918.html Sent from the Tapestry

RE: EventLink parameters

2012-10-15 Thread Ken in Nashua
t:parameters="prop:{'pageNum':'indexValue'}" t:parameters="prop:{'pageNum':'${pageIndex}'}" Lance, thats just the problem... I did just that and it doesnt work. indexValue and pageIndex are both from within the java

RE: EventLink parameters

2012-10-14 Thread Lance Java
It looks like you're trying to do too much logic in a template again. Write a getter for your logic and access the simplified property in your template. -- View this message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters-tp5716874p5716886.html Sent from the Tap

RE: EventLink parameters

2012-10-13 Thread Ken in Nashua
event link parameters is very sensitive t:parameters="prop:{'pageNum':'indexValue'}" this compiles and runs but doesnt give me what i want t:parameters="prop:{'pageNum':'2'}" this compiles and runs but doesnt give me what i want t:parameters="prop:{'pageNum':'${pageIndex} + 2'}" t:parame

Re: EventLink parameters

2012-10-13 Thread Lance Java
is message in context: http://tapestry.1045711.n5.nabble.com/EventLink-parameters-tp5716874p5716875.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apac