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
@EntryPoint | |
public class PickListApp { | |
@Inject | |
private List<String> capitalsList; | |
@PostConstruct | |
public void init() { | |
LogUtil.log("****************** this is a test *************"); | |
List<LIElement> sourceList = new ArrayList<LIElement>(capitalsList.size()); |
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
16:07:00,734 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--0_0_0_0_0_0_0_0-8080-2) JSF1068: Cannot instantiate component with component-type org.richfaces.TabPanel | |
16:07:00,736 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/Test].[FacesServlet]] (http--0_0_0_0_0_0_0_0-8080-2) Servlet.service() for servlet FacesServlet threw exception: javax.faces.FacesException: Expression Error: Named Object: org.richfaces.TabPanel not found. | |
at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1910) [jsf-impl-2.1.7-jbossorg-2.jar:] | |
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1164) [jsf-impl-2.1.7-jbossorg-2.jar:] | |
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:524) [jsf-impl-2.1.7-jbossorg-2.jar:] | |
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:168) [jsf-im |
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
<h:form id="form"> | |
<rich:tabPanel id="tabPanel"> | |
<rich:tab id="manual_1" title="Manual Tab 1"> | |
Manual Tab 1 | |
</rich:tab> | |
<a4j:repeat value="#{richBean.names}" var="name" id="repeat" iterationStatusVar="var"> | |
<rich:tab title="#{name}" id="dynamic"> | |
#{name} content | |
</rich:tab> | |
</a4j:repeat> |
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
/* | |
* JBoss, Home of Professional Open Source | |
* Copyright ${year}, 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. |
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 class LoginComponent implements Component { | |
@Root | |
private WebElement driver; | |
@FindBy(id="loginForm:username") | |
private WebElement usernameInput; | |
@FindBy(id="loginForm:password") | |
private WebElement passwordInput; |
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
------------------------------------------------------------------------------- | |
Test set: org.richfaces.test.graphene.LoginScreenGrapheneComponentTest | |
------------------------------------------------------------------------------- | |
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.939 sec <<< FAILURE! | |
should_login_successfully(org.richfaces.test.graphene.LoginScreenGrapheneComponentTest) Time elapsed: 0.034 sec <<< ERROR! | |
java.lang.RuntimeException: The components fields can not be initialised! | |
at org.jboss.arquillian.graphene.enricher.ComponentObjectsEnricher.setObjectToField(ComponentObjectsEnricher.java:137) | |
at org.jboss.arquillian.graphene.enricher.ComponentObjectsEnricher.initNotComponentFields(ComponentObjectsEnricher.java:123) | |
at org.jboss.arquillian.graphene.enricher.ComponentObjectsEnricher.initFieldsAnnotatedByFindBy(ComponentObjectsEnricher.java:85) | |
at org.jboss.arquillian.graphene.enricher.ComponentObjectsEnricher.enrich(ComponentObjectsEnricher.ja |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.richfaces.test.GrapheneTest</groupId> | |
<artifactId>GrapheneTest</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<dependencyManagement> | |
<dependencies> |
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
(function ($) { | |
$.widget('rf.orderingList', { | |
options: { | |
disabled: false, | |
color: 'red' | |
}, | |
_create: function () { |
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
Option 1: no form: | |
<b:modal> | |
<f:facet name="header"> | |
... | |
</f:facet> | |
some body content here | |
<f:facet name="footer"> | |
... | |
</f:facet> |
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
/* portrait screen width */ | |
@media screen and (max-device-width: 480px) { | |
.portrait { | |
} | |
.landscape { | |
display:none; | |
} | |
} |