Whatever are the primary keys of the entity DataResource, will be searched in the "context".

Why primary keys? because you are using entity-ONE.

And the context is where you are setting variables, dataResourceId in line 1, currentValue in line 2 and dataResource in line 3.

On Mon, 07 Jan 2013 11:49:20 +0530, Winster Jose <wins...@chathurangam.net> wrote:

Hi,

Can anyone please help me to understand below xml?

Please correct me if I am wrong. "dataResourceId" is taken from parameters and set to field "dataResourceId". And DataResource entity is fetched (but
which will act as primary key here?) and set to field "currentValue" and
later "currentValue" is assigned to another field "dataResource".

<set field="dataResourceId" from-field="parameters.dataResourceId"/>
<entity-one entity-name="DataResource" value-field="currentValue"/>
<set field="dataResource" from-field="currentValue"/>


Regards
Winster T Jose
Director - Technology and Architecture
Chathurangam Creative Solutions Private Ltd.
Cell: +91-98469 31020
Mail: wins...@chathurangam.net


--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to