This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<!--Load the AJAX API--> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
// Load the Visualization API and the piechart package. | |
google.load('visualization', '1.0', {'packages':['corechart']}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ENV_DIR=~/.environments | |
ENV_HOME=$ENV_DIR | |
#Process JAVA with JDK | |
DEFAULT_JDK_VERSION=7 | |
DEFAULT_JDK_HOME=$ENV_DIR/jdk | |
function setup_jdk() { | |
#Process old version of jdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void testUpdateLayout() { | |
PageData page = createPage(createSite(SiteType.PORTAL, "test_layout_page"), "page", new PageState.Builder().build()); | |
createElements(page, FOO_PORTLET, BAR_PORTLET); | |
String layoutId = page.layoutId; | |
NodeContext<Element, ElementState> pageContext = layoutService.loadLayout(Element.MODEL, layoutId, null); | |
assertEquals(2, pageContext.getNodeSize()); | |
Element foo = pageContext.getNode(0); | |
Element bar = pageContext.getNode(1); | |
testInfo(foo, bar); |
NewerOlder