Goptcept.AutoComplete.

z3c.formÀÇ Ajax ÀÚµ¿ ¿Ï¼º À§Á¬
Áö±Ý ´Ù¿î·Îµå

Goptcept.AutoComplete. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • ZPL
  • °Ô½ÃÀÚ À̸§:
  • gocept

Goptcept.AutoComplete. ű×


Goptcept.AutoComplete. ¼³¸í

z3c.formÀÇ Ajax ÀÚµ¿ ¿Ï¼º À§Á¬ Gocept.AutoComplete´Â z3c.form¿¡ ´ëÇÑ ÀÚµ¿ ¿Ï¼º À§Á¬À» Á¦°øÇÏ´Â ¶óÀ̺귯¸®ÀÔ´Ï´Ù. À§Á¬Àº »ç¿ëÀÚ¿¡°Ô Çʵ忡 ´ëÇÑ Á¦¾È ¸ñ·ÏÀ» Á¦°øÇÏ·Á´Â °æ¿ì À¯¿ëÇÏÁö¸¸ ¿©ÀüÈ÷ ÀÔ·Â µÈ ´Ù¸¥ °ÍÀ» ¹Þ¾ÆµéÀÌ·Á°íÇÕ´Ï´Ù. À§Á¬ÀÇ UI ºÎºÐÀº yui autocomplete .zc.resourcelibrary´Â HTML¿¡ YUI ¶óÀ̺귯¸®¸¦ ÅëÇÕÇÏ´Â µ¥ »ç¿ë µÇ¹Ç·ÎÀÌ ÆÐÅ°Áö´Â ¼­µÑ·¯¸¦ »ç¿ëÇÏ¿© ÆÐÅ°Áö¿Í ȣȯµÇÁö ¾Ê½À´Ï´Ù. resource. À§Á¬À» »ç¿ëÇÏ°í gocept.autocomplete.interfaces.isearchableSource¸¦ ±¸ÇöÇÏ´Â ¼Ò½º¸¦ Á¦°øÇÕ´Ï´Ù. ÀÌ°ÍÀº µÎ °¡Áö, ÇϳªÀÇ ¼Ò½º°¡ °Ë»ö () ¸Þ¼­µå¸¦ Á¦°øÇؾßÇϹǷΠ°ªÀ» Äõ¸® ÇÒ ¼ö ÀÖµµ·Ï (Äõ¸®¿¡ µû¶ó ÀÔ·Â µÈ °ÍÀ¸·Î µç ÀԷµǾú´ÂÁö) __Contains __ () ¸Þ¼­µå¿¡¼­ Ç×»ó true¸¦ ¹ÝȯÇؾßÇÕ´Ï´Ù. µû¶ó¼­ »ç¿ëÀÚ°¡ Á¦¾ÈÀÇ ÀϺΰ¡ ¾Æ´Ñ °ªÀ» ÀÚÀ¯·Ó°Ô ÀÔ·Â ÇÒ ¼ö ¾øµµ·Ï, Ãß°¡ ±¸¼ºÀÌ ÇÊ¿äÇÕ´Ï´Ù. À§Á¬Àº isearchableSource.as¿Í ÇÔ²² ¸ðµç zope.schema.ichoice Çʵ忡 ÀÚµ¿À¸·Î µî·ÏµÇ¾î ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î Äڵ带 ¿¬½ÀÇÕ´Ï´Ù. gocept.autocomplete.tests.color testBrosser : >>> °¡Á® ¿À±â zope.app.testing.munctional >>> root = zope.app.testing.functional.getrootfolder () >>> °¡Á® ¿À±â gocept.autocomplete.tests.color> >> House = Gocept.AutoComplete.tests.color.house () >>> ·çÆ® = House >>> °¡Á® ¿À±â zope.testbrowser.testing >>> b = zope.testbrowser.testing.browser ()> >> B.HandleErrors = Falsethe AutoCompleTewidgetÀº Çâ»óµÈ TextWidgetÀÔ´Ï´Ù. µû¶ó¼­ µð½ºÇ÷¹ÀÌ ¸ðµå¿¡¼­´Â textWidget°ú ¸¶Âù°¡Áö·Î µ¿ÀÛÇÕ´Ï´Ù. >>> b.Open ( 'http : // localhost / house') >>> Àμâ b.contents ... ÆíÁý ¸ðµå¿¡¼­´Â Ãß°¡ ÀÚ¹Ù ½ºÅ©¸³Æ® Äڵ带 »ý¼ºÇÕ´Ï´Ù. >>> B.AddHeader ( '½ÂÀÎ', ' ±âº» mgr : mgrpw ') >>> b.open ('http : // localhost / house ') >>> Àμâ b.contents >> b.open ('http : //localhost/house/@@@@) / ++ À§Á¬ ++ color / @@ autochomplete-search ') >>> Àμâ b.contents >>> b.open ('http : //localhost/house/@@@@@) / @@ autocomplete-search? q = r ') >>> Àμâ b.contentsRedRubyBut ¿ì¸®´Â ¿ì¸®°¡ ¿øÇÏ´Â ¸ðµç °¡Ä¡¸¦ ÀÔ·ÂÇÏ°í ÀúÀåÇÒ ¼öÀÖ´Â ¸ðµç °¡Ä¡¸¦ ÀÔ·Â ÇÒ ¼ö ÀÖ½À´Ï´Ù (ÀÌ ÀÛ¾÷À» ¼öÇàÇÏ´Â µÎ ºÎºÐÀÌ ÀÖÀ¸¸é ¼Ò½º°¡ Ç×»ó »ç½ÇÀ» ¹ÝȯÇؾßÇÑ´Ù´Â °ÍÀÔ´Ï´Ù. __contains __ () ¸Þ¼­µå¿¡¼­ ´Ù¸¥ Çϳª´Â À§Á¬ÀÌ ¸ðµç °Í¿¡ ´ëÇÑ ½ÇÁ¦ °ªÀ» »ç¿ëÇϴ Ư¼ö TitledTokenizeDermÀ» »ç¿ëÇÕ´Ï´Ù.) : >>> B.Open ( 'http : // localhost / house') >>> B.GetControl ( 'COLOR'). °ª = 'foo'>>> b.getControl (name = 'fo rm.buttons.apply '). () >>> Àμâ B.Contents >> ¾ÆÆÄÆ® = Gopter.autoComplete.tests.color.apartment () >>> ·çÆ® = ±×·ìÈ­ µÈ ¾ç½Ä¿¡ ´ëÇÑ À§Á¬ Æ®·¡¹ö½º°¡ ¿Ã¹Ù¸¥ °ÍÀ» ¹ÝȯÇÕ´Ï´Ù. °Ë»ö °á°ú : >>> B.Open ( 'http : //localhost/apartment/@grouped.html/++ + + + collor/@auphompletexearch? q = r') >>> Àμâ b.contentsRedruby >>> B.Open ( 'http : //localhost/apartment/@grouped.html/+ + + + +/2/@@@@autocomplete-search? q = 1') >>> Àμâ B.Contents12A12 ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã ÀÌ ¸±¸®½º¿¡¼­´Â »õ·Î¿î ±â´É : ¡¤ configure.zcml ´õ ÀÌ»ó zope.app.zcmlfiles¸¦ Æ÷ÇÔÇÏÁö ¾ÊÀ¸¹Ç·Î ftesting.zcml·Î À̵¿Çß½À´Ï´Ù. ¡¤ readmeÀÇ zc.resourcelararyÀÇ Á¾¼Ó¼ºÀ» ¼³¸í ÇÏ¿©ÀÌ ÆÐÅ°Áö¸¦ hurry.resource¸¦ »ç¿ëÇÏ¿© ÆÐÅ°Áö¿Í ȣȯµÇÁö ¾Ê°Ô ¸¸µì´Ï´Ù.


Goptcept.AutoComplete. °ü·Ã ¼ÒÇÁÆ®¿þ¾î