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
>>>> Zack
>>>>
>>>>
>>>> Nicolas Charles wrote:
>>>> >
>>>> > I just had this issue; it was because the object overrided the
>>>> "equals"
>>>> > method, but not "hashCode", hence th
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
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
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
> 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
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
code below:
>
> selectEncoder = new
> GenericValueEncoder(this.spreadsheetHeaders);
> selectModel = new GenericSelectModel(this.spreadsheetHeaders,
> StringBean.class, "value", "value", propertyAccess);
>
> Am I using this correctly?
>
> Thanks,
> Zack
>
-
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]
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:
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
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("...")
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
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.
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
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
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
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.
--
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
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
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
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
Client side validation don't working.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
23 matches
Mail list logo