Ah, though I realize you may not be on that list.

Have you tried setting up a destination for both Item and ItemPK and
then establish an association between the two types? This might not be
exactly correct, but something along these lines?

<destination id="Item">
    <properties>
        <metadata>
            <identity property="id"/> <!-- Not sure whether this can be
pk -->
            <one-to-many property="pk" destination="ItemPK" />
        </metadata>
     ...
    </properties>
...
</destination>
 

<destination id="ItemPK">
    <properties>
        <metadata>
            <identity property="code,seria"/>
        </metadata>
     ...
    </properties>
...
</destination>

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Farland
Sent: Thursday, March 09, 2006 3:02 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] dataService with pk

I'd suggest posting these sorts of questions to Adobe's Flex Enterprise
Beta list.

There's not enough information here to explain what you're trying to
achieve with DataService. 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Devis
Sent: Thursday, March 09, 2006 12:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] dataService with pk

Hi,
this my pojo class

public class ItemPK()
{
  private int code;
  private int seria;
......
}


public class Item{
 private ItemPK pk
 private String cdc;
 private String dsc;
......
}

what i'm writing into my flex-data-service
            <metadata>
                <identity property="pk.code"/> ???????????????????????
                <identity property="pk.seria"/> ???????????????????????
            </metadata>

Thank's for your help





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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