user warning: Table './nsolop_forumsvdigg/cache_page' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_page SET data = '<br />\n<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/nsolop/public_html/vdiggforums/includes/database.mysql.inc:128) in <b>/home/nsolop/public_html/vdiggforums/includes/bootstrap.inc</b> on line <b>630</b><br />\n<br />\n<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/nsolop/public_html/vdiggforums/includes/database.mysql.inc:128) in <b>/home/nsolop/public_html/vdiggforums/includes/bootstrap.inc</b> on line <b>631</b><br />\n<br />\n<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/nsolop/public_html/vdiggforums/includes/database.mysql.inc:128) in <b>/home/nsolop/public_html/vdiggforums/includes/bootstrap.inc</b> on line <b>632</b><br />\n<br />\n<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/nsolop/public_html/vdiggforums/includes/database.mysql.inc:128) in <b>/home/nsolop/public_html/vdiggforums/includes/bootstrap.inc</b> on line <b>633</b><br />\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\" dir=\"ltr\">\n\n<head>\n <title>Re: [ Cloud Computing ] Does Cloud Computing Help Configuration Management ? | Virtualization Times</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/aggregator/aggregator.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/node/node.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/system/defaults.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/system/system.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/system/system-menus.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/user/user.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/sites/all/modules/cck/theme/content-module.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/sites/all/modules/extra_voting_forms/widgets/default/extra_voting_forms_all.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/sites/all/modules/tagadelic/tagadelic.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/sites/all/modules/addthis/addthis.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/modules/comment/comment.css?M\" />\n<link type=\"text/css\" rel=\"stylesheet\" media=\"all\" href=\"/sites/all/themes/drigg_theme/style.css?M\" />\n <script type=\"text/javascript\" src=\"/misc/jquery.js?M\"></script>\n<script type=\"text/javascript\" src=\"/misc/drupal.js?M\"></script>\n<script type=\"text/javascript\" src=\"/sites/all/modules/drigg/drigg/drigg.js?M\"></script>\n<script type=\"text/javascript\" src=\"/sites/all/modules/drigg/drigg_rl/drigg_rl.js?M\"></script>\n<script type=\"text/javascript\" src=\"/sites/all/modules/extra_voting_forms/extra_voting_forms.js?M\"></script>\n<script type=\"text/javascript\">\n<!--//--><![CDATA[//><!--\njQuery.extend(Drupal.settings, { \"basePath\": \"/\", \"drigg\": { \"base_path\": \"/\" }, \"extra_voting_forms\": { \"only_one_vote\": 1, \"login_page\": \"user/login\", \"base_path\": \"/\" }, \"googleanalytics\": { \"trackOutgoing\": 1, \"trackMailto\": 1, \"trackDownload\": 1, \"trackDownloadExtensions\": \"7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip\" } });\n//--><!]]>\n</script>\n<script type=\"text/javascript\">\n<!--//--><![CDATA[//><!--\nwindow.google_analytics_uacct = \"UA-6880964-3\";\n//--><!]]>\n</script>\n<script type=\"text/javascript\">\n<!--//--><![CDATA[//><!--\n\n addthis_pub = \'nsolop\';\n addthis_logo = \'http://www.addthis.com/images/yourlogo.png\';\n addthis_logo_background = \'EFEFFF\';\n addthis_logo_color = \'666699\';\n addthis_brand = \'Virtualizationtimes.com\';\n addthis_options = \'favorites, email, digg, delicious, myspace, facebook, google, live, more\';\n addthis_disable_flash = \'true\';\n \n//--><!]]>\n</script>\n\n\n\n</head>\n<title>Virtualization Times</title>\n\n<body>\n \n <div id=\"container\">\n \n <div id=\"header\">\n <div id=\"header_title\">\n\n \n <div id=\"header_search\">\n \n\n<form action=\"http://www.virtualizationtimes.com/content/search\" id=\"cse-search-box\">\n <div>\n <input type=\"hidden\" name=\"cx\" value=\"partner-pub-1999751354027840:476ilx-ujml\" />\n <input type=\"hidden\" name=\"cof\" value=\"FORID:9\" />\n <input type=\"hidden\" name=\"ie\" value=\"ISO-8859-1\" />\n <input type=\"text\" name=\"as_q\" size=\"25\" />\n <input type=\"submit\" name=\"sa\" value=\"Search\" />\n </div>\n</form>\n<script type=\"text/javascript\" src=\"http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en\"></script>\n\n\n </div>\n\n <h1><a href=\"/\" title=\"Home\">Virtualization Times</a></h1>\n \n \n </div>\n <div id=\"header_categories\">\n <a href=\"/user/login\" class=\"drigg-login\">Login/register</a> <ul class=\"drigg-categories\" ><li><a href=\"/\" title=\"All categories\"><span>All</span></a> </li><li><a href=\"/VMware\" title=\"\"><span>VMware</span></a> </li><li><a href=\"/Citrix\" title=\"\"><span>Citrix</span></a> </li><li><a href=\"/GreenIT\" title=\"\"><span>Green IT</span></a> </li><li><a href=\"/Infrastructure\" title=\"\"><span>Infrastructure</span></a> </li><li><a href=\"/Microsoft\" title=\"\"><span>Microsoft</span></a> </li><li><a href=\"/Oracle\" title=\"\"><span>Oracle</span></a> </li><li><a href=\"/Parallels\" title=\"\"><span>Parallels</span></a> </li><li><a href=\"/ThinComputing\" title=\"\"><span>Thin Computing</span></a> </li><li><a class=\"active\" href=\"/CloudComputing\" title=\"\"><span>Cloud Computing</span></a> </li><li><a href=\"/SunMicrosystems\" title=\"\"><span>Sun Microsystems</span></a> </li></ul> </div>\n \n <div id=\"header_subcategories\">\n <ul class=\"drigg-categories\" ><li><a href=\"/IBMCloudComputing\" title=\"\"><span>IBM Cloud Computing</span></a> </li></ul> </div>\n \n \n\n \n <div id=\"header_breadcrumb\">\n <div class=\"breadcrumb\"><a href=\"/\">Home</a></div> </div>\n \n </div> <!-- /header -->\n \n <div id=\"content\">\n \n <div id=\"content_center\" class=\"column\">\n <div class=\"controlbar clearfix\">\n </div>\n \n \n <div class=\"messages error\">\nwarning: Cannot modify header information - headers already sent by (output started at /home/nsolop/public_html/vdiggforums/includes/database.mysql.inc:128) in /home/nsolop/public_html/vdiggforums/includes/common.inc on line 141.</div>\n <div class=\"node ntype-drigg odd clearfix\" id=\"node-34566\">\n \n <div class=\"extra_voting_forms karma_3_big\">\n <form action=\"/extra_voting_forms/handle\" method=\"post\" class=\"karma_form_promoted\" id=\"x34566\">\n <div>\n \n <span class=\"karma_score\">13</span>\n <span class=\"karma_buttons\">\n <label class=\"karma_up_not_clicked_not_clickable\" for=\"u34566\">\n <input id=\"u34566\" type=\"radio\" name=\"karma_vote\" value=\"1\"/>\n <span>Up</span>\n </label>\n <label class=\"karma_down_not_clicked_not_clickable\" for=\"d34566\">\n <input id=\"d34566\" type=\"radio\" name=\"karma_vote\" value=\"-1\"/>\n <span>Down</span>\n </label>\n <input type=\"hidden\" name=\"oid\" value=\"34566\"/>\n <input type=\"hidden\" name=\"otype\" value=\"n\"/>\n <input type=\"hidden\" name=\"form_style\" value=\"3\"/>\n <input type=\"hidden\" name=\"form_type\" value=\"form\"/>\n <input type=\"submit\" name=\"submit\" value=\"Vote\" disabled=\"disabled\" />\n <input type=\"hidden\" name=\"js_destination\" value=\"node%2F34566\" />\n </span>\n </div>\n </form></div> \n <div class=\"offset\">\n \n <!-- This accommodates for the fact that Drigg can be configured so that\n a story doesn\'t have a link pointing to an external resource --> \n <h2>\n <a href=\"http://groups.google.com/group/cloud-computing/browse_thread/thread/62171849b6067465/90fdd01252e69f6e?show_docid=90fdd01252e69f6e\">Re: [ Cloud Computing ] Does Cloud Computing Help Configuration Management ?</a>\n </h2>\n \n \n \n \n <div class=\"story\">\n\n <small><a href=\"http://groups.google.com\" rel=\"nofollow\">http://groups.google.com</a> &ndash;</small>\n \n <div style=\"float: left; margin: 0; padding: 0 1em .25em 0;\"><div class=\'adsense adsense_oldcode\'>\n<script type=\"text/javascript\"><!--\ngoogle_ad_client = \"pub-1999751354027840\";\ngoogle_ad_width = 120;\ngoogle_ad_height = 240;\ngoogle_ad_format = \"120x240_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_color_border = \"FFFFFF\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"336699\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"212621\";\ngoogle_ui_features = \"rc:0\";\n//--></script>\n<script type=\"text/javascript\"\n src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script>\n</div></div><!-- google_ad_section_start --><p>There are a couple of schools of thought on how to do this. Each has merits depending on 1) The role the user has and 2) what they are trying to achieve. The fine grained control Ricky has described can be had with the use of products like Puppet or Chef and others. These products will provision a VM based on a</p>\n<!-- google_ad_section_end --><br class=\"clear\"/><div class=\'adsense adsense_oldcode\'>\n<script type=\"text/javascript\"><!--\ngoogle_ad_client = \"pub-1999751354027840\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 15;\ngoogle_ad_format = \"728x15_0ads_al\";\ngoogle_ad_channel = \"6534732346\";\ngoogle_color_border = \"FFFFFF\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"336699\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"212621\";\ngoogle_ui_features = \"rc:0\";\n//--></script>\n<script type=\"text/javascript\"\n src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script>\n</div> \n <a href=\"http://groups.google.com/group/cloud-computing/browse_thread/thread/62171849b6067465/90fdd01252e69f6e?show_docid=90fdd01252e69f6e\">Read &raquo;</a>\n \n\n </div>\n\n \n <div class=\"storydata\">\n <div class=\"picture\">\n <img src=\"http://forums.virtualizationtimes.com/system/files/pictures/picture-17.jpg\" alt=\"aaron&#039;s picture\" title=\"aaron&#039;s picture\" /></div>\n Created by aaron \n 1 year 27 weeks ago &ndash; <strong>Made popular 1 year 27 weeks ago</strong>\n <br />\n Category: <a href=\"/CloudComputing\">Cloud Computing</a> &nbsp; Tags: <ul class=\"links inline\"><li class=\"taxonomy_term_27 first\"><a href=\"/category/category/cloud-computing\" rel=\"tag\" title=\"\">Cloud Computing</a></li>\n<li class=\"taxonomy_term_29\"><a href=\"/category/tags/cloud-computing\" rel=\"tag\" title=\"\">cloud computing</a></li>\n<li class=\"taxonomy_term_30\"><a href=\"/category/tags/infrastructure\" rel=\"tag\" title=\"\">infrastructure</a></li>\n<li class=\"taxonomy_term_115\"><a href=\"/category/tags/trends\" rel=\"tag\" title=\"\">trends</a></li>\n<li class=\"taxonomy_term_11 last\"><a href=\"/category/tags/virtualization\" rel=\"tag\" title=\"\">virtualization</a></li>\n</ul> </div>\n \n <div class=\"links\">\n <ul class=\"links inline\"><li class=\"comment_add first\"><a href=\"/comment/reply/34566#comment-form\" title=\"Share your thoughts and opinions related to this posting.\">Add new comment</a></li>\n<li class=\"addthis\"><span>\n <a href=\"http://www.addthis.com/bookmark.php\"\n onmouseover=\"return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')\"\n onmouseout=\"addthis_close()\"\n onclick=\"return addthis_sendto()\"><img src=\"http://s9.addthis.com/button1-share.gif\" width=\"125\" height=\"16\" alt=\"\" /></a>\n <script type=\"text/javascript\" src=\"http://s7.addthis.com/js/152/addthis_widget.js\"></script>\n </span></li>\n<li class=\"extra_voting_forms last\"><span>\n <div class=\"extra_voting_forms karma_2_small\">\n <form action=\"/extra_voting_forms/handle\" method=\"post\" class=\"karma_form_promoted\" id=\"y34566\">\n <div>\n \n <span class=\"karma_score\">13</span>\n <span class=\"karma_buttons\">\n <select name=\"karma_vote\" disabled=\"disabled\" ><option value=\"0\" selected >0 </option><option value=\"-1\">-1 </option><option value=\"-2\">-2 </option><option value=\"-3\">-3 </option>\n </select>\n <input type=\"hidden\" name=\"oid\" value=\"34566\"/>\n <input type=\"hidden\" name=\"otype\" value=\"n\"/>\n <input type=\"hidden\" name=\"form_style\" value=\"2\"/>\n <input type=\"hidden\" name=\"form_type\" value=\"form\"/>\n <input type=\"submit\" name=\"submit\" value=\"Vote\" disabled=\"disabled\" />\n <input type=\"hidden\" name=\"js_destination\" value=\"node%2F34566\" />\n </span>\n </div>\n </form>\n </div></span></li>\n</ul> </div>\n \n </div>\n</div>\n\n <div class=\"node-related clearfix\">\n\n <h2>Similar stories</h2>\n <dl class=\"drigg-relatedlinks\"><dt><a href=\"/ajaxpro-cannot-work-azure\" rel=\"nofollow\">AjaxPro cannot work on Azure</a> <span class=\"creation\">1 year 21 weeks ago</span></dt><dt><a href=\"/script-output-showhide-function\" rel=\"nofollow\">Script Output with Show/hide function</a> <span class=\"creation\">1 year 43 weeks ago</span></dt><dt><a href=\"/azure-performance-counter\" rel=\"nofollow\">Azure performance counter</a> <span class=\"creation\">1 year 28 weeks ago</span></dt><dt><a href=\"/issue-while-having-xap-file-cloud-blob-storage\" rel=\"nofollow\">Issue while having xap file on cloud blob storage</a> <span class=\"creation\">1 year 30 weeks ago</span></dt></dl> \n </div>\n\n<ul class=\"primary drigg-article-bottom-menu\"><li class=\"active\"><a href=\"/node/34566/\" class=\"active\">Comments</a></li><li ><a href=\"/node/34566/who_voted\" >Who voted</a></li><li ><a href=\"/node/34566/related_links\" >Related links</a></li></ul><div id=\"comments\">\n </div>\n </div> <!-- /content_center -->\n \n <div id=\"content_left\" class=\"column\">\n <div id=\"block-adsense_oldcode-1\" class=\"block block-adsense_oldcode\">\n <div class=\"content\">\n <div style=\'text-align:center\'><div class=\'adsense adsense_oldcode\'>\n<script type=\"text/javascript\"><!--\ngoogle_ad_client = \"pub-1999751354027840\";\ngoogle_ad_width = 180;\ngoogle_ad_height = 90;\ngoogle_ad_format = \"180x90_0ads_al\";\ngoogle_ad_channel = \"6534732346\";\ngoogle_color_border = \"336699\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"336699\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\ngoogle_ui_features = \"rc:0\";\n//--></script>\n<script type=\"text/javascript\"\n src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n</script>\n</div></div> </div>\n</div>\n<div id=\"block-user-3\" class=\"block block-user\">\n <h2 class=\"title\">Who\'s online</h2>\n <div class=\"content\">\n There are currently <em>0 users</em> and <em>189 guests</em> online. </div>\n</div>\n<div id=\"block-tagadelic-2\" class=\"block block-tagadelic\">\n <div class=\"content\">\n <a href=\"/category/tags/cisco\" class=\"tagadelic level1\" rel=\"tag\">cisco</a> \n<a href=\"/category/tags/citrix\" class=\"tagadelic level4\" rel=\"tag\">citrix</a> \n<a href=\"/category/tags/design\" class=\"tagadelic level1\" rel=\"tag\">design</a> \n<a href=\"/category/tags/desktop-virtualization\" class=\"tagadelic level2\" rel=\"tag\">desktop virtualization</a> \n<a href=\"/category/tags/esx\" class=\"tagadelic level4\" rel=\"tag\">esx</a> \n<a href=\"/category/tags/esxi\" class=\"tagadelic level4\" rel=\"tag\">esxi</a> \n<a href=\"/category/tags/infrastructure\" class=\"tagadelic level6\" rel=\"tag\">infrastructure</a> \n<a href=\"/category/tags/lan\" class=\"tagadelic level1\" rel=\"tag\">lan</a> \n<a href=\"/category/tags/network-infrastructure\" class=\"tagadelic level2\" rel=\"tag\">network infrastructure</a> \n<a href=\"/category/tags/networking\" class=\"tagadelic level5\" rel=\"tag\">networking</a> \n<a href=\"/category/tags/routing\" class=\"tagadelic level1\" rel=\"tag\">routing</a> \n<a href=\"/category/tags/server\" class=\"tagadelic level1\" rel=\"tag\">server</a> \n<a href=\"/category/tags/virtualization\" class=\"tagadelic level4\" rel=\"tag\">virtualization</a> \n<a href=\"/category/tags/vmware\" class=\"tagadelic level6\" rel=\"tag\">vmware</a> \n<a href=\"/category/tags/vsphere\" class=\"tagadelic level3\" rel=\"tag\">vsphere</a> \n<div class=\'more-link\'><a href=\"/tagadelic/chunk/2\">more tags</a></div> </div>\n</div>\n<div id=\"block-user-1\" class=\"block block-user\">\n <h2 class=\"title\">Navigation</h2>\n <div class=\"content\">\n <ul class=\"menu\"><li class=\"leaf first\"><a href=\"/contact\" title=\"\">Contact</a></li>\n<li class=\"leaf\"><a href=\"http://www.enterpriseopensource.biz\" title=\"\">Enterprise Open Source</a></li>\n<li class=\"leaf\"><a href=\"/karma_users\" title=\"Users by karma\">Users by karma</a></li>\n<li class=\"leaf last\"><a href=\"/tracker\">Recent posts</a></li>\n</ul> </div>\n</div>\n </div> <!-- /content_left -->\n \n <div id=\"content_right\" class=\"column\">\n <div id=\"block-drigg_blocks-0\" class=\"block block-drigg_blocks\">\n <h2 class=\"title\">Categories</h2>\n <div class=\"content\">\n <ul class=\"drigg-categories\" ><li><a href=\"/\" title=\"All categories\"><span>All</span></a> <span class=\"rss\"><a href=\"/feed/all/All\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/All\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/VMware\" title=\"\"><span>VMware</span></a> <span class=\"rss\"><a href=\"/feed/all/VMware\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/VMware\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/Citrix\" title=\"\"><span>Citrix</span></a> <span class=\"rss\"><a href=\"/feed/all/Citrix\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/Citrix\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/GreenIT\" title=\"\"><span>Green IT</span></a> <span class=\"rss\"><a href=\"/feed/all/GreenIT\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/GreenIT\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a class=\"active\" href=\"/Infrastructure\" title=\"\"><span>Infrastructure</span></a> <span class=\"rss\"><a href=\"/feed/all/Infrastructure\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/Infrastructure\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/Microsoft\" title=\"\"><span>Microsoft</span></a> <span class=\"rss\"><a href=\"/feed/all/Microsoft\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/Microsoft\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/Oracle\" title=\"\"><span>Oracle</span></a> <span class=\"rss\"><a href=\"/feed/all/Oracle\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/Oracle\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/Parallels\" title=\"\"><span>Parallels</span></a> <span class=\"rss\"><a href=\"/feed/all/Parallels\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/Parallels\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/ThinComputing\" title=\"\"><span>Thin Computing</span></a> <span class=\"rss\"><a href=\"/feed/all/ThinComputing\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/ThinComputing\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/CloudComputing\" title=\"\"><span>Cloud Computing</span></a> <span class=\"rss\"><a href=\"/feed/all/CloudComputing\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/CloudComputing\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li><li><a href=\"/SunMicrosystems\" title=\"\"><span>Sun Microsystems</span></a> <span class=\"rss\"><a href=\"/feed/all/SunMicrosystems\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a><a href=\"/feed/published/SunMicrosystems\"><img src=\"http://www.virtualizationtimes.com/sites/default/files/block_feedicon.gif\" title=\"RSS Feed - All stories\" /></a></span></li></ul> </div>\n</div>\n<div id=\"block-comment-0\" class=\"block block-comment\">\n <h2 class=\"title\">Recent comments</h2>\n <div class=\"content\">\n <div class=\"item-list\"><ul><li class=\"first last\"><a href=\"/re-howto-easy-route-based-vpn-configuration-3#comment-1279\">vpn configuration</a><br />23 weeks 4 days ago</li>\n</ul></div> </div>\n</div>\n<div id=\"block-block-2\" class=\"block block-block\">\n <div class=\"content\">\n <table border=\"0\">\n<tr>\n<td><a href=\"http://feeds.feedburner.com/VirtualizationTimesforums\" title=\"Subscribe to my feed\" rel=\"alternate\" type=\"application/rss+xml\"><img src=\"http://www.feedburner.com/fb/images/pub/feed-icon32x32.png\" alt=\"\" style=\"border:0\" /></a><a href=\"http://feeds.feedburner.com/VirtualizationTimesforums\" title=\"Subscribe to my feed\" rel=\"alternate\" type=\"application/rss+xml\"></a></td>\n<td>\n<p><a href=\"http://feeds.feedburner.com/virtualizationtimesforums\"><img src=\"http://feeds.feedburner.com/~fc/virtualizationtimesforums?bg=99CCFF&amp;fg=444444&amp;anim=1\" height=\"26\" width=\"88\" style=\"border:0\" alt=\"\" /></a></p>\n</td>\n</tr>\n</table> </div>\n</div>\n </div> <!-- /content_right -->\n \n </div> <!-- /content -->\n\n <div id=\"footer\">\n \n </div> <!-- /footer -->\n\n <script type=\"text/javascript\" src=\"/sites/all/modules/google_analytics/googleanalytics.js?M\"></script>\n<script type=\"text/javascript\">\n<!--//--><![CDATA[//><!--\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");document.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\n//--><!]]>\n</script>\n<script type=\"text/javascript\">\n<!--//--><![CDATA[//><!--\ntry{var pageTracker = _gat._getTracker(\"UA-6880964-3\");pageTracker._trackPageview();} catch(err) {}\n//--><!]]>\n</script>\n\n \n </div> <!-- /container -->\n\n</body>\n</html>\n', created = 1328415681, expire = -1, headers = 'Content-Type: text/html; charset=utf-8', serialized = 0 WHERE cid = 'http://forums.virtualizationtimes.com/re-cloud-computing-does-cloud-computing-help-configuration-management-10' in /home/nsolop/public_html/vdiggforums/includes/cache.inc on line 109.
9

Wpf ComboBox and ContentControl in MVVM Master/Detail .

http://social.msdn.microsoft.com

I need edit Element property Schedule that selected in ListBox by ComboBox and after that by UserControl. ListBox and ComboBox  and ContentControl are bound by CurrentElement in ModelView. To select item - selectedItem of ComboBox uses function Equals() of Types EveryDay or EveryMonth. This function compares pointers of Element.Schedule in ListBox and Schedule in ComboBox and them of course not equals. Behavior that I expect from ComboBox that objects of one class taken to be equivalent. I tried to use SelectedValue to compare unique value of type but this doesn't work correctly.
 Thank  for any suggestion.
 
I have MVVM master /details like this:
 
<Window.Resources>

<DataTemplate DataType="{x:Type model:EveryDay}">
<views:EveryDayView/>
</DataTemplate>

<DataTemplate DataType="{x:Type model:EveryMonth}">
<views:EveryMonthView/>
</DataTemplate>

</Window.Resources>

<Grid>
<ListBox Margin="12,24,0,35" Name="schedules"
IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding Path=Elements}"
SelectedItem="{Binding Path=CurrentElement}"
DisplayMemberPath="Name" HorizontalAlignment="Left" Width="120"/>
<ContentControl Margin="168,86,32,35" Name="contentControl1"
Content="{Binding Path=CurrentElement.Schedule}" />
<ComboBox Height="23" Margin="188,24,51,0" Name="comboBox1" VerticalAlignment="Top"
IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding Path=Schedules}"
SelectedItem="{Binding Path=CurrentElement.Schedule}"
DisplayMemberPath="Name"
SelectedValuePath="ID"
SelectedValue="{Binding Path=CurrentElement.Schedule.ID}"

/>
</Grid>

 
This Window has DataContext class:
 
public class MainViewModel : INotifyPropertyChanged
{
public MainViewModel()
{
_elements.Add(new Element("first", new EveryDay("First EveryDay object")));
_elements.Add(new Element("second", new EveryMonth("Every Month object")));
_elements.Add(new Element("third", new EveryDay("Second EveryDay object")));

_schedules.Add(new EveryDay());
_schedules.Add(new EveryMonth());

}

private ObservableCollection<ScheduleBase> _schedules = new ObservableCollection<ScheduleBase>();
public ObservableCollection<ScheduleBase> Schedules
{
get
{
return _schedules;
}

set
{
_schedules = value;
this.OnPropertyChanged("Schedules");

}
}

private Element _currentElement = null;
public Element CurrentElement
{
get
{
return this._currentElement;
}
set
{
this._currentElement = value;
this.OnPropertyChanged("CurrentElement");
}
}

private ObservableCollection<Element> _elements = new ObservableCollection<Element>();
public ObservableCollection<Element> Elements
{
get
{
return _elements;
}

set
{
_elements = value;
this.OnPropertyChanged("Elements");

}
}

One of the views:

<UserControl x:Class="Views.EveryDayView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Grid >
<GroupBox Header="Every Day Data" Name="groupBox1" VerticalAlignment="Top">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<TextBox Name="textBox2" Text="{Binding Path=AnyDayData}" />
</Grid>
</GroupBox>
</Grid>

 
 


Read »
patricia's picture
Created by patricia 1 year 45 weeks ago – Made popular 1 year 45 weeks ago
Category: Azure   Tags:

Who's online

There are currently 0 users and 205 guests online.