Hi Abhijeet / Chandan/ Vivek /Mridul, Thanks a lot.
Akhil. On 9/16/09, chandan khandelwal <[email protected]> wrote: > > Hi Abhijeet, > > yes you are right, > pass countryGeoId as a parameter in getAssociatedStateList ,which return > state list of associated country. > > Chandan Khandelwal > > Abhijeet Pandey wrote: > >> If i am not wrong this changes has to be made from ftl file. >> this will pass the parameter as "IND" and will show the states which are >> associated with it. >> >> like states.ftl. >> >> Hope i am right. >> >> Thanks, >> >> Abhijeet >> >> On Wed, Sep 16, 2009 at 3:45 PM, chandan khandelwal < >> [email protected]> wrote: >> >> >> >>> You can use this code as a reference >>> >>> >>> >>> Static["org.ofbiz.common.CommonWorkers"].getAssociatedStateList(delegator,"IND") >>> >>> Chandan Khandelwal >>> >>> >>> >>> Ofbiz Learner wrote: >>> >>> >>> >>>> Can someone plz help me with the code. >>>> >>>> That how i can pass india as parameter and get the desried result. >>>> >>>> Thanks, >>>> >>>> Akhil >>>> >>>> >>>> On 9/16/09, Vivek Mishra <[email protected]> wrote: >>>> >>>> >>>> >>>> >>>>> If you have to see the implementation of this method then search >>>>> geoAutoCompleter.js file. >>>>> >>>>> -- Vivek >>>>> >>>>> Vivek Mishra wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Hi Akhil, >>>>>> >>>>>> In this case you have to pass India's countryGeoId to the method >>>>>> "getAssociatedStateList". >>>>>> Search this method in checkoutProcess.js file. >>>>>> >>>>>> Thanks! >>>>>> -- Vivek >>>>>> >>>>>> Ofbiz Learner wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I am new to ofbiz and hope to get help from the forum. >>>>>>> >>>>>>> what i want to do that while registering or while adding a shipping >>>>>>> address, >>>>>>> i want to show states of india only as shipping is allowed in india >>>>>>> only. >>>>>>> is that configured or does it required changes in code ? >>>>>>> >>>>>>> What needs to be done for that. >>>>>>> can someone help me out with this. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Akhil >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>> >>> >>> >> >> >> >> > >
