[jboss-user] [JBossWS] - Re: [JBossWS 2.0.1] Unmarshall POJO field with protected set

2007-10-11 Thread Jeilong
Solved it by explicitly instructing JAXB to serialize the id field. Still, seems like a weird design decision that the defaults don't process protected setters. @XmlElement | private Long fooId; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093956#4093956

[jboss-user] [JBossWS] - [JBossWS 2.0.1] Unmarshall POJO field with protected setter

2007-10-10 Thread Jeilong
I have a SLSB with @WebService. I find that pojos have their @Id field set to null when marshalled despite it have a value in the SLSB. In the code fragment below you can see the field has a protected setters. When this signature is changed to public it works as expected. Problem is that, by

[jboss-user] [JBoss Seam] - [2.0.0.CR1] selectManyListbox + convertEntity yields convers

2007-10-01 Thread Jeilong
When selecting two items from selectManyListbox I get the following validation error: anonymous wrote : Conversion Error setting value '7 9' for '#{workgroupSelectedStudents}'. Evidently person with Id 7 and 9 were selected, but what is causing this validation error? I tried overriding

[jboss-user] [JBoss Seam] - Re: [2.0.0.CR1] selectManyListbox + convertEntity yields con

2007-10-01 Thread Jeilong
Oops, meant to say Deploying this with 2.0.0.CR1, not 2.0.0.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090268#4090268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090268

[jboss-user] [JBoss Seam] - Target Unreachable, identifier 'expre' resolved to null

2007-08-06 Thread Jeilong
I'm tearing my hair out over this simple thing I'd like to do: a conversation spanning two pages. Basically I have a table in which the user can click edit on a certain row. This will redirect the user to an edit page and the edit page gets populated with the selected item. So far so good. Upon

[jboss-user] [EJB 3.0] - @Enumerated with non-ordinal enumeration

2006-12-13 Thread Jeilong
Given this enumeration: | public enum Gender { | | MALE (M), FEMALE (F); | | private String codeInDatabase; | | private Gender(String codeInDatabase) { | this.codeInDatabase = codeInDatabase; | } | | public String