Hi Naveen,
You can use <entity-and> to get the list of products.
<set field="productId"
from-field="parameters.productId"/>
<entity-and entity-name="Product" list="products">
<field-map field-name="productId"/>
<order-by field-name="fromDate"/>
</entity-and>
--
Thanks & Regards,
Pankaj Savita
Mob: +91 9890262476
Mail to:
[hidden email]
On Mon, Sep 27, 2010 at 6:13 PM, Jacques Le Roux <
[hidden email]> wrote:
> Have a look at the dependent dropdown in widget examples screen.
>
> Jacques
>
> From: "Naveen Kumar" <
[hidden email]>
>
> Hi All,
>>
>> I have a scenario, where i want to fetch a list of values for a form
>> field,
>> based on the value in the previous field,
>> can anyone suggest me how to implement this one.
>>
>> For Example:- In sales order creation, based on productId, I want a list
>> of
>> values, associated to that product,
>> which will be dropdown values for another field in the same form.
>>
>> Regards,
>> Naveen.
>>
>>
>