Changeset 8354


Ignore:
Timestamp:
07/30/10 10:28:44 (22 months ago)
Author:
MichaelDaum
Message:

Item9395: added example for ajax tag suggestion in textboxlists

Location:
trunk/JQueryPlugin/data/System
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JQueryPlugin/data/System/JQueryAutocomplete.txt

    r6283 r8354  
    1 %META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1265646565" format="1.1" reprev="1.3" version="1.3"}% 
     1%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1280485393" format="1.1" reprev="3" version="4"}% 
    22%META:TOPICPARENT{name="JQueryPlugin"}% 
    33---+ %TOPIC% 
     
    99  " 
    1010}% 
    11  
    1211 
    1312%STARTSECTION{"summary"}% 
     
    3736 
    3837This example queries candidate values from a simple ajax backend using the wiki application in the =data= section of this topic. Note, that you will need Foswiki:Extensions.FilterPlugin to run the example successfully. 
     38 
     39See also JQueryTextboxList 
    3940 
    4041<div class="foswikiFormSteps"> 
  • trunk/JQueryPlugin/data/System/JQueryPlugin.txt

    r8282 r8354  
    1 %META:TOPICINFO{author="micha" comment="reprev" date="1279640925" format="1.1" reprev="9" version="10"}% 
     1%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1279640925" format="1.1" reprev="9" version="10"}% 
    22---+!! %TOPIC% 
    33<!-- 
  • trunk/JQueryPlugin/data/System/JQueryTextboxList.txt

    r8012 r8354  
    1 %META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1258383569" format="1.1" reprev="1.2" version="1.2"}% 
     1%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1280485478" format="1.1" reprev="3" version="3"}% 
    22%META:TOPICPARENT{name="JQueryPlugin"}% 
    33---+ %TOPIC% 
     
    1818%JQREQUIRE{"textboxlist"}% 
    1919 
     20---+++ Tagging 
    2021<form> 
    2122<div class="foswikiFormSteps"> 
     
    3334</div> 
    3435</form> 
     36 
     37---+++ Tagging with autocomplete suggestions 
     38 
     39Note, that you will need Foswiki:Extensions.FilterPlugin to run the example successfully.  
     40 
     41<form> 
     42<div class="foswikiFormSteps"> 
     43  <div class="foswikiFormStep"> 
     44    <h3>Tags:</h3> 
     45    <input class="foswikiInputField jqTextboxList {autocomplete:'%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?section=data;skin=text'}" id="example" size='42'  /> 
     46    <div class="foswikiFormDescription"> 
     47      Tags are suggested as you type. 
     48    </div> 
     49  </div> 
     50</div> 
     51</form> 
     52 
     53---++ Backend Implementation 
     54<verbatim class="tml"> 
     55%STARTSECTION{"data"}%%FORMATLIST{ 
     56  " 
     57    admin 
     58    backup 
     59    bash 
     60    emulation 
     61    games 
     62    irc 
     63    linux 
     64    mercurial 
     65    patches 
     66    perl 
     67    php 
     68    python 
     69    site 
     70    surfing 
     71    tag 
     72    test 
     73    foswiki 
     74    web 
     75    wiki 
     76    windows 
     77    windsurfing 
     78    wine 
     79  " 
     80  split="\n" 
     81  format=" $1 " 
     82  separator="$n" 
     83  include=".*%URLPARAM{"q"}%.*" 
     84}%%ENDSECTION{"data"}% 
     85</verbatim> 
Note: See TracChangeset for help on using the changeset viewer.