Ravi thank you.
I got it working. One thing is still missing, how do I extract the
variable name in the parameter ?  See the comments.

<actions>
    <entity-condition entity-name="Product">
        <order-by field-name="internalName" />
            </entity-condition>
                <service service-name="findPartiesById" result-map="myParty">
                <!-- I have the value hard coded to 10000, but I want to
                use the manufacturerPartyId. -->
                <field-map field-name="idToFind" value="10000" /> 
        </service>
    <set field="manufacturerDescription" 
value="${myParty.party['description']}" />
</actions>

Thank you.

On Mon Sep 06,2010 10:24 am, Ravindra Mandre wrote:
> Hi,
> 
> I have not gone through all posting but based on your last post I am only
> getting the idea that you are getting a generic value of party and also
> getting the createdByUserLogin value as admin , so simply you can get the by
> party.createdByUserLogin .
> 
> 
> 
> 
> Ravi
> 
> 
> On Sun, Sep 5, 2010 at 1:43 PM, Mansour Al Akeel
> <[email protected]>wrote:
> 
> > To clarify my issue, the code I have posted results in a field showing
> > the who map (or list). What I need is a single value only from this map.
> > Here's an example output:
> > {responseMessage=success,
> > party=[GenericEntity:Party][createdByUserLogin,admin(java.lang.String)][createdDate,2010-08-30
> > 19:49:06.594(java.sql.Timestamp)][createdStamp,2010-08-30
> >    19:49:06.663(java.sql.Timestamp)][createdTxStamp,2010-08-30
> > 19:49:06.594(java.sql.Timestamp)][dataSourceId,null()][description,SomeManufacturer
> >
> >  
> > manufacturer(java.lang.String)][externalId,null()][isUnread,null()][lastModifiedByUserLogin,admin(java.lang.String)][lastModifiedDate,2010-08-30
> >    19:49:06.594(java.sql.Timestamp)][lastUpdatedStamp,2010-09-04
> > 10:01:11.346(java.sql.Timestamp)][lastUpdatedTxStamp,2010-09-04
> >
> >  
> > 10:01:11.22(java.sql.Timestamp)][partyId,10000(java.lang.String)][partyTypeId,PARTY_GROUP(java.lang.String)][preferredCurrencyUomId,USD(java.lang.String)][statusId,PARTY_ENABLED(java.lang.String)],
> >    partiesFound={}}
> >
> >
> >

Reply via email to