[T5] Palette keeps resetting order of selected values on page reload in 5.0.18

2009-03-17 Thread Thomas Meier
Hello, I'm experiencing a problem with tapestry's palette component. I'm using it with the reorder parameter set to true. Reordering the selected values works fine and the values are sent to the server in the expected order. However, if the page reloads and I submit the containing form again witho

Re: [T5] Palette NPE

2008-12-04 Thread zack1403
>>>> Zack >>>> >>>> >>>> Nicolas Charles wrote: >>>> > >>>> > I just had this issue; it was because the object overrided the >>>> "equals" >>>> > method, but not "hashCode", hence th

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
issue; it was because the object overrided the >>> "equals" >>> > method, but not "hashCode", hence the selected object couldn't be >>> found >>> > in the selected set. >>> > >>> > Nick >>> > >&g

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
ixes it. Thanks! >> >> Zack >> >> >> Nicolas Charles wrote: >> > >> > I just had this issue; it was because the object overrided the "equals" >> > method, but not "hashCode", hence the selected object couldn't be foun

Re: [T5] Palette NPE

2008-12-03 Thread James Hillyerd
w up if that fixes it. Thanks! > > Zack > > > Nicolas Charles wrote: > > > > I just had this issue; it was because the object overrided the "equals" > > method, but not "hashCode", hence the selected object couldn't be found > > in the selecte

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
> Nick > > -- View this message in context: http://www.nabble.com/-T5--Palette-NPE-tp20652729p20819782.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL P

Re: [T5] Palette NPE

2008-12-01 Thread Nicolas Charles
I just had this issue; it was because the object overrided the "equals" method, but not "hashCode", hence the selected object couldn't be found in the selected set. Nick zack1403 wrote: Bump for help on this? Is the because genericSelectModel.getOptionGroups returns null? This occurs in

Re: [T5] Palette NPE

2008-11-29 Thread zack1403
code below: > > selectEncoder = new > GenericValueEncoder(this.spreadsheetHeaders); > selectModel = new GenericSelectModel(this.spreadsheetHeaders, > StringBean.class, "value", "value", propertyAccess); > > Am I using this correctly? > > Thanks, > Zack > -

[T5] Palette NPE

2008-11-23 Thread zack1403
this message in context: http://www.nabble.com/-T5--Palette-NPE-tp20652729p20652729.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T5] Palette & OptionGroup

2008-10-24 Thread Christoph Jäger
Hi, I recently tried out the palette with option groups. The "available" list should look like: Austria Linz Salzburg Vienna Germany Berlin Frankfurt München USA Illinois Kansas City New York This renders ok. But here support for option groups ends. What would be nice:

Re : T5: Palette and JWebUnit

2008-08-11 Thread Julien HENRY
ugin/) Regards, Julien - Message d'origine De : Michael Capper <[EMAIL PROTECTED]> À : users@tapestry.apache.org Envoyé le : Mardi, 5 Août 2008, 15h06mn 19s Objet : T5: Palette and JWebUnit Hi, finally i've been allowed to look into Autamated Testing, and chose JWebUnit wit

T5: Palette and JWebUnit

2008-08-05 Thread Michael Capper
Hi, finally i've been allowed to look into Autamated Testing, and chose JWebUnit with HttpUnit. Then after building some successful test for login and entering some data, i failed writing a working test against a beaneditform with a Tapestry Palette. Short form of the test: setWorkingForm("...")

T5 palette problem - disabled buttons

2008-07-25 Thread Janko Muzykant
drawn by ajax request. tapestry version - 5.0.13. browsed with firefox. regards, jm. -- View this message in context: http://www.nabble.com/T5-palette-problem---disabled-buttons-tp18651089p18651089.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5: Palette

2008-03-13 Thread Gabriel Landais
Weisu a écrit : Hi Gabriel, Could you help me on ValueEncoder? The data is return from database as a List. My palette component is like this: My class is like this: @Persist private List districts; public List getDistricts() {return districts;} public void setDistricts(List districts) {this.

Re: T5: Palette

2008-03-13 Thread Weisu
Hi Gabriel, Could you help me on ValueEncoder? The data is return from database as a List. My palette component is like this: My class is like this: @Persist private List districts; public List getDistricts() {return districts;} public void setDistricts(List districts) {this.districts = distr

Re: T5: Palette

2008-02-08 Thread Daniel Pinheiro
OK, thank you Gabriel. maybe your answer can help me. Gabriel Landais wrote: > > Daniel Pinheiro a écrit : >> How can i use palette with data from DataBase? Can someone help me? >> > I had some troubles with JPA too. If you use one request to retrieve all > elements and another one for se

Re: T5: Palette

2008-02-08 Thread Gabriel Landais
Daniel Pinheiro a écrit : How can i use palette with data from DataBase? Can someone help me? I had some troubles with JPA too. If you use one request to retrieve all elements and another one for selected elements, it will not be same instances in both case. So for each Palette, I have spe

T5: Palette

2008-02-07 Thread Daniel Pinheiro
How can i use palette with data from DataBase? Can someone help me? -- View this message in context: http://www.nabble.com/T5%3A-Palette-tp15347141p15347141.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: T5: Palette does not retrieved the latest object from DB

2007-12-26 Thread Joshua Jackson
Thanks Sven, This approach works best. I also like the code better than the first approach. Cheers On 12/21/07, Sven Homburg <[EMAIL PROTECTED]> wrote: > here an other approche: > >@Persist("flash") >private DatasourceSelectModel _datasourceSelectModel; > >@SetupRender >public vo

Re: T5: Palette does not retrieved the latest object from DB

2007-12-21 Thread Sven Homburg
ess, false); } public SelectModel getDatasourceModel() { return _datasourceSelectModel; } best regards S.Homburg Joshua Jackson schrieb: Dear all, I have used the T5 palette component that use list of object that is retrieved from database. So the item under the 'available

Re: T5: Palette does not retrieved the latest object from DB

2007-12-21 Thread Sven Homburg
t, _propertyAccess, false); } best regards S.Homburg Joshua Jackson schrieb: Dear all, I have used the T5 palette component that use list of object that is retrieved from database. So the item under the 'available' is retrieved from the database. That way I expect when I move it to

T5: Palette does not retrieved the latest object from DB

2007-12-21 Thread Joshua Jackson
Dear all, I have used the T5 palette component that use list of object that is retrieved from database. So the item under the 'available' is retrieved from the database. That way I expect when I move it to the 'selected' then update it to the database, it would not be availab

T5 Palette required validation problem

2007-07-10 Thread Foror
Client side validation don't working. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]