From version < 17.1 >
edited by ElenaOanaTabaranu
on 2009/08/04
To version < 18.1 >
edited by ElenaOanaTabaranu
on 2009/08/04
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -56,7 +56,12 @@
56 56  secCol|Second column of the list of results. For a user defined query, use *-* value for one column and no hidden input. Otherwise the list of results will have two columns and a hidden input.
57 57  {table}
58 58  
59 +1.1.1.1 Example
59 59  
61 +* Check out the example for class field values at [Class Field Example>DevGuide.AutoSuggestWidgetExample]
62 +
63 +
64 +
60 60  1.1.1 Suggest custom information
61 61  
62 62  When the information you want to suggest is not available through a class field or you generate it using a custom query, you need to create a service (plain wiki page called with *xpage=plain* parameter in the url) that maps your results to the *xml* input accepted by the *autosuggest* class.
... ... @@ -108,6 +108,10 @@
108 108  </results>
109 109  {code}
110 110  
116 +1.1.1.1 Example
117 +
118 +* Check out the example for custom information at [Custom Information Example>DevGuide.AjaxSuggestCustomExample]
119 +
111 111  1.1 Javascript parameters for the *ajaxsuggest* class
112 112  
113 113  {table}
... ... @@ -133,10 +133,6 @@
133 133  {table}
134 134  
135 135  
136 -1.1 Live Example
137 -
138 -* Check out the example above at [Ajax Suggest Example>DevGuide.AutoSuggestWidgetExample]
139 -
140 140  1.1 Tips
141 141  
142 142  * Check out the Javascript code for more details: *{pre}http://localhost:8080/xwiki/resources/js/xwiki/suggest/ajaxSuggest.js {/pre}*.

Get Connected