[Yanel-commits] rev 38502 - public/yanel/trunk/src/realms/yanel-website/content

michi at wyona.com michi at wyona.com
Tue Sep 9 23:52:04 CEST 2008


Author: michi
Date: 2008-09-09 23:52:03 +0200 (Tue, 09 Sep 2008)
New Revision: 38502

Modified:
   public/yanel/trunk/src/realms/yanel-website/content/f97143ee-1cc7-445c-9f36-0d59455fbc2a
Log:
lookup config added

Modified: public/yanel/trunk/src/realms/yanel-website/content/f97143ee-1cc7-445c-9f36-0d59455fbc2a
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/f97143ee-1cc7-445c-9f36-0d59455fbc2a	2008-09-09 21:42:01 UTC (rev 38501)
+++ public/yanel/trunk/src/realms/yanel-website/content/f97143ee-1cc7-445c-9f36-0d59455fbc2a	2008-09-09 21:52:03 UTC (rev 38502)
@@ -111,9 +111,33 @@
 <a name="lookup"/>
 <h2>Lookup</h2>
 <p>
-...
+The "Lookups" need to be configured within x:config
 </p>
 
+<pre>
+      &lt;!-- .. -->
+    &lt;/x:pipeline>
+
+    &lt;x:lookupConfig>
+      &lt;!-- Image Lookup -->
+      &lt;x:lookup xmlns:yanel="http://wyona.org/yanel/1.0"
+            parentPattern="self::yanel:image" 
+            name="src"
+            url="SOME_URL?yanel.resource.usecase=xopus-imagelookup" 
+            forceLookup="true" 
+            autoOpen="true"/>
+      &lt;!-- Link Lookup -->
+      &lt;x:lookup xmlns:xhtml="http://www.w3.org/1999/xhtml"
+            parentPattern="self::xhtml:a" 
+            name="href"
+            url="SOME_URL?yanel.resource.usecase=xopus-linklookup" 
+            forceLookup="true" 
+            autoOpen="true"/>
+    &lt;/x:lookupConfig>
+  &lt;/x:config>
+&lt;/xml>
+</pre>
+
 <a name="resources"/>
 <h2>Resources</h2>
 <ul>



More information about the Yanel-commits mailing list