11 | |
12 | </#{cc.attrs.name}>
13 | |
14 |
15 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/java/org/dojoserverfaces/showcase/model/component/AccordionContainer.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.showcase.model.component;
7 |
8 | import javax.faces.bean.ManagedBean;
9 |
10 | @ManagedBean
11 | public class AccordionContainer extends StackContainer {
12 | private Integer duration = 500;
13 |
14 | public Integer getDuration() {
15 | return duration;
16 | }
17 |
18 | public void setDuration(Integer duration) {
19 | this.duration = duration;
20 | }
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/java/org/dojoserverfaces/showcase/rest/DataStoreApplication.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.showcase.rest;
7 |
8 | import java.util.HashSet;
9 | import java.util.Set;
10 |
11 | import javax.ws.rs.core.Application;
12 |
13 | public class DataStoreApplication extends Application {
14 | @Override
15 | public Set> getClasses() {
16 | Set> classes = new HashSet>();
17 | classes.add(DataStore.class);
18 | return classes;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/dojoserverfaces-test/dojoserverfaces-test-app/src/main/webapp/page.js:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | function dojoServerFaces_test_setRowColor(id) {
7 | if (document.getElementsByTagName) {
8 | var table = document.getElementById(id);
9 | var rows = table.rows;
10 | for ( var i = 0; i < rows.length; i++) {
11 | var className = rows[i].className;
12 | if (className == "" || className.indexOf("row") == 0) {
13 | if ((i & 1) == 0) {
14 | rows[i].className = "row1";
15 | } else {
16 | rows[i].className = "row2";
17 | }
18 | }
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/dojoserverfaces-core/src/main/java/org/dojoserverfaces/widget/property/TrueProperty.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.widget.property;
7 |
8 | import javax.faces.component.UIComponent;
9 |
10 | /**
11 | * Hardcoded true boolean property
12 | *
13 | */
14 | public class TrueProperty extends BooleanProperty {
15 |
16 | public TrueProperty(String name, String propertyName) {
17 | super(name, propertyName);
18 | }
19 |
20 | @Override
21 | public Object getAttributeValue(UIComponent component) {
22 | return Boolean.TRUE;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/behavior/html/grid/GridRemoveSelectedRows.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.behavior.html.grid;
7 |
8 |
9 | import org.dojoserverfaces.build.annotation.Behavior;
10 |
11 | /**
12 | * This behavior will allow you to remove the selected rows of a datagrid.
13 | */
14 | @Behavior
15 | public class GridRemoveSelectedRows extends SimpleGridOperationBase {
16 | public GridRemoveSelectedRows() {
17 | super("removeSelectedRows");
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/component/html/gadget/ToolbarSeparator.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.component.html.gadget;
7 |
8 | import org.dojoserverfaces.build.annotation.GeneratedComponent;
9 | import org.dojoserverfaces.component.html.WidgetBase;
10 |
11 | /**
12 | * A line for separating/grouping toolbar items.
13 | */
14 | @GeneratedComponent(dojoType = "dijit.ToolbarSeparator", displayName = "Tool Bar Separator")
15 | class ToolbarSeparator extends WidgetBase {
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/progressbarprogress/preview.xhtml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/titlepane/TitlePaneValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.titlepane;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class TitlePaneValues extends WidgetValues {
11 | public TitlePaneValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/togglebutton/ToggleButtonInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.togglebutton;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class ToggleButtonInteraction extends AbstractSingleValuedWidgetInteraction {
12 | public ToggleButtonInteraction(WidgetValues widgetValues) {
13 | super(widgetValues);
14 | }
15 | }
--------------------------------------------------------------------------------
/dojoserverfaces-annotations/src/main/java/org/dojoserverfaces/build/annotation/Behavior.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.build.annotation;
7 |
8 | import java.lang.annotation.ElementType;
9 | import java.lang.annotation.Retention;
10 | import java.lang.annotation.RetentionPolicy;
11 | import java.lang.annotation.Target;
12 |
13 | /**
14 | * Annotation used to declare a JSF behavior.
15 | */
16 |
17 | @Target(ElementType.TYPE)
18 | @Retention(RetentionPolicy.SOURCE)
19 | public @interface Behavior {
20 | public String value () default "";
21 | }
22 |
--------------------------------------------------------------------------------
/dojoserverfaces-constants/src/main/java/org/dojoserverfaces/constants/HtmlElementType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.constants;
7 |
8 | /**
9 | * Constants for identifying an html element type.
10 | */
11 | public enum HtmlElementType {
12 | INPUT_CHECKBOX,
13 | INPUT_RADIO,
14 | INPUT_TEXT,
15 | INPUT_TEXTAREA,
16 | INPUT_PASSWORD,
17 | INPUT_RANGE,
18 | DIV,
19 | DIV_JSF_FORM,
20 | DIV_AND_INPUT,
21 | SPAN,
22 | SELECT,
23 | SELECT_OPTION,
24 | TABLE,
25 | ACTION,
26 | MULTI_PART_FORM
27 | }
28 |
--------------------------------------------------------------------------------
/dojoserverfaces-core/src/main/java/org/dojoserverfaces/widget/property/FalseProperty.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.widget.property;
7 |
8 | import javax.faces.component.UIComponent;
9 |
10 | /**
11 | * Hardcoded false boolean property
12 | *
13 | */
14 | public class FalseProperty extends BooleanProperty {
15 |
16 | public FalseProperty(String name, String propertyName) {
17 | super(name, propertyName);
18 | }
19 |
20 | @Override
21 | public Object getAttributeValue(UIComponent component) {
22 | return Boolean.FALSE;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/component/html/gadget/ComboButton.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.component.html.gadget;
7 |
8 | import org.dojoserverfaces.build.annotation.Gadget;
9 |
10 | /**
11 | * A combination button and drop-down button. Users can click one side to
12 | * "press" the button, or click an arrow icon to display the drop down.
13 | *
14 | */
15 | @Gadget(displayName = "Combo Button", dojoType = "dijit.form.ComboButton")
16 | class ComboButton extends ButtonBase {
17 | }
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/pageimport/PageImportValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.pageimport;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class PageImportValues extends WidgetValues {
11 | public PageImportValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/booleanradiobutton/BooleanRadioButtonValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.booleanradiobutton;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class BooleanRadioButtonValues extends WidgetValues {
11 |
12 | public BooleanRadioButtonValues() {
13 | super(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, "BAD",
14 | "true", "false", "true", "false", "on", "off", "on", "off");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/timetextbox/TimeTextBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.timetextbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class TimeTextBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public TimeTextBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/webapp/dojoserverfaces/page.js:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | function dojoServerFaces_test_setRowColor(id) {
7 | if (document.getElementsByTagName) {
8 | var table = document.getElementById(id);
9 | var rows = table.rows;
10 | for ( var i = 0; i < rows.length; i++) {
11 | var className = rows[i].className;
12 | if (className == "" || className.indexOf("row") == 0) {
13 | if ((i & 1) == 0) {
14 | rows[i].className = "row1";
15 | } else {
16 | rows[i].className = "row2";
17 | }
18 | }
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/behavior/submit/SubmitBean.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.behavior.submit;
7 |
8 | import javax.faces.bean.ManagedBean;
9 | import javax.faces.bean.SessionScoped;
10 |
11 | @ManagedBean(name = "submitBean")
12 | @SessionScoped
13 | public class SubmitBean {
14 | private String name = "DojoServerFaces";
15 |
16 | public String getName() {
17 | return name;
18 | }
19 |
20 | public void setName(String name) {
21 | this.name = name;
22 | }
23 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/contentpane/ContentPaneValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.contentpane;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class ContentPaneValues extends WidgetValues {
11 | public ContentPaneValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/pageimport/PageImportInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.pageimport;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class PageImportInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public PageImportInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/combobutton/ComboButtonInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.combobutton;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class ComboButtonInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public ComboButtonInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/tabcontainer/TabContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.tabcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class TabContainerValues extends WidgetValues {
11 | public TabContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/widget/values/VariableName.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.widget.values;
7 |
8 | /**
9 | * The enum class for Variable names.
10 | *
11 | * @author "jatin.varshney@in.ibm.com"
12 | *
13 | */
14 | public enum VariableName {
15 | FIRST(0), SECOND(1), THIRD(2), FOURTH(3), BAD(4);
16 | private int value;
17 |
18 | VariableName(int value) {
19 | this.value = value;
20 | }
21 |
22 | public int getValue() {
23 | return value;
24 | }
25 | }
--------------------------------------------------------------------------------
/dojoserverfaces-constants/pom.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
10 | 4.0.0
11 | org.dojoserverfaces
12 | dojoserverfaces-constants
13 | 1.0.0
14 | DojoServerFaces - Constants
15 | jar
16 |
17 |
18 | org.dojoserverfaces
19 | dojoserverfaces
20 | 1.0.0
21 |
22 |
23 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/contentpane/ContentPaneInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.contentpane;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class ContentPaneInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public ContentPaneInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/colorpalette/ColorPaletteInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.colorpalette;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class ColorPaletteInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public ColorPaletteInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/gridcontainer/GridContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.gridcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class GridContainerValues extends WidgetValues {
11 | public GridContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/tabcontainer/TabContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.tabcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class TabContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public TabContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-example/src/main/webapp/resources/taglib/source/tagNoChildren.xhtml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | | <#{cc.attrs.name}
13 | /> |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/menubar/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
15 | A menu bar listing menu choices
16 | horizontally.
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/progressbar/preview.xhtml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/textarea/TextAreaInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.textarea;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class TextAreaInteraction extends AbstractSingleValuedWidgetInteraction {
12 | public TextAreaInteraction(WidgetValues widgetValues) {
13 | super(widgetValues);
14 | this.TAG_NAME = "textarea";
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/verticalslider/VerticalSliderInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.verticalslider;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class VerticalSliderInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public VerticalSliderInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/inlineeditbox/InlineEditBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.inlineeditbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class InlineEditBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public InlineEditBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/gridcontainer/GridContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.gridcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class GridContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public GridContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/stackcontainer/StackContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.stackcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class StackContainerValues extends WidgetValues {
11 | public StackContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/tablecontainer/TableContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.tablecontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class TableContainerValues extends WidgetValues {
11 | public TableContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-test/dojoserverfaces-test-support/src/main/java/org/dojoserverfaces/test/support/widget/VariableName.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.test.support.widget;
7 |
8 | /**
9 | * The enum class for Variable names.
10 | *
11 | * @author "jatin.varshney@in.ibm.com"
12 | *
13 | */
14 | public enum VariableName {
15 | FIRST(0), SECOND(1), THIRD(2), FOURTH(3), BAD(4);
16 | private int value;
17 |
18 | VariableName(int value) {
19 | this.value = value;
20 | }
21 |
22 | public int getValue() {
23 | return value;
24 | }
25 | }
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/component/html/form/DynamicTextArea.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.component.html.form;
7 |
8 | import org.dojoserverfaces.build.annotation.EditableValueHolder;
9 | import org.dojoserverfaces.constants.HtmlElementType;
10 |
11 | /**
12 | * A multi-line text input area that expands with input.
13 | *
14 | */
15 | @EditableValueHolder(dojoType = "dijit.form.Textarea", elementType = HtmlElementType.INPUT_TEXTAREA)
16 | class DynamicTextArea extends TextAreaBase {
17 |
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/container/tooltipdialog/TooltipDialogInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.container.tooltipdialog;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class TooltipDialogInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public TooltipDialogInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/dropdownbutton/DropDownButtonInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.dropdownbutton;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class DropDownButtonInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public DropDownButtonInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/gadget/richtexteditor/RichTextEditorInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.gadget.richtexteditor;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class RichTextEditorInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public RichTextEditorInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/bordercontainer/BorderContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.bordercontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class BorderContainerValues extends WidgetValues {
11 | public BorderContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/stackcontainer/StackContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.stackcontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class StackContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public StackContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/tablecontainer/TableContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.tablecontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class TableContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public TableContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/horizontalslider/HorizontalSliderInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.horizontalslider;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class HorizontalSliderInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public HorizontalSliderInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/bordercontainer/BorderContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.bordercontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class BorderContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public BorderContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/tree/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/validationtextbox/ValidationTextBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.validationtextbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class ValidationTextBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public ValidationTextBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-annotations/src/main/java/org/dojoserverfaces/build/annotation/Component.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.build.annotation;
7 |
8 | import java.lang.annotation.ElementType;
9 | import java.lang.annotation.Retention;
10 | import java.lang.annotation.RetentionPolicy;
11 | import java.lang.annotation.Target;
12 |
13 | /**
14 | * An annotation defines an annotation used to declare a JSF
15 | * component.
16 | */
17 |
18 | @Target(ElementType.TYPE)
19 | @Retention(RetentionPolicy.SOURCE)
20 | public @interface Component {
21 | public String value () default "";
22 | }
23 |
--------------------------------------------------------------------------------
/dojoserverfaces-core/src/main/java/org/dojoserverfaces/widget/DojoType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.widget;
7 |
8 |
9 | /**
10 | * Base class to represent a dojo object type definition to be used by a
11 | * component definition.
12 | *
13 | */
14 | public abstract class DojoType {
15 | /**
16 | * @return the type string identifying the dojo object type to create
17 | */
18 | public abstract String geTypeName();
19 |
20 | /**
21 | * @return flag indicating if this dojo type is a Dijit.
22 | */
23 | public abstract boolean isDijit();
24 | }
25 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/behavior/html/grid/GridAddRow.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.behavior.html.grid;
7 |
8 | import org.dojoserverfaces.build.annotation.Behavior;
9 |
10 | /**
11 | * This behavior will allow you to add a new row to a datagrid. You identify the
12 | * fields to set and the components from which to retrieve their initial values.
13 | *
14 | */
15 | @Behavior
16 | public class GridAddRow extends GridDataBehaviorBase {
17 | public GridAddRow() {
18 | super("store", "newItem");
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/accordioncontainer/AccordionContainerValues.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.accordioncontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
9 |
10 | public class AccordionContainerValues extends WidgetValues {
11 | public AccordionContainerValues() {
12 | super(new String("DojoServerFaces Widgets Library"), new String(
13 | "Welcome to IBM"), new String("Dojo"), new String("DojoServerFaces"),
14 | "badValue");
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test/src/main/java/org/dojoserverfaces/library/test/data/model/KeyValuePair.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.library.test.data.model;
7 |
8 | public class KeyValuePair {
9 | private String key;
10 | private String value;
11 |
12 | public KeyValuePair (String key, String value) {
13 | this.key = key;
14 | this.value = value;
15 | }
16 |
17 | public String getKey () {
18 | return this.key;
19 | }
20 |
21 | public String getValue () {
22 | return this.value;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/multiselect/MultiSelectInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.multiselect;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class MultiSelectInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public MultiSelectInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "select";
16 | }
17 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/layout/accordioncontainer/AccordionContainerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.layout.accordioncontainer;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class AccordionContainerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public AccordionContainerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | }
16 | }
--------------------------------------------------------------------------------
/dojoserverfaces-annotations/src/main/java/org/dojoserverfaces/build/annotation/Attribute.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.build.annotation;
7 |
8 | import java.lang.annotation.ElementType;
9 | import java.lang.annotation.Retention;
10 | import java.lang.annotation.RetentionPolicy;
11 | import java.lang.annotation.Target;
12 |
13 | @Target(ElementType.METHOD)
14 | @Retention(RetentionPolicy.SOURCE)
15 | public @interface Attribute {
16 |
17 | /**
18 | * @return boolean indicating whether the attribute is required to be set.
19 | */
20 | public boolean required () default false;
21 | }
22 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/behavior/toggleproperty/TogglePropertyBean.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.behavior.toggleproperty;
7 |
8 | import javax.faces.bean.ManagedBean;
9 | import javax.faces.bean.SessionScoped;
10 |
11 | @ManagedBean(name = "togglePropertyBean")
12 | @SessionScoped
13 | public class TogglePropertyBean {
14 | private String label = "toggle me off";
15 |
16 | public String getLabel() {
17 | return label;
18 | }
19 |
20 | public void setLabel(String label) {
21 | this.label = label;
22 | }
23 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/datetextbox/DateTextBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.datetextbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class DateTextBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public DateTextBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "div//div[2]//input";
16 | }
17 | }
--------------------------------------------------------------------------------
/dojoserverfaces-core/src/main/java/org/dojoserverfaces/widget/property/ClientIdProperty.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.widget.property;
7 |
8 | import javax.faces.component.UIComponent;
9 |
10 | public class ClientIdProperty extends StringProperty {
11 | public ClientIdProperty(String name) {
12 | super(name);
13 | }
14 |
15 | public ClientIdProperty(String name, String propertyName) {
16 | super(name, propertyName);
17 | }
18 |
19 | @Override
20 | public Object getAttributeValue(UIComponent component) {
21 | return component.getClientId();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/calendar/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/toolbar/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/numberspinner/NumberSpinnerInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.numberspinner;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class NumberSpinnerInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public NumberSpinnerInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "div//div[3]//input";
16 | }
17 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/numbertextbox/NumberTextBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.numbertextbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class NumberTextBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public NumberTextBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "div//div[2]//input";
16 | }
17 | }
--------------------------------------------------------------------------------
/dojoserverfaces-annotations/src/main/java/org/dojoserverfaces/build/annotation/FaceletTag.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.build.annotation;
7 |
8 | import java.lang.annotation.ElementType;
9 | import java.lang.annotation.Retention;
10 | import java.lang.annotation.RetentionPolicy;
11 | import java.lang.annotation.Target;
12 |
13 | /**
14 | * An annotation used to identify a JSF component
15 | */
16 |
17 | @Target(ElementType.TYPE)
18 | @Retention(RetentionPolicy.SOURCE)
19 | public @interface FaceletTag {
20 | /**
21 | * @return display name
22 | */
23 | public String value () default "";
24 | }
25 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-example/src/main/java/org/dojoserverfaces/test/data/model/DataModelBean.java:
--------------------------------------------------------------------------------
1 | package org.dojoserverfaces.test.data.model;
2 |
3 | import java.util.ArrayList;
4 |
5 | import javax.faces.bean.ManagedBean;
6 | import javax.faces.bean.SessionScoped;
7 | import javax.faces.model.ListDataModel;
8 |
9 | @ManagedBean(name="dataModel")
10 | @SessionScoped
11 | public class DataModelBean {
12 | private ListDataModel data;
13 |
14 | public DataModelBean () {
15 | ArrayList exampleValues =
16 | new ArrayList();
17 |
18 | for (int i = 0; i < 10; ++i) {
19 | exampleValues.add (new KeyValuePair ("item" + i, "value" + i));
20 | }
21 |
22 | this.data = new ListDataModel (exampleValues);
23 | }
24 |
25 | public ListDataModel getData () {
26 | return this.data;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/colorpalette/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/dynamictextarea/DynamicTextAreaInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.dynamictextarea;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class DynamicTextAreaInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public DynamicTextAreaInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "textarea";
16 | }
17 |
18 | }
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/java/org/dojoserverfaces/showcase/model/component/VerticalRuleLabels.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.showcase.model.component;
7 |
8 | import javax.faces.bean.ManagedBean;
9 | import javax.faces.bean.SessionScoped;
10 |
11 | @ManagedBean
12 | @SessionScoped
13 | public class VerticalRuleLabels extends HorizontalRuleLabels {
14 | String container = "rightDecoration";
15 |
16 | public String getContainer() {
17 | return container;
18 | }
19 |
20 | public void setContainer(String container) {
21 | this.container = container;
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/button/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/form/currencytextbox/CurrencyTextBoxInteraction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.form.currencytextbox;
7 |
8 | import org.dojoserverfaces.tests.widget.interaction.AbstractSingleValuedWidgetInteraction;
9 | import org.dojoserverfaces.tests.widget.values.WidgetValues;
10 |
11 | public class CurrencyTextBoxInteraction extends
12 | AbstractSingleValuedWidgetInteraction {
13 | public CurrencyTextBoxInteraction(WidgetValues widgetValues) {
14 | super(widgetValues);
15 | this.TAG_NAME = "div//div[2]//input";
16 | }
17 | }
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-mobile/src/main/java/org/dojoserverfaces/mobile/component/gadget/Opener.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.mobile.component.gadget;
7 |
8 | import org.dojoserverfaces.build.annotation.Gadget;
9 | import org.dojoserverfaces.mobile.component.WidgetBase;
10 |
11 | /**
12 | * Opener is a utility widget that behaves either as a Overlay on small screen
13 | * devices or as a Tooltip otherwise.
14 | *
15 | */
16 | @Gadget(dojoType = "dojox.mobile.Opener", requiredCss = "dojox/mobile/themes/{theme}/Opener.css")
17 | public class Opener extends WidgetBase {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/behavior/html/grid/GridFilter.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.behavior.html.grid;
7 |
8 | import org.dojoserverfaces.build.annotation.Behavior;
9 |
10 | /**
11 | * This behavior will allow for filtering the content of a datagrid. You
12 | * identify the fields to filter on and the components from which to retrieve
13 | * filer values which can contain wildcards (e.g. "*").
14 | *
15 | */
16 | @Behavior
17 | public class GridFilter extends GridDataBehaviorBase {
18 | public GridFilter() {
19 | super("filter");
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-mobile-showcase/src/main/webapp/component/heading.xhtml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/booleancheckbox/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
16 |
17 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/tree/preview.xhtml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/verticalrule/preview.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
14 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/dojoserverfaces-core/src/main/java/org/dojoserverfaces/widget/property/DimensionProperty.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.widget.property;
7 |
8 | /**
9 | * Class representing an HTML dimension (e.g. 1.5em, 10px).
10 | */
11 | public class DimensionProperty extends StringProperty {
12 |
13 | public DimensionProperty(String name, String propertyName) {
14 | super(name, propertyName);
15 | }
16 |
17 | public DimensionProperty(String name) {
18 | this(name, name);
19 | }
20 |
21 | // TODO if STAGE = DEVELOPMENT then validate property as
22 | // a legal dimension (e.g. 1.5em, 300px,...)
23 | }
24 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-mobile/src/main/java/org/dojoserverfaces/mobile/component/form/SecretBox.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.mobile.component.form;
7 |
8 | import org.dojoserverfaces.build.annotation.EditableValueHolder;
9 | import org.dojoserverfaces.constants.HtmlElementType;
10 |
11 | /**
12 | * This component act as
13 | *
14 | */
15 | @EditableValueHolder(dojoType = "dojox.mobile.TextBox", requiredCss = { "dojox/mobile/themes/{theme}/TextBox.css" }, elementType = HtmlElementType.INPUT_PASSWORD)
16 | public class SecretBox extends TextBoxBase {
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/java/org/dojoserverfaces/showcase/data/model/JsfData.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.showcase.data.model;
7 |
8 | import java.util.Date;
9 |
10 | import javax.faces.bean.ManagedBean;
11 |
12 | @ManagedBean
13 | public class JsfData {
14 | Date dt;
15 | Long tim;
16 |
17 | public Long getTim() {
18 | return tim;
19 | }
20 |
21 | public void setTim(Long tim) {
22 | this.tim = tim;
23 | }
24 |
25 | public Date getDt() {
26 | return dt;
27 | }
28 |
29 | public void setDt(Date dt) {
30 | this.dt = dt;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/tooltip/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/booleanradiobutton/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
16 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/multiselect/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/tooltipdialog/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-standard/src/main/java/org/dojoserverfaces/component/html/layout/ContainerBase.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.component.html.layout;
7 |
8 | import org.dojoserverfaces.build.annotation.Property;
9 | import org.dojoserverfaces.component.html.WidgetBase;
10 |
11 | public class ContainerBase extends WidgetBase {
12 | /**
13 | * When this component's title attribute is used to for a tab label, accordion
14 | * pane title, etc., this specifies the tooltip to appear when the mouse is
15 | * hovered over that text.
16 | */
17 | @Property
18 | String tooltip;
19 | }
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-mobile-showcase/src/main/java/org/dojoserverfaces/showcase/data/model/JsfData.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.showcase.data.model;
7 |
8 | import java.util.Date;
9 |
10 | import javax.faces.bean.ManagedBean;
11 |
12 | @ManagedBean
13 | public class JsfData {
14 | Date dt;
15 | Long tim;
16 |
17 | public Long getTim() {
18 | return tim;
19 | }
20 |
21 | public void setTim(Long tim) {
22 | this.tim = tim;
23 | }
24 |
25 | public Date getDt() {
26 | return dt;
27 | }
28 |
29 | public void setDt(Date dt) {
30 | this.dt = dt;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/gridcontainerlite/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/java/org/dojoserverfaces/tests/values/LongData.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.tests.values;
7 |
8 | public class LongData {
9 | private Long data;
10 |
11 | public LongData() {
12 | //
13 | }
14 |
15 | public LongData(Long data) {
16 | this.data = data;
17 | }
18 |
19 | public LongData(Object data) {
20 | if (data instanceof Long)
21 | this.data = (Long) data;
22 | }
23 |
24 | public Long getData() {
25 | return data;
26 | }
27 |
28 | public void setData(Long data) {
29 | this.data = data;
30 | }
31 | }
--------------------------------------------------------------------------------
/dojoserverfaces-libraries/dojoserverfaces-library-mobile/src/main/java/org/dojoserverfaces/mobile/component/form/ExpandingTextArea.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
3 | * Available via Academic Free License >= 2.1 OR the modified BSD license.
4 | * see: http://dojotoolkit.org/license for details
5 | *******************************************************************************/
6 | package org.dojoserverfaces.mobile.component.form;
7 |
8 | import org.dojoserverfaces.build.annotation.EditableValueHolder;
9 | import org.dojoserverfaces.constants.HtmlElementType;
10 |
11 | /**
12 | * A multi-line text input area that expands with input.
13 | *
14 | */
15 | @EditableValueHolder(dojoType = "dojox.mobile.ExpandingTextArea", elementType = HtmlElementType.INPUT_TEXTAREA, requiredCss = { "dojox/mobile/themes/{theme}/TextArea.css" })
16 | class ExpandingTextArea extends TextAreaBase {
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/accordioncontainer/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/bordercontainer/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/dialog/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/textarea/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
16 |
18 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-showcase/src/main/webapp/sections/uploader/prompt.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
17 |
19 |
--------------------------------------------------------------------------------
/dojoserverfaces-library-test-selenium/src/main/webapp/dojoserverfaces/data/datagrid/ajaxRefresh.xhtml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
11 |
12 | Test case which ajaxically updates ManagedBean's value bound to the component
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
|