search for: replacechild

Displaying 9 results from an estimated 9 matches for "replacechild".

2010 Jan 06
0
[PATCH] Converter: Fixes to Xen metadata conversion
...e->isa('XML::DOM::Attr')) { - $node->setNodeValue($default->getNodeValue()); - } else { - my $replacement = $default->cloneNode(1); - $replacement->setOwnerDocument($dom); - - $node->getParentNode()->replaceChild($replacement, $node); - } - } - - else { - # Warn if a replacement is required, but none was found - print STDERR user_message - (__x("WARNING: No replacement found for {xpath} in ". - "domain XML. The...
2006 Feb 23
25
reloading fragments of pages
...39;'') { $(this.last_portlet_id).innerHTML = result; *var* newdiv = document.createElement("div"); newdiv.innerHTML = result; newdiv.id = this.last_portlet_id; olddiv = $(this.last_portlet_id); parent = olddiv.parentNode; olddiv.parentNode.replaceChild(newdiv, olddiv); } }, refreshPortlet: *function*(portlet_id) { *var* params = ''portlet_id='' + portlet_id; url = ''viewPortlet''; *var* refreshPortletCompletedBn = this.refreshPortletCompleted.bind(this); *var* options = {parameters: params,...
2005 Dec 15
0
RJS Templates and the Replace semantics
...k Object.extend(Element, { replace: function(element, html) { var el = $(element); if (el.outerHTML) { // IE el.outerHTML = html.stripScripts(); } else { // Mozilla var range = el.ownerDocument.createRange(); range.selectNodeContents(el); el.parentNode.replaceChild(range.createContextualFragment(html.stripScri pts()), el); } setTimeout(function() {html.evalScripts()}, 10); } } ); _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listi...
2006 Jan 20
1
Update HTML Element with Ajax
I have following files. list.rhtml ----------------------- <ul id="items"> <%= render(:partial => ''item'', :collection => @items) %> </ul> _item.rhtml ------------------------ <li id="<%= item.id %>" > <%= item.name %> <%= item.body %> </li> edit.rjs ------------------------ page.replace_html
2010 Sep 18
0
Wine release 1.3.3
...Added node_query_inerface function for common xmlnode child objects implementation. msxml3: Use fake IID to safely cast IXMLDOMNode interface to xmlnode object. msxml3: Use separate object for unknown node type implementation. msxml3: Use get_node_obj to get xmlnode from iface in replaceChild implementation. msxml3: Use xmlnode child object's IXMLDOMNode implementation as base interface. msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeName implementations. msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeValue implementations....
2010 Oct 15
0
Wine release 1.3.5
...on: Added IInternetProtocolEx support to ftp protocol handler. urlmon: Skip more tests on too old IEs. shlwapi: Skip more tests on too old shlwapi.dll. mshtml: Added nsIHttpChannel::VisitResponseHeaders implementation. msxml3: Don't use xmlnode's IXMLDOMNode iface in replaceChild implementations. mshtml: Fixed the first ReportData invocation when binding from objects created by BindToObject. jscript: Don't lookup global variables on function invocation. exdisp.idl: Added missing declarations. James McKenzie (1): gdi32: Correct typo in comment....
2009 Dec 21
4
Refactor virt-v2v to be more like a 'big script'
These patches combine HVSource and HVTarget into a single Converter. This should make it more obvious where to hack without losing any practical flexibility. GuestOS remains separate. GuestOS is now a misnomer, because it's really only a Linux distro abstraction. It will be useless for Windows, for example. Functions which you'd expect to be different on a non-RH distro should live in
2011 Oct 21
0
Wine release 1.3.31
.... gdi32: Implement GetCharWidthW as a standard driver entry point. xcopy: Fix varargs handling for 64-bit. winex11: Filter out zero-size dashes for PS_USERSTYLE pens. wineps: Add support for PS_USERSTYLE pens. Alistair Leslie-Hughes (6): mshtml: Implement IHTMLDOMNode replaceChild. mscoree: Add WARN when ICorDebugManagedCallback2 cannot be found. url: Remove DllCanUnloadNow and DllGetClassObject. mscoree: Register interfaces. mmcndmgr: Add MMC interfaces. mmcndmgr: Add mmcndmgr dll. Andrew Eikum (13): winealsa.drv: Don't try to contro...
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from ESX with the following command line: virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64 Login details are stored in ~/.netrc Note that this is the only guest I've tested against. I haven't for example, checked that I haven't broken Xen imports. Matt [1] With the exception of