1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.UpdateManager.BasicRenderer</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
50 Class Roo.UpdateManager.BasicRenderer
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo.UpdateManager</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_UpdateManager.js.html">Roo/UpdateManager.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">BasicRenderer</td></tr>
70 <!-- ============================== class summary ========================== -->
71 <div class="description">
72 Default Content renderer. Updates the elements innerHTML with the responseText.
76 <!-- ============================== Class comment block... ========================== -->
78 <div class="comments">
79 <b>Class Comments / Notes</B> =>
80 <u onclick="parent.CommentDialog.showCommentId = 'Roo.UpdateManager.BasicRenderer';">[Add Your comment/notes about this class]</u>
82 <iframe frameborder="0" id="comments-Roo.UpdateManager" style="border: none;width:100%;"
83 src="/blog.php/GtkDjsComments/Roo.UpdateManager.BasicRenderer.html"></iframe>
88 <!-- ============================== config options ========================== -->
93 <div class="hr"></div>
94 <a id="Roo.UpdateManager.BasicRenderer-configs"></a>
98 <table cellspacing="0" class="member-table">
99 <caption class="Empty">Config Options - Has None</caption>
113 <!-- ============================== public properties ==================== -->
117 <a id="Roo.UpdateManager.BasicRenderer-props"></a>
123 <table cellspacing="0" class="member-table">
124 <caption class="Empty">Public Properties - Has None</caption>
130 <!-- ============================== methods summary / details ======================== -->
133 <a id="Roo.UpdateManager.BasicRenderer-methods"></a>
134 <!-- constructor?? -->
141 <!-- then dynamics first -->
148 <table cellspacing="0" class="member-table">
149 <caption>Public Methods</caption>
151 <th class="sig-header" colspan="2">Method</th>
152 <th class="msource-header">Defined By</th>
162 <tr class="method-row config-row-alt0 notInherited">
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
167 <a id="Roo.UpdateManager-method-BasicRenderer" name=".BasicRenderer"></a>
168 <div class="fixedFont">
169 <span class="attributes">new <B>Roo.UpdateManager.</B></span><b class="itemname">BasicRenderer</b>
179 <div class="short">Create a new Roo.UpdateManager.BasicRenderer</div>
186 Create a new Roo.UpdateManager.BasicRenderer
209 <tr class="method-row config-row-alt1 expandable notInherited">
210 <td class="micon"><a class="exi" href="#expand"> </a></td>
214 <a id="Roo.UpdateManager.BasicRenderer-method-render" name=".render"></a>
215 <div class="fixedFont">
216 <span class="attributes"></span><b class="itemname">render</b>
218 (<a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a> <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>, UpdateManager <B><i>updateManager</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
225 <div class="short">This is called when the transaction is completed and it's time to update the element - The BasicRenderer<br/>updates the elements innerHTML with the responseText - To perform a custom render (i.e.</div>
231 This is called when the transaction is completed and it's time to update the element - The BasicRenderer<br/>updates the elements innerHTML with the responseText - To perform a custom render (i.e. XML or JSON processing),<br/>create an object with a "render(el, response)" method and pass it to setRenderer on the UpdateManager.
238 <dl class="detailList">
239 <dt class="heading">Parameters:</dt>
242 <span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> <b>el</b>
245 <dd>The element being rendered</dd>
248 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
251 <dd>The YUI Connect response object</dd>
254 <span class="fixedFont">UpdateManager</span> <b>updateManager</b>
257 <dd>The calling update manager</dd>
260 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
263 <dd>A callback that will need to be called if loadScripts is true on the UpdateManager</dd>
283 Roo.UpdateManager.BasicRenderer
292 <!-- ============================== events summary / details ======================== -->
295 <a id="Roo.UpdateManager.BasicRenderer-events"></a>
301 <table cellspacing="0" class="member-table">
302 <caption class="Empty">Events - Has None</caption>
313 <!-- ============================== footer ================================= -->
314 <div class="fineprint" style="clear:both">
316 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 01 2011 15:12:57 GMT+0800 (HKT)
318 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>