Skip to content

Instantly share code, notes, and snippets.

@lfryc
lfryc / richwidgets-release-process.adoc
Last active December 29, 2015 05:49
Draft of RichWidgets release process

Prerequisites

Environment

Node

0.10.21

Notify Development Team

public class ArquillianExtension implements LoadableExtension {
@Override
public void register(ExtensionBuilder builder) {
builder.service(BrowserCapabilities.class, PhantomJSIgnoringSSL.class);
}
public static class PhantomJSIgnoringSSL implements BrowserCapabilities {
@Override
/**
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
@lfryc
lfryc / $.java
Last active December 22, 2015 06:08
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@ImplementsLocationStrategy(ByJQuery.JQueryLocationStrategy.class)
public @interface $ {
String value();
}
/*
* JBoss, Home of Professional Open Source
* Copyright , Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
@JavaScript("ChartTest")
@Dependency("js-tests/chart-test.js")
public interface ChartTest {
void testSeries();
}
package org.richfaces.component;
/**
* The component is able to decide whether its subtree should be visited.
*
* @author Lukas Fryc
*/
public interface VisitChildrenRejectable {
/**
package org.richfaces;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
@lfryc
lfryc / charts.xhtml
Last active December 20, 2015 12:29
<s:chart>
<r:repeat value="#{persons}" var="person">
<s:series type="line">
<r:repeat value="#{person.points}" var="p">
<s:point x="#{p.x}" y="#{p.y}"/>
</r:repeat>
</s:series>
</r:repeat>
</s:chart>