Menu

#5 Your Objects and Existing Tags buttons

open
5
2010-07-21
2010-07-01
Bob Weigel
No

These buttons should both use autocomplete in web/autocomplete/. Same for "Insert objects..." button in Wiki addition form.

Discussion

  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-07

    Any example how to use it?

     
  • Bob Weigel

    Bob Weigel - 2010-07-07

    web/autocomplete/json-vxoware.html and web/autocomplete/autocomplete.jsp

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-07

    ok

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-15

    The current xql script won't work for these fields... Different kinds of search are needed. (one document listing for the first and no search at all at second). Do you want a special scripts for each autocomplete?

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-15
    • status: open --> pending
     
  • Bob Weigel

    Bob Weigel - 2010-07-15
    • status: pending --> open
     
  • Bob Weigel

    Bob Weigel - 2010-07-15

    > Do you want a special scripts for each autocomplete?

    Yes. Your Objects being higher priority.

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-20

    Could you provide more information what data structure do we need from the xql script?

     
  • Bob Weigel

    Bob Weigel - 2010-07-20

    For tags, 'ab' should return a JSON structure of the form ['absent','abcde','abq'].

    For Objects, the search should be on the Title and Description element (if one exists). What should be returned is

    {[ObjId:OBJECTID,Title:TITLE,Description:DESCRIPTION],[ObjId:OBJECTID,Title:TITLE,Description:DESCRIPTION],...}

    I suppose that we would want the capability of doing an a search on all elements of the schema as well, but that should be off by default.

     
  • Bob Weigel

    Bob Weigel - 2010-07-21

    Yes.

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-21

    Could you help with parsing the data in JavaScript? Or point to where it should be done?

     
  • Bob Weigel

    Bob Weigel - 2010-07-21

    Yes, for now just have your code output JSON and I can work on the rest later.

     
  • Dmitry Y Mishin

    Dmitry Y Mishin - 2010-07-21
    • assigned_to: dimm0 --> rweigel
     
  • Bob Weigel

    Bob Weigel - 2010-07-27

    Don't forget about "Your Objects"

     
MongoDB Logo MongoDB