incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbuff...@apache.org
Subject svn commit: r574759 - in /incubator/xap/site/docs/xmodify: ./ content/ content/statements/jquery/ content/statements/mootools/ content/statements/xap/ doc/complexTypes/html/
Date Wed, 12 Sep 2007 01:40:23 GMT
Author: bbuffone
Date: Tue Sep 11 18:40:21 2007
New Revision: 574759

URL: http://svn.apache.org/viewvc?rev=574759&view=rev
Log:
added the Prototype and Mootools xModify extensions

Modified:
    incubator/xap/site/docs/xmodify/content/processors.html
    incubator/xap/site/docs/xmodify/content/statements/jquery/replaceDivs.xml
    incubator/xap/site/docs/xmodify/content/statements/mootools/cloneDiv.xml
    incubator/xap/site/docs/xmodify/content/statements/mootools/fillTable.xml
    incubator/xap/site/docs/xmodify/content/statements/mootools/replaceDivs.xml
    incubator/xap/site/docs/xmodify/content/statements/mootools/replaceTable.xml
    incubator/xap/site/docs/xmodify/content/statements/xap/replaceDivs.xml
    incubator/xap/site/docs/xmodify/content/xap-index.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/append-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/clone-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-after-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-at-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-before-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-attribute-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-element-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-children-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-attribute-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-innerhtml-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-style-element-type.html
    incubator/xap/site/docs/xmodify/doc/complexTypes/html/variable-element-type.html
    incubator/xap/site/docs/xmodify/frame-left.html

Modified: incubator/xap/site/docs/xmodify/content/processors.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/processors.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/processors.html (original)
+++ incubator/xap/site/docs/xmodify/content/processors.html Tue Sep 11 18:40:21 2007
@@ -24,15 +24,22 @@
 <p><h2><span class="Title">xModify Processors</span></h2></p>
 
 <p>
-	The XAP project has created several xModify processors (jQuery, MooTools and XAP) to handle
the execution of 
+	The XAP project has created several xModify processors (jQuery, Prototype, MooTools and
XAP) to handle the execution of 
 	xModify operations.  Included in the XAP core functionality is the ability to execute xModify
scripts against either 
 	the HTML or UI DOMs.
 	
+	<ul>
+		<li><a href="#xap">XAP Processor Information</a></li>
+		<li><a href="#jquery">jQuery Processor Information</a></li>
+		<li><a href="#prototype">Prototype Processor Information</a></li>
+		<li><a href="#mootools">Mootools Processor Information</a></li>
+	</ul>
 </p> 
 
 <p>
 
-<h2><span class="Title">xModify for jQuery</span></h2>
+<div style="margin:20px;"><a style="font-size:20px" name="jquery">xModify for
jQuery</a></div>
+<div style="background-color:eeeeee; margin:20px; padding:5px; border:1px solid #a0a0a0">
 			<p>
 				<div><img src="../images/base.gif"><i><b>jQuery Home Page:</b></i></div>
 					<div style="border:1px solid #aaa;padding:10px;margin:20px;">
@@ -77,8 +84,10 @@
 	<div style="border:1px solid #aaa;padding:10px;margin:20px;">The select attribute
of the xModify operations is as defined on the following page. <br><br><a style="font-weight:bold"
href="http://docs.jquery.com/Selectors" target="jQuery">Selectors Details</a>
 	<p>The operations will hand off the "select" attribute to the <b>$(select-attribute-value)</b>.</p>
 	</div>
+</div>
 
-<h2><span class="Title">xModify for XAP</span></h2>
+<div style="margin:20px;"><a style="font-size:20px" name="xap">xModify for XAP</a></div>
+<div style="background-color:eeeeee; margin:20px; padding:5px; border:1px solid #a0a0a0">
 			<p>
 				<div><img src="../images/base.gif"><i><b>XAP Home Page:</b></i></div>
 					<div style="border:1px solid #aaa;padding:10px;margin:20px;">
@@ -129,7 +138,107 @@
 	</div>
 
 </p>
+</div>
 
+<div style="margin:20px;"><a style="font-size:20px" name="mootools">xModify for
Mootools</a></div>
+<div style="background-color:eeeeee; margin:20px; padding:5px; border:1px solid #a0a0a0">
+			<p>
+				<div><img src="../images/base.gif"><i><b>Mootools Home Page:</b></i></div>
+					<div style="border:1px solid #aaa;padding:10px;margin:20px;">
+						<a style="font-weight:bold" href="http://mootools.net/" target="Mootools">http://mootools.net/</a>
+					</div>	
+				<div><img src="../images/base.gif"><i><b>xModify Extension:</b></i></div>
+				<div style="border:1px solid #aaa;padding:10px;margin:20px;">
+			 	<a style="font-weight:bold" href="../../../javascript/xap/xmodify-mootools.js" onClick="javascript:urchinTracker('/download/xmodify-mootools.js');">xmodify-mootools.js</a>
(Uncompressed) (11 KB)<br>
+			 	<a style="font-weight:bold" href="../../../javascript/xap/xmodify-mootools-compressed.js"
onClick="javascript:urchinTracker('/download/xmodify-mootools-compressed.js');">xmodify-mootools-compressed.js</a>
(Compressed) (4 KB)
+				</div>
+				<div><img src="../images/base.gif"><i><b>xModify Usage:</b></i></div>
+				<p>
+<pre>
+						
+ &lt;script language="JavaScript" type="text/javascript" 
+	src="javascript/jquery/mootools-latest.js"&gt;&lt;/script&gt;
+	
+ &lt;script language="JavaScript" type="text/javascript" 
+	src="javascript/xmodify/xmodify-mootools.js"&gt;&lt;/script&gt;
+	
+</pre>	
+					
+<p>
+Call the xModify function from JavaScript, 
+once called the xModify processor uses the XHR object to request the 
+url and then process the response.  You will need to typically send information to the server-side
resource
+using a POST or GET.  To do this append the parameters to the end of the url string, for
example:
+'login.jsp?username='+usernameValue+'password='+passwordValue};
+</p>					
+<pre>
+							
+var myXhr = new XHR({
+                            async: true, 
+                            method: "get",
+                            onSuccess: function(){
+                            }
+                    });            
+var result = myXhr.xmodify("statements/mootools/"+macroName+".xml");
+
+</pre>
+
+</p>
+				
+	<div><img src="../images/base.gif"><i><b>Node Selectors:</b></i></div>
+	<div style="border:1px solid #aaa;padding:10px;margin:20px;">The select attribute
of the xModify operations is as defined on the following page. <br><br><a style="font-weight:bold"
href="http://docs.mootools.net/Element/Element-Selectors.js" target="mootools">Selectors
Details</a>
+	<p>The operations will hand off the "select" attribute to the <b>$(select-attribute-value)</b>.</p>
+	</div>
+
+</p>
+</div>
+<div style="margin:20px;"><a style="font-size:20px" name="prototype">xModify
for Prototype</a></div>
+<div style="background-color:eeeeee; margin:20px; padding:5px; border:1px solid #a0a0a0">
+		<p>
+				<div><img src="../images/base.gif"><i><b>Prototype Home Page:</b></i></div>
+					<div style="border:1px solid #aaa;padding:10px;margin:20px;">
+						<a style="font-weight:bold" href="http://www.prototypejs.org/" target="Prototype">http://www.prototypejs.org/</a>
+					</div>	
+				<div><img src="../images/base.gif"><i><b>xModify Extension:</b></i></div>
+				<div style="border:1px solid #aaa;padding:10px;margin:20px;">
+			 	<a style="font-weight:bold" href="../../../javascript/xap/xmodify-prototype.js" onClick="javascript:urchinTracker('/download/xmodify-mootools.js');">xmodify-prototype.js</a>
(Uncompressed) (11 KB)<br>
+			 	<a style="font-weight:bold" href="../../../javascript/xap/xmodify-prototype-compressed.js"
onClick="javascript:urchinTracker('/download/xmodify-mootools-compressed.js');">xmodify-prototype-compressed.js</a>
(Compressed) (4 KB)
+				</div>
+				<div><img src="../images/base.gif"><i><b>xModify Usage:</b></i></div>
+				<p>
+<pre>
+						
+ &lt;script language="JavaScript" type="text/javascript" 
+	src="javascript/jquery/prototype-latest.js"&gt;&lt;/script&gt;
+	
+ &lt;script language="JavaScript" type="text/javascript" 
+	src="javascript/xmodify/xmodify-prototype.js"&gt;&lt;/script&gt;
+	
+</pre>	
+					
+<p>
+Call the xModify function from JavaScript, 
+once called the xModify processor uses the Ajax object to request the 
+url and then process the response.  You will need to typically send information to the server-side
resource
+using a POST or GET.  To do this append the parameters to the end of the url string, for
example:
+'login.jsp?username='+usernameValue+'password='+passwordValue};
+</p>					
+<pre>
+							
+	new Ajax.xmodify("statements/prototype/"+macroName+".xml");
+
+</pre>
+
+</p>
+				
+	<div><img src="../images/base.gif"><i><b>Node Selectors:</b></i></div>
+	<div style="border:1px solid #aaa;padding:10px;margin:20px;">The select attribute
of the xModify operations is as defined on the following page. <br><br><a style="font-weight:bold"
href="http://prototypejs.org/api/utility/dollar-dollar" target="prototype">Selectors Details</a>
+	<p>The operations will hand off the "select" attribute to the <b>$(select-attribute-value)</b>.</p>
+	</div>
+
+</p>
+	
+</div>	
 							<!-- end: body of page -->
 						</div>
 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

Modified: incubator/xap/site/docs/xmodify/content/statements/jquery/replaceDivs.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/jquery/replaceDivs.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/jquery/replaceDivs.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/jquery/replaceDivs.xml Tue Sep 11 18:40:21
2007
@@ -3,10 +3,6 @@
         Test replacing elements
     -->
 	<xm:modifications document="html">
-		<xm:variable name="test" select="#mouseOverAreaFirst" deep="true"/>
-		<xm:append select="#insertDivCell">
-			<xm:value-of name="test"/>
-		</xm:append>
 	    <xm:replace select="#mouseOverAreaFirst">
 	       <![CDATA[ 
 		    <div style="width:100%;background-color:#ff0000" onclick="alert('Hea someone clicked
me');">
@@ -34,6 +30,14 @@
 	        </div>
 			]]>
 	    </xm:replace>
-	</xm:modifications>
-		
+	    <xm:set-innerhtml select="#cloneMe">
+	       <![CDATA[ 
+		    <div style="width:100%;background-color:#ff0000">
+	            
+	            This item was replaced with set-innerhtml
+	            
+	        </div>
+			]]>
+	    </xm:set-innerhtml>
+	</xm:modifications>	
 </xal>

Modified: incubator/xap/site/docs/xmodify/content/statements/mootools/cloneDiv.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/mootools/cloneDiv.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/mootools/cloneDiv.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/mootools/cloneDiv.xml Tue Sep 11 18:40:21
2007
@@ -6,11 +6,10 @@
 		<xm:append select="#insertDivCell">
 			<xm:clone select="#cloneMe" deep="true"/>
 		</xm:append>
-		<xm:append select="#insertDivCell">
+		<xm:append select="#insertDivCell"><![CDATA[
 			<div style="width:100%;background-color:#ff0000">	            
-	            The middle field was inserted at 3	            
-	        </div>
+	            <span style="font-size:20px">Node created via XML Elements</span>
           
+	        </div>]]>
 		</xm:append>
-		
 	</xm:modifications>		
 </xal>

Modified: incubator/xap/site/docs/xmodify/content/statements/mootools/fillTable.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/mootools/fillTable.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/mootools/fillTable.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/mootools/fillTable.xml Tue Sep 11 18:40:21
2007
@@ -8,25 +8,19 @@
 	            <td>10</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 	        <tr type="data">
 	            <td>19</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 	        <tr type="data">
 	            <td>18</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 			]]>
 	    </xm:append>

Modified: incubator/xap/site/docs/xmodify/content/statements/mootools/replaceDivs.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/mootools/replaceDivs.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/mootools/replaceDivs.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/mootools/replaceDivs.xml Tue Sep 11
18:40:21 2007
@@ -3,10 +3,6 @@
         Test replacing elements
     -->
 	<xm:modifications document="html">
-		<xm:variable name="test" select="#mouseOverAreaFirst" deep="true"/>
-		<xm:append select="#insertDivCell">
-			<xm:value-of name="test"/>
-		</xm:append>
 	    <xm:replace select="#mouseOverAreaFirst">
 	       <![CDATA[ 
 		    <div style="width:100%;background-color:#ff0000" onclick="alert('Hea someone clicked
me');">
@@ -34,6 +30,14 @@
 	        </div>
 			]]>
 	    </xm:replace>
-	</xm:modifications>
-		
+	    <xm:set-innerhtml select="#cloneMe">
+	       <![CDATA[ 
+		    <div style="width:100%;background-color:#ff0000">
+	            
+	            This item was replaced with set-innerhtml
+	            
+	        </div>
+			]]>
+	    </xm:set-innerhtml>
+	</xm:modifications>	
 </xal>

Modified: incubator/xap/site/docs/xmodify/content/statements/mootools/replaceTable.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/mootools/replaceTable.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/mootools/replaceTable.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/mootools/replaceTable.xml Tue Sep 11
18:40:21 2007
@@ -8,25 +8,19 @@
 	            <td>10</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 	        <tr type="data">
 	            <td>19</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 	        <tr type="data">
 	            <td>18</td>
 	            <td>Robert</td>
 	            <td>bbuffone@acme.com</td>
-	            <td>555 Boston Road Boston, MA</td>
 	            <td>555-555-5555</td>
-	            <td>20</td>
 	        </tr>
 			]]>
 	    </xm:replace-children>

Modified: incubator/xap/site/docs/xmodify/content/statements/xap/replaceDivs.xml
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/statements/xap/replaceDivs.xml?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/statements/xap/replaceDivs.xml (original)
+++ incubator/xap/site/docs/xmodify/content/statements/xap/replaceDivs.xml Tue Sep 11 18:40:21
2007
@@ -30,6 +30,14 @@
 	        </div>
 			]]>
 	    </xm:replace>
-	</xm:modifications>
-		
+	    <xm:set-innerhtml select="#cloneMe">
+	       <![CDATA[ 
+		    <div style="width:100%;background-color:#ff0000">
+	            
+	            This item was replaced with set-innerhtml
+	            
+	        </div>
+			]]>
+	    </xm:set-innerhtml>
+	</xm:modifications>		
 </xal>

Modified: incubator/xap/site/docs/xmodify/content/xap-index.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/content/xap-index.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/content/xap-index.html (original)
+++ incubator/xap/site/docs/xmodify/content/xap-index.html Tue Sep 11 18:40:21 2007
@@ -1,7 +1,7 @@
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <title>Macro and xModify running against the HTML DOM</title>
+    <title>xModify running against the HTML DOM using the XAP library</title>
     
 		<!-- Keep dojo from trying to scan this whole page for dojoType'd tags: -->
 		<script type="text/javascript">
@@ -33,7 +33,8 @@
             <table cellPadding="10" cellSpacing="10" height="100%" width="100%">
                 <tr><td class="surroundCell">
                     <table height="100%" width="100%">
-    		            <tr height="28px"><td colspan="2"><h4>Sample shows different
xModify statments being run on the HTML DOM:</h4>
+    		            <tr height="28px"><td colspan="2"><h4>Sample shows different
xModify statments being run on the HTML DOM:<br/>
+								Use the <a target="_blank" href="http://incubator.apache.org/xap">XAP JavaScript
library:</a></h4>
     		    		        <hr/>
     		    		</td></tr>
 	    		        <tr height="20px">

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/append-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/append-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/append-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/append-element-type.html Tue Sep
11 18:40:21 2007
@@ -33,9 +33,15 @@
 the Document must not have a root Element.  If the directive element has more than
 one child or the Document already has a root Element, an UpdateException will 
 be thrown.<br><br>
+
+<div style="margin:20px;padding:10px; font-weight:bold;border:1px #aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the append command based 
-on the type of each argument:
+on the type of each argument:
 
 <ul>
 <li>value-of directive element is executed and the value of the bound variable will
get
@@ -181,7 +187,13 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+ 
+ <div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/clone-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/clone-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/clone-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/clone-element-type.html Tue Sep
11 18:40:21 2007
@@ -174,7 +174,13 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+ 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-after-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-after-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-after-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-after-element-type.html Tue
Sep 11 18:40:21 2007
@@ -29,6 +29,11 @@
 If some result of the XPath query is not one of the two types, an UpdateException is thrown
 and the execution of the &lt;xm:modifications/&gt; block is halted.  An UpdateException
 will also be thrown if the XPath query selects the root Element of the document.<br><br>
+<div style="margin:20px;padding:10px; font-weight:bold;border:1px #aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the insert-after command based 
 on the type of each argument:
@@ -161,7 +166,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-at-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-at-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-at-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-at-element-type.html Tue
Sep 11 18:40:21 2007
@@ -40,6 +40,11 @@
 selected Document). If these restrictions are violated, an UpdateException is
 thrown.
 <br><br>
+<div style="margin:20px;padding:10px; font-weight:bold;border:1px #aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the insert-at command based 
 on the type of each argument:
@@ -202,7 +207,12 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-before-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-before-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-before-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/insert-before-element-type.html
Tue Sep 11 18:40:21 2007
@@ -30,6 +30,11 @@
 and the execution of the &lt;xm:modifications/&gt; block is halted. An UpdateException
 will also be thrown if the XPath query selects the root Element of the document.
 <br><br>
+<div style="margin:20px;padding:10px; font-weight:bold;border:1px #aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the insert-before command based 
 on the type of each argument:
@@ -162,6 +167,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
  
 </td>
 </tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-attribute-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-attribute-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-attribute-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-attribute-element-type.html
Tue Sep 11 18:40:21 2007
@@ -99,7 +99,12 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-element-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-element-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-element-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/remove-element-element-type.html
Tue Sep 11 18:40:21 2007
@@ -134,7 +134,12 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-children-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-children-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-children-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-children-element-type.html
Tue Sep 11 18:40:21 2007
@@ -34,6 +34,12 @@
 only one child is expected in this case. If the directive element has more than
 one child when the XPath query selects the Document object, an xModifyException 
 will be thrown.<br><br>
+
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the replace-children command based 
 on the type of each argument:
@@ -171,6 +177,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
  
 </td>
 </tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/replace-element-type.html Tue Sep
11 18:40:21 2007
@@ -32,6 +32,12 @@
 command has to have exactly one child Element which will be set as the new
 root.  If the directive element does not have exactly one child, and the 
 XPath query selects the root Element, an UpdateException will be thrown.<br><br>
+
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
 
 The following logic applies to the arguments of the replace command based 
 on the type of each argument:
@@ -168,7 +174,12 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="margin:20px;padding:10px; font-weight:bold;border:1px #aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-attribute-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-attribute-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-attribute-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-attribute-element-type.html
Tue Sep 11 18:40:21 2007
@@ -143,6 +143,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
  
 </td>
 </tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-innerhtml-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-innerhtml-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-innerhtml-element-type.html
(original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-innerhtml-element-type.html
Tue Sep 11 18:40:21 2007
@@ -125,6 +125,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
  
 </td>
 </tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-style-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-style-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-style-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/set-style-element-type.html Tue
Sep 11 18:40:21 2007
@@ -121,7 +121,12 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
- 
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
+
 </td>
 </tr>
 <tr>

Modified: incubator/xap/site/docs/xmodify/doc/complexTypes/html/variable-element-type.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/doc/complexTypes/html/variable-element-type.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/doc/complexTypes/html/variable-element-type.html (original)
+++ incubator/xap/site/docs/xmodify/doc/complexTypes/html/variable-element-type.html Tue Sep
11 18:40:21 2007
@@ -203,6 +203,11 @@
         &lt;/xm:append&gt;<br>
     &lt;/xm:modifications&gt;<br>
 </pre>  
+<div style="background-color:#fff;margin:20px;padding:10px; font-weight:bold;border:1px
#aaa solid">
+	Note: When using xModify against the HTML dom refer to the selector functionality
+	of the underlying library.  For example if you are using xModify for jQuery, see the
+	jQuery documentation for the selector syntax and functionality.
+</div>
  
 </td>
 </tr>

Modified: incubator/xap/site/docs/xmodify/frame-left.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/docs/xmodify/frame-left.html?rev=574759&r1=574758&r2=574759&view=diff
==============================================================================
--- incubator/xap/site/docs/xmodify/frame-left.html (original)
+++ incubator/xap/site/docs/xmodify/frame-left.html Tue Sep 11 18:40:21 2007
@@ -31,7 +31,12 @@
 										<div style="vertical-align: middle; background-image: url(../../images/menu.gif);
background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom:
1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Examples</b></div>
 										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/general.html" target="content">General Usage</a><br>
 										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/sendmeapic.html" target="content">Send Me a Pic</a><br>
-										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/xap-index.html" target="content">Developer Sample</a><br>
+										<div style="vertical-align: middle; background-image: url(../../images/menu.gif);
background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom:
1px; margin-top: 12px;"><b>Developer Sample</b></div>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/prototype-index.html" target="content">Prototype</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/jquery-index.html" target="content">jQuery</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/prototype-index.html" target="content">Prototype</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/mootools-index.html" target="content">Mootools</a><br>
+										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="content/xap-index.html" target="content">XAP</a><br>
 										<div style="vertical-align: middle; background-image: url(../../images/menu.gif);
background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom:
1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Root Tag</b></div>
 										<img src="../../images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a
href="doc/complexTypes/html/modifications-element-type.html" target="content">modifications</a><br>
 										<div style="vertical-align: middle; background-image: url(../../images/menu.gif);
background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom:
1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Operations</b></div>



Mime
View raw message