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