[jira] Created: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

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

Re: [jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Richa Goyal
Hi Jacques,
       When the customer tries to enter existing username in New
Customer Page, then on losing focus  from the text field , associated js
is called and message gets displayed using UI Label.

Jacques Le Roux (JIRA) wrote:

>     [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674527#action_12674527 ]
>
> Jacques Le Roux commented on OFBIZ-2000:
> ----------------------------------------
>
> Hi Richa,
>
> I can't see how to test this from the UI, please advice, thanks
>
>  
>> Added check availability functionality on new create profile page of e commerce.
>> --------------------------------------------------------------------------------
>>
>>                 Key: OFBIZ-2000
>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>>             Project: OFBiz
>>          Issue Type: New Feature
>>          Components: ecommerce
>>            Reporter: Rishi Solanki
>>            Assignee: Jacques Le Roux
>>            Priority: Minor
>>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>>
>>
>> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
>> Affected files for this feature are ;
>> CustomerEvents.xml ----> ecommerce
>> profile.js ---> ecommerce
>> NewCustomer.ftl ---> ecommerce (for new one)
>> Regards
>> - Rishi Solanki
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Richa Goyal
    One more thing this functionality has been done for NewCustomer.ftl
(new) instead of newcustomer.ftl in ecommerce. For this,as we have
double occurrence of newcustomer and viewprofile screens in
CustomerScreens.xml, so please comment the former screens & uncomment
the later ones.

Thanks
-- Richa

Richa Goyal wrote:

> Hi Jacques,
>       When the customer tries to enter existing username in New
> Customer Page, then on losing focus  from the text field , associated
> js is called and message gets displayed using UI Label.
>
> Jacques Le Roux (JIRA) wrote:
>>     [
>> https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674527#action_12674527 
>> ]
>> Jacques Le Roux commented on OFBIZ-2000:
>> ----------------------------------------
>>
>> Hi Richa,
>>
>> I can't see how to test this from the UI, please advice, thanks
>>
>>  
>>> Added check availability functionality on new create profile page of
>>> e commerce.
>>> --------------------------------------------------------------------------------
>>>
>>>
>>>                 Key: OFBIZ-2000
>>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>>>             Project: OFBiz
>>>          Issue Type: New Feature
>>>          Components: ecommerce
>>>            Reporter: Rishi Solanki
>>>            Assignee: Jacques Le Roux
>>>            Priority: Minor
>>>         Attachments: CheckAvailUsername.patch,
>>> CheckAvailUsername.patch, CheckAvailUserName.patch,
>>> CheckAvailUserName.patch, CheckAvailUserName.patch,
>>> CheckAvailUserName.patch, CheckAvailUserName.patch
>>>
>>>
>>> After adding this functionality while creating a profile from e
>>> commerce new profile pages, user will be able to check his/her
>>> selected userLoginId is availabel or not. Instead after submitting
>>> the whole form can check it just by clicking on a check availability
>>> link. For this implementation can use Ajax.request for submitting
>>> the user name and finally getting back the error list from the
>>> server. If got the error appear it else hide.
>>> Affected files for this feature are ;
>>> CustomerEvents.xml ----> ecommerce
>>> profile.js ---> ecommerce
>>> NewCustomer.ftl ---> ecommerce (for new one)
>>> Regards
>>> - Rishi Solanki
>>>    
>>
>>  
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Jacques Le Roux
Administrator
In reply to this post by Richa Goyal
Sorry Richa,

I'm surely missing something since I can't get it working in any browser (tried FF3, IE8, Opera, Chrome and Safari)

Jacques

From: "Richa Goyal" <[hidden email]>

> Hi Jacques,
>       When the customer tries to enter existing username in New
> Customer Page, then on losing focus  from the text field , associated js
> is called and message gets displayed using UI Label.
>
> Jacques Le Roux (JIRA) wrote:
>>     [
>> https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674527#action_12674527 ]
>>
>> Jacques Le Roux commented on OFBIZ-2000:
>> ----------------------------------------
>>
>> Hi Richa,
>>
>> I can't see how to test this from the UI, please advice, thanks
>>
>>
>>> Added check availability functionality on new create profile page of e commerce.
>>> --------------------------------------------------------------------------------
>>>
>>>                 Key: OFBIZ-2000
>>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>>>             Project: OFBiz
>>>          Issue Type: New Feature
>>>          Components: ecommerce
>>>            Reporter: Rishi Solanki
>>>            Assignee: Jacques Le Roux
>>>            Priority: Minor
>>>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch,
>>> CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>>>
>>>
>>> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her
>>> selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check
>>> availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error
>>> list from the server. If got the error appear it else hide.
>>> Affected files for this feature are ;
>>> CustomerEvents.xml ----> ecommerce
>>> profile.js ---> ecommerce
>>> NewCustomer.ftl ---> ecommerce (for new one)
>>> Regards
>>> - Rishi Solanki
>>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674557#action_12674557 ]

Rishi Solanki commented on OFBIZ-2000:
--------------------------------------

Hi Jacques,
To run this work you need to do following changes in the ecommerce/widget/CommonScreens,xml
There are two pair of screens of same name ;
newcustomer and viewprofile
out of which one pair is commented. The commented screens have this functionality works. So to check this functionality at UI, you need to un-comment the commented screen and comment the un-commented screen. Then if you go for creating New user on the newcustomer form. Then on the user name text box you just type the user name and if it is available then it will show the error.

LMK, if you able to check it at UI.
--
Rishi

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674563#action_12674563 ]

Rishi Solanki commented on OFBIZ-2000:
--------------------------------------

Please do the changes in the ;
ecommerce/widget/CustomerScreens.xml

--
Rishi

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674578#action_12674578 ]

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

Thanks for the reminder Rishi,

I completly forgot this point. I will commit all soon (new newcustomer and viewprofile screens included). 2 points to note though

Please don't use deprecated simple-method tags (I guess it's because it was written long ago). I changed them in checkAvailableUsername, no worries.
When you check for Billing Address to be the same as Shipping Address, the tel number is not incorporated, but I guess it should not, just a question.

I'm still investigating 2 issues (not related I guess) before commiting. They are related to recent security changes I guess, sendCreatePartyEmailNotification notably is involved...

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674591#action_12674591 ]

Pranay Pandey commented on OFBIZ-2000:
--------------------------------------

Hello Jacques,

IMO your guess is right for tel number in same as Shipping Address case and there is no reason to bind them.

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674942#action_12674942 ]

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

There are several problems with this approach.

# we get this error (in french sorry, just mean that createCustomerProfile is not working well though the profile is created)
{quote}
2009-02-19 10:47:26,218 (http-0.0.0.0-18443-3) [     ControlServlet.java:130:INFO ] [[[createCustomerProfile] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [    TransactionUtil.java:275:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149)
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:110)
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:72)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:494)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:321)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     RequestHandler.java:495:INFO ] Ran Event [simple:org/ofbiz/ecommerce/customer/CustomerEvents.xml#createCustomerProfile] from [request], result is [error]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     RequestHandler.java:362:ERROR] Request createCustomerProfile caused an error with the following message: [PrÚnom absent, Nom absent, Adresse courriel absen
te, 1Þre ligne d'adresse vide, Ville absente, State is missing, Adresse non trouvÚe, Pays absent, Le code pays manque, Le code rÚgional manque, CoordonnÚes tÚlÚphoniques absentes]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     RequestHandler.java:600:INFO ] Rendering View [newcustomer], sessionId=CF11DCFBF5E6A393DB0E27D5E6AB7770.jvm1
2009-02-19 10:47:26,296 (http-0.0.0.0-18443-3) [      ScreenFactory.java:129:INFO ] Got 24 screens in 0.015s from: file:/D:/workspace/ofbizRun/applications/ecommerce/widget/CustomerScreens.xml
2009-02-19 10:47:26,343 (http-0.0.0.0-18443-3) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.0s from: file:/D:/workspace/ofbizRun/framework/common/widget/CommonScreens.xml
2009-02-19 10:47:26,375 (http-0.0.0.0-18443-3) [     ControlServlet.java:299:INFO ] [[[createCustomerProfile] Request Done- total:0.157,since last([createCustomerPr...):0.157]]
2009-02-19 10:47:32,656 (default-invoker-Thread-8) [         JobInvoker.java:230:INFO ] Invoker [default-invoker-Thread-8] received job [1235036845250] from poller [org.ofbiz.service.job.JobPoller@4b0bbb]
2009-02-19 10:47:32,656 (default-invoker-Thread-8) [PersistedServiceJob.java:176:INFO ] org.ofbiz.service.job.PersistedServiceJob@98c0fe[10727] -- Next runtime: Thu Jan 01 00:59:59 CET 1970
2009-02-19 10:47:32,671 (default-invoker-Thread-8) [      ScreenFactory.java:129:INFO ] Got 3 screens in 0.015s from: file:/D:/workspace/ofbizRun/applications/party/widget/partymgr/EmailPartyScreens.xml
{quote}
# the new viewprofile screen contains far less information than the old one
# if you continue to use the old viewprofile screen (and the new  newcustome screen) the feature contained in this patch does not work (I did not understand why though, but ran out of time)

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674944#action_12674944 ]

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

Actually the 1st point is irrelevant, we get the same error using the old newcustomer screen

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674946#action_12674946 ]

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

It seems that createcustomer is executed twice...

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780527#action_12780527 ]

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

Hi,

What is the status of this issue ?

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780532#action_12780532 ]

Rishi Solanki commented on OFBIZ-2000:
--------------------------------------

Hi Jacques,
The old latest patch attached at this issue is now too old. It uses /applications/ecommerce files, but now all is in the /specialpurpose/ecommerce/.
The approach adopted to do as per description was looking fine to me, but you say that createcustomer executed twice.
The work done here is just checking the userLoginId available or not before creating new user, was not able to understand your last comment on 19/Feb/09.

Please let me know if works looks fine to you as well then, I will engage somebody to upload updated patch. If you see some other problem in the patch then please suggest improvement we will improve it. As this functionality not available OOTB we recently give this to our client by writing the same code in custom component.

Thanks for your concern.

--
Rishi Solanki

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780799#action_12780799 ]

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

Hi Rishi,

Yes please do

Thanks

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780921#action_12780921 ]

Rishi Solanki commented on OFBIZ-2000:
--------------------------------------

Thank you Jacques for green signal, shortly new patch will be available.

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit updated OFBIZ-2000:
--------------------------------

    Attachment: FOR_TEST_OFBIZ-2000.patch
                OFBIZ-2000.patch

Here is the updated patch.I have attached two patch.
1) OFBIZ-2000.patch for commit.
2) FOR_TEST_OFBIZ-2000.patch for testing purpose. In this patch i have uncommented the new customer screen from CustomerScreens.xml.
here is the url : https://localhost:8443/ecommerce/control/newcustomer

For test this functionality go to  newcustomer form. Then on the user name text box you just type the user name and if it is available then it will show the error.

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781005#action_12781005 ]

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

Hi Deepak, Rishi,

Thanks for you effort Deepak. I used the for test patch. I tried with F3.5.5 and Opera on XP. Please, don't take the following comments for you, it's more about using, in this case, Ajax or not I guess.

Sorry but I really don't like how this works. This is a nightmare to test, to say the least, I really like less and less to test ajaxified stuff. Anyway, here we go:

Both (FF3.5.5 and Opera)
* Unlike with the current profile creation you don't see any information on the different parts of the telephone number
* Only the telecomNumber part of the telephone number area should be mandatory
* Only one phone should be mandatory
* When I try creating an user with username already in use (I tried with admin) I don't get any error messages (at any moments). Even at end when I want to validate : nothing happens

With FF3.5.5
* Unlike with Opera I don't see any "(required)" labels to appear before fields labels when needed (which would be a nice feature if it was working consistently and was obvious. I guess using red(?) for it would be better, to spot it instantly)

With Opera
* I got strange behaviors I don't even want to try to explain (password_may_not_equal_username appeared without any obvious reasons, I was not using the same string)

There is certainly more to say but I gave up before being upset ;)

After some time passed to test this I really wonder if we should not forget about it and stay with the current which works well and is more complete...

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-2000:
--------------------------------------

    Assignee:     (was: Jacques Le Roux)

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781014#action_12781014 ]

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

Intrigued, I re-tested with FF3.5.5 still on XP

Actually I see the "(required)" labels also in FF when I validate the form and I get an error message when I validate at end (I even 2 : one saying all is ok; which is wrong). I wonder if I did not forget to restart the OFBiz instance when I tested before :/

The other remarks are still true, and it's strange that you lose the billing informations (not the phone) when you validate the page.

In one word: I don't see any benefits, but I may miss something ?

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783073#action_12783073 ]

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

Deepak,

I think I was a bit rude (certainly tired) and now that I think about it,I think it could be a good enhancement if it provides the same features than the original but Ajaxified...

Thanks for your work!

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2000) Added check availability functionality on new create profile page of e commerce.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783085#action_12783085 ]

Rishi Solanki commented on OFBIZ-2000:
--------------------------------------

Jacques,
Do you mean to say that the same Ajaxified functionality should be available on the newcustomer page but which running existing.
If yes then we were planning to do same, as you do not like the information of new style newcustomer page.
Please confirm so we can go and upload the new patch but in that case we need to add the JS code in ftl as currently the JS code is there only.
/ecommerce/webapp/ecommerce/customer/newcustomer.ftl.

> Added check availability functionality on new create profile page of e commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, FOR_TEST_OFBIZ-2000.patch, OFBIZ-2000.patch
>
>
> After adding this functionality while creating a profile from e commerce new profile pages, user will be able to check his/her selected userLoginId is availabel or not. Instead after submitting the whole form can check it just by clicking on a check availability link. For this implementation can use Ajax.request for submitting the user name and finally getting back the error list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

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

123