State List Drop Down

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

State List Drop Down

Ofbiz Learner
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
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Mridul Pathak-2
You will need to customized the code.
--
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
[hidden email]

On Wed, Sep 16, 2009 at 3:11 PM, Ofbiz Learner <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Vivek Mishra-2
In reply to this post by Ofbiz Learner
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
>
>  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Vivek Mishra-2
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
>>
>>  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Ofbiz Learner
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 <[hidden email]> 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
>>>
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

chandan khandelwal-2
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 <[hidden email]> 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
>>>>
>>>>
>>>>
>>>>        
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Abhijeet Pandey
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 <
[hidden email]> 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 <[hidden email]> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>
>>
>
>


--
Abhijeet Pandey
Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

chandan khandelwal-2
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 <
> [hidden email]> 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 <[hidden email]> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>      
>>    
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: State List Drop Down

Ofbiz Learner
Hi Abhijeet / Chandan/ Vivek /Mridul,

Thanks a lot.

Akhil.




On 9/16/09, chandan khandelwal <[hidden email]> 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 <
>> [hidden email]> 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 <[hidden email]> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>