Skip to content

Instantly share code, notes, and snippets.

View jdlich's full-sized avatar

Jacob Lichner jdlich

View GitHub Profile
Caused by: org.jasig.portal.portlet.PortletDispatchException: The portlet window 'PortletWindow [portletWindowId=55_u11l1n14_6, delegationParentId=null, portletMode=view, windowState=normal, expirationCache=null, renderParameters={}, publicRenderParameters={}, portletEntity=PortletEntity [portletEntityId=55_u11l1n14_6, layoutNodeId=u11l1n14, userId=6, portletDefinition=PortletDefinition [portletDefinitionId=55, fname=sports-illustrated, portletDescriptorKey=PortletDescriptorKey [frameworkPortlet=false, webAppName=/NewsReaderPortlet, portletName=single-feed-news], portletType=PortletTypeImpl [internalId=3, name=RSS, descr=News Feed, cpdUri=/org/jasig/portal/portlets/NewsReaderPortlet/NewsReader.cpd.xml]]]]' threw an exception while executing renderMarkup.
at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRenderMarkupInternal(PortletRendererImpl.java:299)
at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRenderMarkup(PortletRendererImpl.java:225)
at org.jasig.portal.portlet.rendering.work
#!/usr/bin/env ruby
require 'prawn'
class String
def self.street_num_first
self.match(/(\D+)(\d+)(\s.{2,}$)?(\s\D{1}$)?/) do
street = $1 if $1 # => "Test Drive "
num = $2 if $2 # => "1234"
suite = $3 if $3 # => "#A"
#navigation {
position: relative;
top: 8px;
background: url(../images/umass/nav.gif) repeat-x top left;
height: 35px;
h1 {
display: none;
}
/* View tabs */
/* Change the active tab color. */
.aui-tab-active {
background-color: #14405C;
border-color: #14405C;
a, a:hover, a:focus {
color: #fff;
}
&:after {
function slide(el, direction) {
el.stop(true,true)['slide' + direction](opts.speed);
}
@mixin button-hover($type) {
@if $type == 'dark' {
@include button-style(
$darkButtonHoverBorder,
$darkButtonHoverBackground,
$darkButtonHoverText,
$darkButtonHoverTextShadow,
$darkButtonHoverGradient1,
$darkButtonHoverGradient2
);
<!-- options menu -->
<div class="notification-options" style="display: none;">
<p class="notification-date-filter">
View: <a class="all" href="#">All</a> | <a class="today active" href="#">Today</a>
</p>
<p class="notification-refresh"><a href="#">Refresh</a></p>
</div>
<!-- loading -->
<div class="notification-loading"></div>
<!-- options menu -->
<div class="notification-options">
<p class="notification-date-filter">View: <a class="all active" href="#">All</a> | <a class="today" href="#">Today</a></p>
<p class="notification-refresh"><a href="#">Refresh</a></p>
</div>
task :compile do
scss = "trunk/uportal-war/src/main/webapp/media/skins/universality/common/scss"
skin = "trunk/uportal-war/src/main/webapp/media/skins/universality/uportal3"
system "sass --watch #{scss}:#{skin} --style expanded"
end
@each $style in 'dark', 'light', 'login', 'utility', 'search', 'websearch', 'default' {
@if $type == $style {
@include button-style(
$#{$style}ButtonBorder,
$#{$style}ButtonBackground,
$#{$style}ButtonText,
$#{$style}ButtonTextShadow,
$#{$style}ButtonGradient1,
$#{$style}ButtonGradient2
);