chiark / gitweb /
Much tidying; preserve query type etc. in query_commod
[ypp-sc-tools.db-live.git] / yarrg / web / qtextstring
index 6efe368e650dfc396b020f5fa58f5679d3c86426..45f2e32a75c53f9b404cc93db52c858d84d8b99b 100644 (file)
@@ -29,7 +29,9 @@
  sponsored by Three Rings.
 
 
- This Mason component handles `live' analysis of text string entries.
+ This Mason component handles analysis of text string entries, including
+ both the AJAX calls from web page javascript and the entry validation
+ and processing calls from other components.
 
 
 </%doc>
@@ -42,11 +44,9 @@ my $stringval= $qa->{$thingstring};
 $stringval='' if !defined $stringval;
 </%perl>
 
-Enter route (islands, or archipelagoes, separated by |s or commas;
- abbreviations are OK):<br>
-
 <&| script &>
-ts_uri= "check_<% $thingstring %>?format=json&type=text/xml"
+ts_uri= "qtextstringcheck?format=application/json&ctype=text/xml"
+               + "&what=<% $thingstring %>"
                + "&ocean=<% uri_escape($qa->{Ocean}) %>";
 
 ts_timeout=false;