[jboss-user] [JBoss Seam] - Re: Remoting problem: object as param not passed

enazareno do-not-reply at jboss.com
Thu Mar 8 07:09:14 EST 2007


Hi Shane,

    In relation to this, if the JavaBean is not marked as @Entity, only the string is carried, the other properties like Double values are null. Here is my class


  | @Name("sendoutFact")
  | public class SendoutFact implements Serializable{
  | 
  |      private String agent;
  |      private Double principal;
  | 
  |      public Double getPrincipal() {
  |         return principal;
  |      }
  | 
  |     public void setPrincipal(Double principal) {
  |         this.principal = principal;
  |     }     
  | 
  |     public String getAgent() {
  |         return agent;
  |     }
  | 
  |     public void setAgent(String agent) {
  |         this.agent = agent;
  |     }
  | }
  | 

    In the javascript it outputs the Double value as number, but when it reaches the server it is null. However like in this thread, if I mark it as an entity, everything is OK. Have this issue already been solved? 

Regards,

Elmo






View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026216#4026216

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026216



More information about the jboss-user mailing list