Thank you Cezary! For the quick response and providing the insights. Indeed we are upgrading our tapestry from version 5.1.0.5 to the 5.4.
I will check our code . On Fri, May 27, 2016 at 2:38 PM, Cezary Biernacki <cezary...@gmail.com> wrote: > You are using Palette component from Tapestry. It has a parameter called > "selected" that must be provided with non-null value. In your case it is > bound to your "stores" field. You must ensure that "stores" is always > non-null. Note that, according to the documentation, before T5.4 "selected" > was allowed to be null, so if your application was working before with > Tapestry 5.3 (or older), you need to change your code appropriately. > > Best regards, > Cezary > > > > > > On Fri, May 27, 2016 at 7:55 PM, sheikh hossain <shossa...@gmail.com> > wrote: > > > Not sure what I am doing wrong. > > I am getting this exception from .tml file > > > > Parameter 'selected' of component zone/Edit:stores is bound to null. This > > parameter is not allowed to be null. > > > > In my .tml file I have > > > > > > <style> > > DIV.t-palette SELECT { width: 300px; } > > </style> > > > > > > - - - - - > > > > - - - - - > > > > <t:palette t:id="stores" selected="stores" encoder="storeEncoder" > > model="storesModel" > > > > t:deselect="context:images/arrow_left_new.png" validate="required" > > > > t:select="context:images/arrow_right_new.png" > > > > > > > In my java class I have: > > > > @Property > > private List<Store> stores; // Store is a simple pojo > > > > The class doesn't have any 'selected' variable but does have some > > 'onSelectedXXXX' method. > > > > > > I have checked other posts related to the same issue but those are not > > exactly the same problem. > > I will appreciate any suggestion. > > > > Thanks. > > >