# HG changeset patch # User paulb # Date 1126294376 0 # Node ID d6a6bf2dbe1a4f10d32db626b4e4ca4a9fde0b49 # Parent 5170c7052885a9fbe5ea1dafde6a63adc45271c0 [project @ 2005-09-09 19:32:54 by paulb] Changed the name of the "entry" in-page update to "matches" and added a commented-out in-page update called "word" which connects the matches menu to the text entry field. diff -r 5170c7052885 -r d6a6bf2dbe1a examples/Common/Dictionary/Resources/words_template.xhtml --- a/examples/Common/Dictionary/Resources/words_template.xhtml Fri Sep 09 17:33:19 2005 +0000 +++ b/examples/Common/Dictionary/Resources/words_template.xhtml Fri Sep 09 19:32:56 2005 +0000 @@ -11,11 +11,11 @@
-
+

Word: + diff -r 5170c7052885 -r d6a6bf2dbe1a examples/Common/Dictionary/__init__.py --- a/examples/Common/Dictionary/__init__.py Fri Sep 09 17:33:19 2005 +0000 +++ b/examples/Common/Dictionary/__init__.py Fri Sep 09 19:32:56 2005 +0000 @@ -24,7 +24,8 @@ "words" : ("words_template.xhtml", "words_output.xsl") } in_page_resources = { - "entry" : ("words_output_entry.xsl", "entry-node") + "matches" : ("words_output_entry.xsl", "matches-node"), + #"word" : ("words_output_word.xsl", "word-node") } def __init__(self, dict): @@ -83,7 +84,7 @@ if selectors.has_key("search"): entries = selectors["search"] - elif in_page_resource == "entry": + elif in_page_resource == "matches": entries = words.xpath("words/entry") else: entries = []