OFBiz
  1. OFBiz
  2. OFBIZ-3510

Step by step procedure to implement an autocomplete feature in ofbiz

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: order
    • Labels:
    • Environment:

      Ubuntu

      Description

      HI,
      I am a student working on ofbiz.We have planned to create three features in ofbiz which i dono exists or not.
      Features:
      1)Implementing autocomplete in some places like countrylist,statelist etc.
      2)Reducing width of table rows in catalog and other places.
      3)Impplementing iphone interface in ofbiz.

      Now we have created myinstitute component in ofbiz and now we are looking to implement above 3 ui features.Please need some valuable suggestions to implement autocomplete may be steps to modify existing code in ofbiz.

      Below are some of URLS where we need autocomplete:

      Look up Party - This comes in several places. Example URLs are
      https://localhost:8443/ordermgr/control/orderentry
      https://localhost:8443/catalog/control/EditProdCatalogParties?prodCatalogId=DemoCatalog
      https://localhost:8443/facility/control/EditFacility

      I ll be glad see comments and suggestions as early as possible.

        Activity

        Hide
        Erwan de FERRIERES added a comment -

        For the autocomplete option, maybe this is what you are looking for :
        go to https://localhost:8443/humanres/control/FindEmplLeaves, then start writing in the partyId field, there is a list of partyIds that are listed under the field.

        Show
        Erwan de FERRIERES added a comment - For the autocomplete option, maybe this is what you are looking for : go to https://localhost:8443/humanres/control/FindEmplLeaves , then start writing in the partyId field, there is a list of partyIds that are listed under the field.
        Hide
        Jacques Le Roux added a comment -

        This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class

        HTH

        Show
        Jacques Le Roux added a comment - This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class HTH
        Hide
        Vasu T added a comment -

        Thank You For the help Sir but i am looking for the autocomplete similar to google or dojo autocomplete.

        Here are the links that gives example of it:
        http://www.roseindia.net/dojo/dojo-auto-completer.shtml
        Here it gives autocomplete for beginning letter match that we type.It looks good.

        But the link shows, list if letter is anywhere matched and its not good looking.

        Sir,I am finding difficult with this to implement in ofbiz.As i am learning currently.I dont have great experience in this.so, i may need steps to implement in ofbiz.I am grateful tu you for your concern.And i hope that i may get solution to my issue.

        And one more sir, I found this link which shows that autocomplete has been implemented in shipping pannel for country and state list :
        There is a patch and screenshot available.
        I did manually to implement acc to patch but i Just got only text box with no autocomplete.I dono wats the problem,i think that ofbiz version is different.They have not given clear steps to implement autocomplete.

        Thanking You Sir

        — On Thu, 25/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote:

        From: Erwan de FERRIERES (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Thursday, 25 February, 2010, 2:49 PM

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

        Erwan de FERRIERES commented on OFBIZ-3510:
        -------------------------------------------

        For the autocomplete option, maybe this is what you are looking for :
        go to https://localhost:8443/humanres/control/FindEmplLeaves, then start writing in the partyId field, there is a list of partyIds that are listed under the field.


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - Thank You For the help Sir but i am looking for the autocomplete similar to google or dojo autocomplete. Here are the links that gives example of it: http://www.roseindia.net/dojo/dojo-auto-completer.shtml Here it gives autocomplete for beginning letter match that we type.It looks good. But the link shows, list if letter is anywhere matched and its not good looking. Sir,I am finding difficult with this to implement in ofbiz.As i am learning currently.I dont have great experience in this.so, i may need steps to implement in ofbiz.I am grateful tu you for your concern.And i hope that i may get solution to my issue. And one more sir, I found this link which shows that autocomplete has been implemented in shipping pannel for country and state list : There is a patch and screenshot available. I did manually to implement acc to patch but i Just got only text box with no autocomplete.I dono wats the problem,i think that ofbiz version is different.They have not given clear steps to implement autocomplete. Thanking You Sir — On Thu, 25/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote: From: Erwan de FERRIERES (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Thursday, 25 February, 2010, 2:49 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838362#action_12838362 ] Erwan de FERRIERES commented on OFBIZ-3510 : ------------------------------------------- For the autocomplete option, maybe this is what you are looking for : go to https://localhost:8443/humanres/control/FindEmplLeaves , then start writing in the partyId field, there is a list of partyIds that are listed under the field. – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Vasu T added a comment -

        I m grateful to your reply sir ,as i m new to ofbiz may i know it in a detail about it.

        — On Thu, 25/2/10, Jacques Le Roux (JIRA) <jira@apache.org> wrote:

        From: Jacques Le Roux (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Thursday, 25 February, 2010, 3:36 PM

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

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

        This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class

        HTH


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - I m grateful to your reply sir ,as i m new to ofbiz may i know it in a detail about it. — On Thu, 25/2/10, Jacques Le Roux (JIRA) <jira@apache.org> wrote: From: Jacques Le Roux (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Thursday, 25 February, 2010, 3:36 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838381#action_12838381 ] Jacques Le Roux commented on OFBIZ-3510 : ---------------------------------------- This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class HTH – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Vasu T added a comment -

        Sorry sir for last reply,yes i was looking for this but how to change code in ofbiz for autocomplete option which gives menu list just matching beginning letter(gives a menu list with starting letter matched):
        go to https://localhost:8443/humanres/control/FindEmplLeaves, then start writing in the partyId field, there is a list of partyIds that are listed under the field.

        Is there any tutorial for this,Or i will be happy to see steps(where exactly to modify) to get output.

        — On Thu, 25/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote:

        From: Erwan de FERRIERES (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Thursday, 25 February, 2010, 2:49 PM

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

        Erwan de FERRIERES commented on OFBIZ-3510:
        -------------------------------------------

        For the autocomplete option, maybe this is what you are looking for :
        go to https://localhost:8443/humanres/control/FindEmplLeaves, then start writing in the partyId field, there is a list of partyIds that are listed under the field.


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

        Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/

        Show
        Vasu T added a comment - Sorry sir for last reply,yes i was looking for this but how to change code in ofbiz for autocomplete option which gives menu list just matching beginning letter(gives a menu list with starting letter matched): go to https://localhost:8443/humanres/control/FindEmplLeaves , then start writing in the partyId field, there is a list of partyIds that are listed under the field. Is there any tutorial for this,Or i will be happy to see steps(where exactly to modify) to get output. — On Thu, 25/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote: From: Erwan de FERRIERES (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Thursday, 25 February, 2010, 2:49 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838362#action_12838362 ] Erwan de FERRIERES commented on OFBIZ-3510 : ------------------------------------------- For the autocomplete option, maybe this is what you are looking for : go to https://localhost:8443/humanres/control/FindEmplLeaves , then start writing in the partyId field, there is a list of partyIds that are listed under the field. – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
        Hide
        Erwan de FERRIERES added a comment -

        Hi,

        You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev

        Cheers,

        Show
        Erwan de FERRIERES added a comment - Hi, You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev Cheers,
        Hide
        Vasu T added a comment -

        I found only this ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy

        I donot have FormWidgetExampleLookupScreens.xml at all in my ofbiz
                    
        OR
         ofbiz/trunk/framework/example/widget/example/FormWidgetExampleLookupScreens.xml
         
        Please help me as early as possible

        — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote:

        From: Erwan de FERRIERES (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Friday, 26 February, 2010, 12:26 PM

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

        Erwan de FERRIERES commented on OFBIZ-3510:
        -------------------------------------------

        Hi,

        You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev

        Cheers,


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - I found only this ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy I donot have FormWidgetExampleLookupScreens.xml at all in my ofbiz              OR  ofbiz/trunk/framework/example/widget/example/FormWidgetExampleLookupScreens.xml   Please help me as early as possible — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote: From: Erwan de FERRIERES (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Friday, 26 February, 2010, 12:26 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838845#action_12838845 ] Erwan de FERRIERES commented on OFBIZ-3510 : ------------------------------------------- Hi, You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev Cheers, – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Vasu T added a comment -

        why userloginid field is not giving autocomplete output
        https://localhost:8443/ordermgr/control/orderentry

        — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote:

        From: Erwan de FERRIERES (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Friday, 26 February, 2010, 12:26 PM

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

        Erwan de FERRIERES commented on OFBIZ-3510:
        -------------------------------------------

        Hi,

        You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev

        Cheers,


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - why userloginid field is not giving autocomplete output https://localhost:8443/ordermgr/control/orderentry — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote: From: Erwan de FERRIERES (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Friday, 26 February, 2010, 12:26 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838845#action_12838845 ] Erwan de FERRIERES commented on OFBIZ-3510 : ------------------------------------------- Hi, You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev Cheers, – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Vasu T added a comment -

        why userloginid field in below link is not giving autocomplete output and another field customer
        https://localhost:8443/ordermgr/control/orderentry

        — On Thu, 25/2/10, Jacques Le Roux (JIRA) <jira@apache.org> wrote:

        From: Jacques Le Roux (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Thursday, 25 February, 2010, 3:36 PM

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

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

        This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class

        HTH


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - why userloginid field in below link is not giving autocomplete output and another field customer https://localhost:8443/ordermgr/control/orderentry — On Thu, 25/2/10, Jacques Le Roux (JIRA) <jira@apache.org> wrote: From: Jacques Le Roux (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Thursday, 25 February, 2010, 3:36 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838381#action_12838381 ] Jacques Le Roux commented on OFBIZ-3510 : ---------------------------------------- This is the autocomplete feature for the lookups. Look for files containing autocomplete in their names. There is also a related autocomplete method in ModelFormField class HTH – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Vasu T added a comment -

        sir,
        why two fields namely userloginid and customer in following link
        https://localhost:8443/ordermgr/control/orderentry
         is not giving autocomplete output
        as partyid in https://localhost:8443/humanres/control/FindEmplLeaves
        need a urgent reply.

        — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote:

        From: Erwan de FERRIERES (JIRA) <jira@apache.org>
        Subject: [jira] Commented: (OFBIZ-3510) Step by step procedure to implement an autocomplete feature in ofbiz
        To: vasut100@yahoo.co.in
        Date: Friday, 26 February, 2010, 12:26 PM

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

        Erwan de FERRIERES commented on OFBIZ-3510:
        -------------------------------------------

        Hi,

        You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev

        Cheers,


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

        The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

        Show
        Vasu T added a comment - sir, why two fields namely userloginid and customer in following link https://localhost:8443/ordermgr/control/orderentry  is not giving autocomplete output as partyid in https://localhost:8443/humanres/control/FindEmplLeaves need a urgent reply. — On Fri, 26/2/10, Erwan de FERRIERES (JIRA) <jira@apache.org> wrote: From: Erwan de FERRIERES (JIRA) <jira@apache.org> Subject: [jira] Commented: ( OFBIZ-3510 ) Step by step procedure to implement an autocomplete feature in ofbiz To: vasut100@yahoo.co.in Date: Friday, 26 February, 2010, 12:26 PM     [ https://issues.apache.org/jira/browse/OFBIZ-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838845#action_12838845 ] Erwan de FERRIERES commented on OFBIZ-3510 : ------------------------------------------- Hi, You may take a look at this commit : http://svn.apache.org/viewvc?rev=910587&view=rev Cheers, – This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
        Hide
        Jacques Le Roux added a comment -

        We are currently looking into this closely...

        Show
        Jacques Le Roux added a comment - We are currently looking into this closely...

          People

          • Assignee:
            Unassigned
            Reporter:
            Vasu .T
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.5h
              0.5h
              Remaining:
              Remaining Estimate - 0.5h
              0.5h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development