This file contains hidden or 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 | |
usage() | |
{ | |
cat << EOF | |
SYNOPSIS | |
$0 <options> | |
DESCRIPTION | |
Clone a repo on github into a 'new' local folder. |
This file contains hidden or 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
<button id="createNew">Create a new Dialog</button> | |
<aui:script use="aui-base"> | |
var myFunction = function(options) { | |
var dialog = new A.Dialog( | |
A.merge(options, { | |
bodyContent: options.content, | |
title: 'New Dialog', | |
xy: [150, 150], | |
modal: true |
This file contains hidden or 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
<?xml version="1.0"?> | |
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
<jsp-config> | |
<taglib> | |
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri> | |
<taglib-location>/WEB-INF/tld/c.tld</taglib-location> | |
</taglib> | |
</jsp-config> | |
</web-app> |
This file contains hidden or 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
portal-dependency-jars=\ | |
jstl-api.jar,\ | |
jstl-impl.jar | |
portal-dependency-tlds=\ | |
c.tld |
This file contains hidden or 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
<deployment-settings> | |
<setting name="portal-dependency-jars" value="jstl-api.jar,jstl-impl.jar" /> | |
<setting name="portal-dependency-tlds" value="c.tld" /> | |
</deployment-settings> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<!DOCTYPE project> | |
<project name="sevencogs-theme" basedir="." default="deploy"> | |
<import file="../build-common-theme.xml" /> | |
<property name="theme.parent" value="_styled" /> | |
<target name="compile"> | |
<mkdir dir="docroot/WEB-INF/classes"/> |
This file contains hidden or 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
import java.io.File; | |
import java.io.IOException; | |
import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler; | |
import org.apache.commons.httpclient.HttpClient; | |
import org.apache.commons.httpclient.HttpException; | |
import org.apache.commons.httpclient.HttpStatus; | |
import org.apache.commons.httpclient.UsernamePasswordCredentials; | |
import org.apache.commons.httpclient.auth.AuthScope; | |
import org.apache.commons.httpclient.cookie.CookiePolicy; |
This file contains hidden or 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
show-breadcrumb=Show Breadcrumb | |
portal-main-color=Main Background Color |
This file contains hidden or 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
[email protected]@ | |
module-group-id=liferay | |
module-incremental-version=1 | |
tags= | |
short-description= | |
change-log= | |
page-url=http://www.liferay.com | |
author=Liferay, Inc. | |
licenses=LGPL |
This file contains hidden or 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
@@ -22,6 +22,7 @@ import com.liferay.portal.kernel.servlet.ServletResponseUtil; | |
import com.liferay.portal.kernel.servlet.SessionErrors; | |
import com.liferay.portal.kernel.servlet.SessionMessages; | |
import com.liferay.portal.kernel.util.ContentTypes; | |
+import com.liferay.portal.kernel.util.GetterUtil; | |
import com.liferay.portal.kernel.util.JavaConstants; | |
import com.liferay.portal.kernel.util.ParamUtil; | |
import com.liferay.portal.kernel.util.StringPool; | |
@@ -168,6 +169,20 @@ public class PortletAction extends Action { | |
protected void addSuccessMessage( |
OlderNewer