Thank you for the right direction... I tried that out and with little adjustments.. It works all fine.. -sunil
Daniel Jue wrote: > > I think you want to re-initialize the selection models in your > pagebeginrender, and if the selection model changes, reset the > selected object to something sensible, like the first element, or > possibly null (no selection) > > > > On 5/25/07, sunilmanu <[EMAIL PROTECTED]> wrote: >> >> Hi everyone, >> >> I am also trying to work out 3 selects [COMPANY, DEPARTMENT, EMPLOYEES] >> (tried using with Tacos Ajax and simple Tapestry).Way it works is, when >> user >> Selects an option in COMPANY, it Displays All the available DEPARTMENTS. >> When the User selects a DEPARTMENT, it displays all the EMPLOYEES in that >> department. Basically I use this to filter out our resultsets. >> >> now the issue is when the user goes back and selects a Different option >> in >> the COMPANY. This generates different resultset (say very small with 2 or >> 3 >> records). If the previously selected item for DEPARTMENT was say at index >> # >> 10. So now when the Tapestry Form REWINDS, it somehow tries to match the >> OLD >> index value with the NEW Resultset. Since the new resultset contains only >> 2 >> or 3 values, it complains about the ArrayIndexOutOfBound Exception ?? Do >> I >> have to manually do some Plumbing into the cycle and modify the component >> ?? >> >> any direction would help..! >> >> I am using Tapestry 4.0.2 and tacos4.0.1. Is there any issue with the >> versions compatibility ? >> >> Thanks, >> Sunil >> -- >> View this message in context: >> http://www.nabble.com/Issue-with-3-cascade-tapestry-selects-tf3816339.html#a10803699 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Issue-with-3-tapestry-selects--propertyselects-tf3816339.html#a10810405 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]