You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ck...@apache.org on 2010/01/27 21:37:48 UTC
svn commit: r903822 [5/17] - in /myfaces/trinidad/trunk/trinidad-examples:
./ trinidad-components-showcase/ trinidad-components-showcase/src/
trinidad-components-showcase/src/main/
trinidad-components-showcase/src/main/java/ trinidad-components-showcas...
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,131 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.page;
+
+import org.apache.myfaces.trinidad.model.ViewIdPropertyMenuModel;
+import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
+
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ *
+ */
+public class PageBean implements java.io.Serializable {
+
+ private ViewIdPropertyMenuModel _model = null;
+ private List<Object> _aliasList = null;
+ private boolean _aliasListAdded = false;
+ private String demoText;
+
+ public PageBean() {
+
+ ArrayList<PageNavigationItem> arayList = new ArrayList<PageNavigationItem>();
+
+ PageNavigationItem page1 = new PageNavigationItem();
+ PageNavigationItem page2 = new PageNavigationItem();
+ PageNavigationItem page3 = new PageNavigationItem();
+ PageNavigationItem page4 = new PageNavigationItem();
+
+ page1.setLabel("Home");
+ page2.setLabel("Careers");
+ page3.setLabel("ContactListBean");
+ page4.setLabel("Sign In");
+
+ // Todo Here is a layout problem (each item is rendered in its ovn menu) ... I think we face with a unsuited
+ // befaviour of the page/nodeStamp facet.
+ // From the visual point of view the result is a worst aspect of the menu overall.
+ arayList.add(page1);
+ //arayList.add(page2);
+ //arayList.add(page 3);
+ //arayList.add(page4);
+
+ ChildPropertyTreeModel childProperty = new ChildPropertyTreeModel();
+ childProperty.setWrappedData(arayList);
+ _model = new ViewIdPropertyMenuModel();
+ _model.setWrappedData(childProperty);
+ }
+
+ /**
+ * @param model an instance of ViewIdPropertyMenuModel
+ */
+ public void setModel(ViewIdPropertyMenuModel model) {
+ _model = model;
+ _aliasListAdded = false;
+
+ }
+
+ public String getDemoText() {
+ return demoText;
+ }
+
+ public String getActionString() {
+ return PageNavigationItem.getAction();
+ }
+
+ public void setDemoText1(String demoText) {
+ this.demoText = "Text 1";
+ }
+
+ public ViewIdPropertyMenuModel getModel() {
+ if (_model != null && !_aliasListAdded) {
+ _aliasListAdded = true;
+ if (_aliasList != null && !_aliasList.isEmpty()) {
+ int size = _aliasList.size();
+ if (size % 2 == 1)
+ size = size - 1;
+
+ for (int i = 0; i < size; i = i + 2) {
+ _model.addViewId(_aliasList.get(i).toString(),
+ _aliasList.get(i + 1).toString());
+ }
+ }
+ }
+ return _model;
+ }
+
+ public List<Object> getAliasList() {
+ return _aliasList;
+ }
+
+
+ public static class PageNavigationItem {
+ private String _label = null;
+ private static String _actionString = "This is the <b>Home</b> page";
+
+ public PageNavigationItem() {
+ }
+
+ public void setLabel(String label) {
+ _label = label;
+ }
+
+ public String getLabel() {
+ return _label;
+ }
+
+ public void doAction() {
+ _actionString = "This is the <b>" + _label + "</b> page";
+ }
+
+ public static String getAction() {
+ return _actionString;
+ }
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.page;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PageDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982021956882498710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Expanded,
+ Compact
+ }
+
+ /**
+ * Constructor.
+ */
+ public PageDemo() {
+ super(ComponentDemoId.page, "Page");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Compact, this,
+ "/components/panel/page/pageExpanded.xhtml", getSummaryResourcePath(),
+ "/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java"));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Expanded, this,
+ "/components/panel/page/pageExpanded.xhtml", getSummaryResourcePath(),
+ "/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java"));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/page/page.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/page/summary.xhtml";
+ }
+
+ public String getBackingBeanResourcePath() {
+ return "/org/apache/myfaces/trinidaddemo/components/panel/page/PageBean.java";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/page/PageDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelAccordion;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class AccordionPanelDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -4995780657798809893L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ DiscloseMany,
+ DiscloseNone
+ }
+
+ public AccordionPanelDemo() {
+ super(ComponentDemoId.panelAccordion, "Accordion Panel");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.DiscloseMany, "Disclose Many", this,
+ "/components/panel/panelAccordion/panelAccordionDiscloseMany.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.DiscloseNone, "Disclose None", this,
+ "/components/panel/panelAccordion/panelAccordionDiscloseNone.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelAccordion/panelAccordion.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelAccordion/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelAccordion/AccordionPanelDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,62 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelBox;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelBoxDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -4995780647798809893L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Dark,
+ Light,
+ Medium,
+ Transparent
+ }
+ /**
+ * Constructor.
+ */
+ public PanelBoxDemo() {
+ super(ComponentDemoId.panelBox, "Panel Box");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Dark, this,
+ "/components/panel/panelBox/panelBoxDark.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Light, this,
+ "/components/panel/panelBox/panelBoxLight.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Medium, this,
+ "/components/panel/panelBox/panelBoxMedium.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Transparent, this,
+ "/components/panel/panelBox/panelBoxTransparent.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelBox/panelBox.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelBox/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelBox/PanelBoxDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelButtonBar;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class PanelButtonBarDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956882438710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Default,
+ Center,
+ Left,
+ Right,
+ End,
+ Start
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelButtonBarDemo() {
+ super(ComponentDemoId.panelButtonBar, "Panel Button Bar", VARIANTS.Default, "Default");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Center, "Center", this,
+ "/components/panel/panelButtonBar/panelButtonBarCenter.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Left, "Left", this,
+ "/components/panel/panelButtonBar/panelButtonBarLeft.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Right, "Right", this,
+ "/components/panel/panelButtonBar/panelButtonBarRight.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.End, "End", this,
+ "/components/panel/panelButtonBar/panelButtonBarEnd.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Start, "Start", this,
+ "/components/panel/panelButtonBar/panelButtonBarStart.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelButtonBar/panelButtonBar.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelButtonBar/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelButtonBar/PanelButtonBarDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelCaptionGroup;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class PanelCaptionGroupDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956882438710L;
+
+ /**
+ * Constructor.
+ */
+ public PanelCaptionGroupDemo() {
+ super(ComponentDemoId.panelCaptionGroup, "Panel Caption Group");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelCaptionGroup/panelCaptionGroup.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelCaptionGroup/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelCaptionGroup/PanelCaptionGroupDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelChoice;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelChoiceDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956882438710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Buttom,
+ Center,
+ Start,
+ Top
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelChoiceDemo() {
+ super(ComponentDemoId.panelChoice, "Panel Choice");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Buttom, this,
+ "/components/panel/panelChoice/panelChoiceButtom.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Center, this,
+ "/components/panel/panelChoice/panelChoiceCenter.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Start, this,
+ "/components/panel/panelChoice/panelChoiceStart.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Top, this,
+ "/components/panel/panelChoice/panelChoiceTop.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelChoice/panelChoice.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelChoice/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelChoice/PanelChoiceDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelHeader;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelHeaderDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956882338710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ ConfirmationMessage,
+ ErrorMessage,
+ None,
+ WarningMessage,
+ InfoMessage
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelHeaderDemo() {
+ super(ComponentDemoId.panelHeader, "Panel Header");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ConfirmationMessage, this,
+ "/components/panel/panelHeader/panelHeaderConfirmationMessage.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ErrorMessage, this,
+ "/components/panel/panelHeader/panelHeaderErrorMessage.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InfoMessage, this,
+ "/components/panel/panelHeader/panelHeaderInfoMessage.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.None, this,
+ "/components/panel/panelHeader/panelHeaderNone.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.WarningMessage, this,
+ "/components/panel/panelHeader/panelHeaderWarningMessage.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelHeader/panelHeader.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelHeader/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelHeader/PanelHeaderDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelLabelAndMessage;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class PanelLabelAndMessageDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061356882438720L;
+
+ /**
+ * Constructor.
+ */
+ public PanelLabelAndMessageDemo() {
+ super(ComponentDemoId.panelLabelAndMessage, "Panel Label And Message");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelLabelAndMessage/panelLabelAndMessage.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelLabelAndMessage/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelLabelAndMessage/PanelLabelAndMessageDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelList;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class PanelListDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956382498710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Default
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelListDemo() {
+ super(ComponentDemoId.panelList, "Panel List", VARIANTS.Default, "Default");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelList/panelList.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelList/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelList/PanelListDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelPage;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class PanelPageDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061356482438720L;
+
+ /**
+ * Constructor.
+ */
+ public PanelPageDemo() {
+ super(ComponentDemoId.panelPage, "Panel Page");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelPage/panelPage.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelPage/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPage/PanelPageDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelPageHeader;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelPageHeaderDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982067356482438720L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Compact,
+ Expanded,
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelPageHeaderDemo() {
+ super(ComponentDemoId.panelPageHeader, "Panel Page Header");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Compact, "Compact", this,
+ "/components/panel/panelPageHeader/panelPageHeaderCompact.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Expanded, "Expanded", this,
+ "/components/panel/panelPageHeader/panelPageHeaderExpanded.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelPageHeader/panelPageHeader.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelPageHeader/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPageHeader/PanelPageHeaderDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelPopup;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelPopupDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982064956382498710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Hover,
+ Centered,
+ Relatve,
+ Click
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelPopupDemo() {
+ super(ComponentDemoId.panelPopup, "Panel Popup");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Centered, this,
+ "/components/panel/panelPopup/panelPopupCentered.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Click, this,
+ "/components/panel/panelPopup/panelPopupClick.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Hover, this,
+ "/components/panel/panelPopup/panelPopupHover.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Relatve, this,
+ "/components/panel/panelPopup/panelPopupRelative.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelPopup/panelPopup.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelPopup/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelPopup/PanelPopupDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelRadio;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelRadioDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982067956382498710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Top,
+ Center,
+ Start,
+ End
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelRadioDemo() {
+ super(ComponentDemoId.panelRadio, "Panel Radio");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Center, this,
+ "/components/panel/panelRadio/panelRadioCenter.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.End, this,
+ "/components/panel/panelRadio/panelRadioEnd.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Start, this,
+ "/components/panel/panelRadio/panelRadioStart.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Top, this,
+ "/components/panel/panelRadio/panelRadioTop.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelRadio/panelRadio.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelRadio/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelRadio/PanelRadioDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelSideBar;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class PanelSideBarDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956382492710L;
+
+ /**
+ * Constructor.
+ */
+ public PanelSideBarDemo() {
+ super(ComponentDemoId.panelSideBar, "Panel Side Bar");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelSideBar/panelSideBar.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelSideBar/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelSideBar/PanelSideBarDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelTabbed;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class PanelTabbedDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982041956382498710L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Above,
+ Below,
+ Both,
+ }
+
+ /**
+ * Constructor.
+ */
+ public PanelTabbedDemo() {
+ super(ComponentDemoId.panelTabbed, "Panel Tabbed");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Above, this,
+ "/components/panel/panelTabbed/panelTabbedAbove.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Below, this,
+ "/components/panel/panelTabbed/panelTabbedBelow.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Both, this,
+ "/components/panel/panelTabbed/panelTabbedBoth.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelTabbed/panelTabbed.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelTabbed/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTabbed/PanelTabbedDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.panel.panelTip;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class PanelTipDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061356382498740L;
+
+ /**
+ * Constructor.
+ */
+ public PanelTipDemo() {
+ super(ComponentDemoId.panelTip, "Panel Tip");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/panel/panelTip/panelTip.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/panel/panelTip/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/panelTip/PanelTipDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.select.chooseColor;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class ChooseColorDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956883398710L;
+
+ /**
+ * Constructor.
+ */
+ public ChooseColorDemo() {
+ super(ComponentDemoId.chooseColor, "Choose Color");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/select/chooseColor/chooseColor.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/select/chooseColor/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseColor/ChooseColorDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.select.chooseDate;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class ChooseDateDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956813398710L;
+
+ /**
+ * Constructor.
+ */
+ public ChooseDateDemo() {
+ super(ComponentDemoId.chooseDate, "Choose Date");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/select/chooseDate/chooseDate.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/select/chooseDate/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/chooseDate/ChooseDateDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.select.selectBooleanCheckbox;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class SelectBooleanCheckboxDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1982061956813398110L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Simple,
+ Detailed
+ }
+
+ /**
+ * Constructor.
+ */
+ public SelectBooleanCheckboxDemo() {
+ super(ComponentDemoId.selectBooleanCheckbox, "Select Boolean Checkbox");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
+ "/components/select/selectBooleanCheckbox/selectBooleanCheckboxDetailed.xhtml", getSummaryResourcePath()));
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
+ "/components/select/selectBooleanCheckbox/selectBooleanCheckboxSimple.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/select/selectBooleanCheckbox/selectBooleanCheckbox.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/select/selectBooleanCheckbox/summary.xhtml";
+ }
+}
\ No newline at end of file
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanCheckbox/SelectBooleanCheckboxDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.select.selectBooleanRadio;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class SelectBooleanRadioDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1989061956813398110L;
+
+ private enum VARIANTS implements IComponentDemoVariantId {
+ Simple,
+ Detailed
+ }
+
+ /**
+ * Constructor.
+ */
+ public SelectBooleanRadioDemo() {
+ super(ComponentDemoId.selectBooleanRadio, "Select Boolean Radio", VARIANTS.Simple, "Simple");
+
+ addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, "Detailed", this,
+ "/components/select/selectBooleanRadio/selectBooleanRadioDetailed.xhtml", getSummaryResourcePath()));
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/select/selectBooleanRadio/selectBooleanRadioSimple.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/select/selectBooleanRadio/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectBooleanRadio/SelectBooleanRadioDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.components.select.selectItem;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class SelectItemDemo extends AbstractComponentDemo {
+
+ private static final long serialVersionUID = -1989061956813398310L;
+
+ /**
+ * Constructor.
+ */
+ public SelectItemDemo() {
+ super(ComponentDemoId.selectItem, "Select Item");
+ }
+
+ public String getJsfResourcePath() {
+ return "/components/select/selectItem/selectItem.xhtml";
+ }
+
+ public String getSummaryResourcePath() {
+ return "/components/select/selectItem/summary.xhtml";
+ }
+}
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/select/selectItem/SelectItemDemo.java
------------------------------------------------------------------------------
svn:mime-type = text/plain