Re: T5 Select Menu with Other Option

2011-06-30 Thread George Christman
.parseLong(clientValue)) { return _funding; } } } return null; } }; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Ot

Re: T5 Select Menu with Other Option

2011-06-27 Thread George Christman
} return null; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-Option-tp4520881p4529383.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
On Fri, 24 Jun 2011 15:48:08 -0300, George Christman wrote: List _fundings = session.createCriteria(Funding.class).add(Restrictions.eq("purchaseRequest.id", purchaseRequest.getId())).list(); NEW_FUNDING.setName(NEW_FUNDING_NAME); NEW_FUNDING.setId(OTHER_ID); _f

Re: T5 Select Menu with Other Option

2011-06-24 Thread George Christman
$HttpServletRequestHandler_130c294ab29.java) * $HttpServletRequestHandler_130c294ab23.service($HttpServletRequestHandler_130c294ab23.java) * org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
On Fri, 24 Jun 2011 13:34:59 -0300, George Christman wrote: Seems like we are super close now. Hopefully I'm doing this correctly List _fundings = session.createCriteria(Funding.class).add(Restrictions.eq("purchaseRequest.id", purchaseRequest.getId())).list(); _fundings.add(

Re: T5 Select Menu with Other Option

2011-06-24 Thread George Christman
completed. Once again, thanks so much! -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-Option-tp4520881p4521568.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
On Fri, 24 Jun 2011 12:35:51 -0300, George Christman wrote: void onPrepareFromPR() { List _fundings = session.createCriteria(Funding.class).add(Restrictions.eq("purchaseRequest.id", purchaseRequest.getId())).list(); funding = new Funding(); funding.setName(NEW_FU

Re: T5 Select Menu with Other Option

2011-06-24 Thread George Christman
} } return newLineItemFunding; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-Option-tp4520881p4521396.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
On Fri, 24 Jun 2011 10:57:43 -0300, George Christman wrote: Would you mind elaborating a bit on getting the Funding ValueEncoder from ValueEncoder source, or point me to an example? I'm not very familiar with the ValueEncoder and not finding much doc on your method. Something like this (n

Re: T5 Select Menu with Other Option

2011-06-24 Thread George Christman
e.com/T5-Select-Menu-with-Other-Option-tp4520881p4521089.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
On Fri, 24 Jun 2011 10:23:53 -0300, George Christman wrote: Hi Thiago, Hi! You are correct with it being done by the ValueEncoder tapestry-hibernate automatically which is why I'm receiving that error. Not entirely sure how to get around it. I'd get the Funding ValueEncoder from Value

Re: T5 Select Menu with Other Option

2011-06-24 Thread George Christman
rs, George -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-Option-tp4520881p4520995.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: us

Re: T5 Select Menu with Other Option

2011-06-24 Thread Thiago H. de Paula Figueiredo
Hi! On Fri, 24 Jun 2011 09:44:42 -0300, gchristman wrote: Hello, I'm trying to add an "other" option to my select menu and have the other option trigger a zone reload when selected. I get the following error [ERROR]entities.Funding Unable to convert client value '-1' into an entity ins

T5 Select Menu with Other Option

2011-06-24 Thread gchristman
easily return a zone and further enrich our interfaces. Any help with this issue would be greatly appreciated. Cheers, George -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-Menu-with-Other-Option-tp4520881p4520881.html Sent from the Tapestry - User mailing