Hi Adbul,

recompile = true didn't help, seems to be something different. Here is 
one of my Java VOs:

public class OgoPersonUebersVO implements Serializable{
   
    private String id;
    //Map adresse;
    private String vorname;
    private String nachname;
    //Map telefone;
    private String anrede;
    private OgoPhoneVO tel;
    private String email;
    private OgoAdressVO adresse = null;
   
    // Telefon - Map
    protected static String TELEFON1         = "01_tel";
    protected static String TELEFON2         = "02_tel";
    protected static String FAX            = "10_fax";
    protected static String MOBIL            = "03_tel_funk";
    protected static String TEL_PRIVAT    = "05_tel_private";
    protected static String FAX_PRIVAT    = "15_fax_private";
 
    // erweiterte Attribute Map
    protected static String JOB_TITLE     = "job_title";
    protected static String TITLE1        = "other_title1";
    protected static String TITLE2        = "other_title2";
    protected static String MAIL1            = "email1";
    protected static String MAIL2            = "email2";
    protected static String MAIL3            = "email3";
   
    public OgoPersonUebersVO(){}
   
    public OgoPersonUebersVO(Person arg) throws OgoException, 
ConnectionException{
        this.id                     = arg.getId();
        //this.adresse                 = arg.getAddresses();
        this.vorname                = arg.getFirstName();
        this.nachname                = arg.getLastName();
        //this.telefone                = arg.getPhones();
        this.anrede                    = arg.getSalutation();
       
        // Telefonnummer
        this.tel                    = new 
OgoPhoneVO((Phone)arg.getPhones().get(TELEFON1));
        // Email
        this.email                    = (String) 
arg.getExtendedAttributs().get(MAIL1);
        // Adresse
        if(arg.getAddresses().get("location")!=null)
        this.adresse                = new 
OgoAdressVO((Address)arg.getAddresses().get("location"));
    }
   
/*    public void setAdresse(Map arg){
        this.adresse = arg;
    }
   
    public Map getAdresse(){
        return this.adresse;
    }*/
       
    public void setVorname(String arg){
        this.vorname = arg;
    }
   
    public String getVorname(){
        return this.vorname;
    }
   
    public void setNachname(String arg){
        this.nachname = arg;
    }
   
    public String getNachname(){
        return this.nachname;
    }
   
/*    public void setTelefone(Map arg){
        this.telefone = arg;
    }
   
    public Map getTelefone(){
        return this.telefone;
    }*/
   
    public void setAnrede(String arg){
        this.anrede = arg;
    }
   
    public String getAnrede(){
        return this.anrede;
    }
       
    public void out(){
        System.out.println("PersonenId: "+this.id);
        System.out.println("Name: "+this.vorname+" "+this.nachname);
        System.out.println("Anrede: "+this.anrede);
        System.out.print("Telefon: ");this.tel.out();
        System.out.println("E-Mail: "+this.email);
        System.out.println("Adresse: ");
        if(this.adresse!=null)adresse.out();
       
    }
   
}

And here is what Java2AS says:

class ogo.OgoPersonUebersVO {

    public var anrede : String;
    public var nachname : String;
    public var vorname : String;

    public var _remoteClass : String;

    public function OgoPersonUebersVO() {
        _remoteClass="ogo.OgoPersonUebersVO";
    }

}

Greets
Christoph

Abdul Qabiz wrote:
> Hi Christophe,
>
> Try to force recompile your application by appending "recompile=true" 
> to URL, for example:
>
> http://www.yourserver.com/app.mxml?recompile=true
>
> If that too doesn't work, then there is some other issue...
>
> -abdul
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> On Behalf Of Christoph Guse
> Sent: Friday, May 27, 2005 5:15 PM
> To: [email protected]
> Subject: [flexcoders] VO problem
>
> Hi List,
>
> I have some problems with my ValueObjects. First I give you my system
> configuration:
>
> SuSE Linux 9.2
> Tomcat 5.5.7
> Flex 1.5
> Eclipse 3
> Java 1.5
>
> In my application I have Java Value Objects on the server side and I
> mapped them to my ActionScript 2.0 with Object.registerClass().
> My problem is FLEX seems not to notice changes on the Java Value
> Objects. If I add a variable to the Java VO and the AS2 VO FLEX doesn't
> show it. I started tomcat again, no change.
> To check if I did the AS2 VOs correctly I used Java2AS written by
> Christophe Conraets. Here is the same effect. I change the Java VO,
> restart FLEX and Java2AS shows no change. I checked the class file
> created by Java, the changes are in there. The Java VO works fine in
> Java, every change is in it and the class file is composed in the
> WEB-INF/classes directory of my FLEX app.
> I'm a little bit confused. Is there any cache or something like that I
> can delete? Or is there anything in the flex-config.xml I didn't notice?
>
> I appreciate for any help.
>
> Greets
> Christoph
>
> -- 
> ****************************************
> Christoph Guse
> L�hstra�e 34
> 41747 Viersen
> Tel.  0 21 62 / 50 24 066
> Mobil   01 72 / 160 74 84
> VoIP  0 12 12 / 39 64 48 831
> ****************************************
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/flexcoders/
>        
>     * To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 
****************************************
 Christoph Guse
 L�hstra�e 34
 41747 Viersen
 Tel.  0 21 62 / 50 24 066
 Mobil   01 72 / 160 74 84
 VoIP  0 12 12 / 39 64 48 831
****************************************



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to