Re: How to fill values for DropDown dependent on another DropDown selected value?

2010-02-03 Thread Awdesh Parihar
Hello Sara,

On change of Drop-down1(Product Category) , send a Ajax request. Ajax
request will fetch list of Product Name and  populate returned lint in
Drop-down 2 .

-- 
--
Thanks  Regards
Awdesh Singh Parihar
Hotwax Media
http://www.hotwaxmedia.com
awdesh.pari...@hotwaxmedia.com
-
direct: +91 - 989.335.1789


Re: How to fill values for DropDown dependent on another DropDown selected value?

2010-02-03 Thread Rishi Solanki
Refer getAssociatedStateList function in geoAutoCompleter.js, it get the
associated states on the basis of country. To see how it works go to
OnePageCheckout in ecommerce.
Better ask such questions on user list.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Wed, Feb 3, 2010 at 1:56 PM, Awdesh Parihar awdesh.hot...@gmail.comwrote:

 Hello Sara,

 On change of Drop-down1(Product Category) , send a Ajax request. Ajax
 request will fetch list of Product Name and  populate returned lint in
 Drop-down 2 .

 --
 --
 Thanks  Regards
 Awdesh Singh Parihar
 Hotwax Media
 http://www.hotwaxmedia.com
 awdesh.pari...@hotwaxmedia.com
 -
 direct: +91 - 989.335.1789



How to fill values for DropDown dependent on another DropDown selected value?

2010-02-02 Thread sara

Hi,

I need to write a code in OFBIZ for fill the value in dropdown2 dependent on
dropdown1 selected value .

For example:
I have 2 Drop-downs in a form like,
Product Category is Drop-down1
Product Name is Drop-down 2

If we selected particular product category that product name will be loaded
in the automatically.


Please help me to do this.

Thanks
Saravanan



-- 
View this message in context: 
http://n4.nabble.com/How-to-fill-values-for-DropDown-dependent-on-another-DropDown-selected-value-tp1460097p1460097.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: How to fill values for DropDown dependent on another DropDown selected value?

2010-02-02 Thread zca3

you can check in ftl files . similar type of code are available. Just
populate the  product category in a list then go for populating the
respective product in a sublist. but can not help you writing the exact
code.
-- 
View this message in context: 
http://n4.nabble.com/How-to-fill-values-for-DropDown-dependent-on-another-DropDown-selected-value-tp1460097p1460294.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.