You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "CJ Horton (JIRA)" <ji...@apache.org> on 2008/12/16 21:56:44 UTC

[jira] Created: (OFBIZ-2086) States/Provinces not displaying properly for country

States/Provinces not displaying properly for country
----------------------------------------------------

                 Key: OFBIZ-2086
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce
    Affects Versions: SVN trunk
            Reporter: CJ Horton
            Priority: Minor


https://demo.hotwaxmedia.com/ecommerce/control/newcustomer

The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.

 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Sumit Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657391#action_12657391 ] 

Sumit Pandit commented on OFBIZ-2086:
-------------------------------------

Recently a new code is added for createCustomer and manage customer functionality. That contains Ajax effect and more attractive UI.
Currently this code is commented. But you can use it in following way :- 

In CustomerScreens.xml
remove comment from line# 520 to #564
comment line # 43 to #78.

And then run following :
http://localhost:8080/ecommerce/control/newcustomer

You will get good results.

Thanks
Sumit Pandit

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2086.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

To be completed in another issue

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674057#action_12674057 ] 

Jacques Le Roux commented on OFBIZ-2086:
----------------------------------------

Hi Sumit,

Why these screend are commented out ? Shall we not put them in action ?

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by Brajesh Patel <br...@hotwaxmedia.com>.
+1 Sumit.
Thanks
Brajesh Patel
Sumit Pandit (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657369#action_12657369 ] 
>
> Sumit Pandit commented on OFBIZ-2086:
> -------------------------------------
>
> This is occurd due to following code in applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl file :-
>
>      function hideShowUsaStates() {
>          if (document.getElementById("customerCountry").value == "USA" || document.getElementById("customerCountry").value == "UMI") {
>              document.getElementById("customerState").style.display = "block";
>          } else {
>              document.getElementById("customerState").style.display = "none";
>          }
>      }
>
> which is invoked onClick of country list box.
>
> The code was committed by :-
> Author: lektran 
> Date: Thu Apr 10 02:22:31 2008
> New Revision: 646710
>
> Thanks
> Sumit Pandit
>
>   
>> States/Provinces not displaying properly for country
>> ----------------------------------------------------
>>
>>                 Key: OFBIZ-2086
>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>>             Project: OFBiz
>>          Issue Type: Bug
>>          Components: ecommerce
>>    Affects Versions: SVN trunk
>>            Reporter: CJ Horton
>>            Priority: Minor
>>
>> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
>> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
>> Potential areas to check:
>> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
>> framework/common/webcommon/includes/states.ftl
>> framework/common/src/org/ofbiz/common/CommonWorkers.java
>>  
>>     
>
>   


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Sumit Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657369#action_12657369 ] 

Sumit Pandit commented on OFBIZ-2086:
-------------------------------------

This is occurd due to following code in applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl file :-

     function hideShowUsaStates() {
         if (document.getElementById("customerCountry").value == "USA" || document.getElementById("customerCountry").value == "UMI") {
             document.getElementById("customerState").style.display = "block";
         } else {
             document.getElementById("customerState").style.display = "none";
         }
     }

which is invoked onClick of country list box.

The code was committed by :-
Author: lektran 
Date: Thu Apr 10 02:22:31 2008
New Revision: 646710

Thanks
Sumit Pandit

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666395#action_12666395 ] 

Scott Gray commented on OFBIZ-2086:
-----------------------------------

Just to clarify, I didn't commit this functionality, the commit Sumit refers to was just a bug fix for what was already there

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675332#action_12675332 ] 

Jacques Le Roux commented on OFBIZ-2086:
----------------------------------------

Please se my comments in https://issues.apache.org/jira/browse/OFBIZ-2000?focusedCommentId=12674942#action_12674942 and following

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659550#action_12659550 ] 

Jacques Le Roux commented on OFBIZ-2086:
----------------------------------------

Why don't we replace by new Wikas's code in trunk ?

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "Vikas Mayur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674158#action_12674158 ] 

Vikas Mayur commented on OFBIZ-2086:
------------------------------------

Hi Jacques,

Initially when we implemented the new one page checkout, we thought to improve the create profile and view profile screen in ecommerce as well.

Instead of replacing the existing screen, we decided to just add the new screens (for create profile, view profile, manage address) commented out so that any one who want to use them can do it by uncommenting the new screens and commenting out the old (existing) screens.

Actually, They are commented out until community accept them to make them the default screens.

So why not get a VOTE on this?

There would be few things breaking in the new code which can be fixed. There could be new features that can be incorporated like you addressed about adding few more payment methods in one page checkout.

> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2086) States/Provinces not displaying properly for country

Posted by "CJ Horton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

CJ Horton updated OFBIZ-2086:
-----------------------------

    Description: 
https://demo.hotwaxmedia.com/ecommerce/control/newcustomer

The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.

Potential areas to check:

applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
framework/common/webcommon/includes/states.ftl
framework/common/src/org/ofbiz/common/CommonWorkers.java

 

  was:
https://demo.hotwaxmedia.com/ecommerce/control/newcustomer

The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.

 


> States/Provinces not displaying properly for country
> ----------------------------------------------------
>
>                 Key: OFBIZ-2086
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2086
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: CJ Horton
>            Priority: Minor
>
> https://demo.hotwaxmedia.com/ecommerce/control/newcustomer
> The State/Province drop down only becomes active when 'United States' is selected as the country.  Every state and province for every country is displayed.  If you select a country other than the 'United States' no states/provinces are displayed.
> Potential areas to check:
> applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> framework/common/webcommon/includes/states.ftl
> framework/common/src/org/ofbiz/common/CommonWorkers.java
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.