-
1. Re: conversion support for selectManyCheckbox?
fhh May 7, 2007 1:08 PM (in response to hstang)You have to specify the entity class for selectMany.
See <s:convertEnitity /> docs.
Regards
Felix -
2. Re: conversion support for selectManyCheckbox?
hstang May 7, 2007 2:09 PM (in response to hstang)Where do you do that?
The docs says for s:convertEntity "Assigns an entity converter to the current component. This is primarily useful for
radio button and dropdown controls."
As well, ConvertEntity doesn't know anything about converting to a list, which is what I need in this case. -
3. Re: conversion support for selectManyCheckbox?
pmuir May 7, 2007 2:56 PM (in response to hstang)You used to have to, but you don't anymore. There is an example using a selectMany in the ui example (n.b. it doesn't matter if its checkboxes or a list - they are the same in JSF). Does a dropdown list work?
-
4. Re: conversion support for selectManyCheckbox?
hstang May 7, 2007 3:37 PM (in response to hstang)OK...
I looked at the UI example, and fair-enough it works. However, it works for a List implementation. The conversion error I encountered was when I had a Set implementation (see above).
So the quick fix was to change my implementation to List. Is this really necessary? -
5. Re: conversion support for selectManyCheckbox?
pmuir May 7, 2007 3:42 PM (in response to hstang)Can you add a jira issue, I'll take a look.
-
6. Re: conversion support for selectManyCheckbox?
hstang May 7, 2007 3:59 PM (in response to hstang)Thanks Peter, appreciated.
http://jira.jboss.com/jira/browse/JBSEAM-1302