Re: How to return multiple values with ajax select
I'm assuming it hasn't been upgraded to run on 5.4 yet? :-( Nope, it's on my todo list (which has been growing since the arrival of a new baby). There's 20 lines of javascript so I'm sure you can make it jquery / requireJS friendly in no time ;) You have some nice components too. Thanks
Re: How to return multiple values with ajax select
Awesome, congrats on the new addition to the family. Yes I'll take a look at it over the weekend, if I'm able to get to it, I'll send you back the code. On Fri, Mar 7, 2014 at 11:34 AM, Lance Java lance.j...@googlemail.comwrote: I'm assuming it hasn't been upgraded to run on 5.4 yet? :-( Nope, it's on my todo list (which has been growing since the arrival of a new baby). There's 20 lines of javascript so I'm sure you can make it jquery / requireJS friendly in no time ;) You have some nice components too. Thanks -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York
Re: How to return multiple values with ajax select
Use my onevent mixin http://tapestry-stitch.uklance.cloudbees.net/oneventdemo You can send as many clientside field values as you want in the serverside event. See the group of fields demo for an example.
Re: How to return multiple values with ajax select
Thanks lance, I won't get a chance to try it until tonight, but does it work with select menu's? On Thu, Mar 6, 2014 at 4:14 AM, Lance Java lance.j...@googlemail.comwrote: Use my onevent mixin http://tapestry-stitch.uklance.cloudbees.net/oneventdemo You can send as many clientside field values as you want in the serverside event. See the group of fields demo for an example. -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York
Re: How to return multiple values with ajax select
Yeah, it uses prototype's getValue() which works for all field types. There's a name clash to watch out for. Both select and onevent accept a zone parameter. From memory there's an option to qualify parameter names with the mixin name.
Re: How to return multiple values with ajax select
I'm assuming it hasn't been upgraded to run on 5.4 yet? :-( You have some nice components too. On Thu, Mar 6, 2014 at 5:53 PM, Lance Java lance.j...@googlemail.comwrote: Yeah, it uses prototype's getValue() which works for all field types. There's a name clash to watch out for. Both select and onevent accept a zone parameter. From memory there's an option to qualify parameter names with the mixin name. -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York
How to return multiple values with ajax select
Hi guys, I have the following scenario, Five drop down menus chained together Category, Year, Make, Model, Trim Each select menu is an ajax select menu designed to narrow down the result set. I'm looking for ideas or a solution that would enable me to narrow down the result set beyond one menu. Currently I'm able to set a class property with the previous select menu and read the property from with the following select menu, however I lose the first one with the select. Does anybody know how to do this without the use of @Persist? I was almost thinking of something like an actionlink where you can have multiple context values, but instead concatenated in the select option value, but that seems very inefficient. The other thought I had was to set the previous values in a hidden field. Does anybody have any suggestions? -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York