You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2010/11/10 09:14:02 UTC
svn commit: r1033391 [24/35] - in /myfaces/trinidad/trunk: scripts/
trinidad-examples/trinidad-blank/src/main/webapp/
trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/
trinidad-examples/trinidad-co...
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx Wed Nov 10 08:13:47 2010
@@ -1,37 +1,37 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <tr:componentDef var="stuff">
- <tr:panelBox text="Symbol:#{stuff.symbol} Company:#{stuff.company}">
- <tr:outputText value="#{stuff.description}"/>
- <tr:outputFormatted
- value="<br>Current Value:<b>$#{stuff.amount}</b>"/>
- <tr:outputFormatted rendered="#{not empty bindings}"
- value="<br>Value attribute is:#{bindings}"/>
- <tr:facetRef facetName="action"/>
- </tr:panelBox>
- </tr:componentDef>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <tr:componentDef var="stuff">
+ <tr:panelBox text="Symbol:#{stuff.symbol} Company:#{stuff.company}">
+ <tr:outputText value="#{stuff.description}"/>
+ <tr:outputFormatted
+ value="<br>Current Value:<b>$#{stuff.amount}</b>"/>
+ <tr:outputFormatted rendered="#{not empty bindings}"
+ value="<br>Value attribute is:#{bindings}"/>
+ <tr:facetRef facetName="action"/>
+ </tr:panelBox>
+ </tr:componentDef>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx Wed Nov 10 08:13:47 2010
@@ -1,47 +1,47 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="ResetButton Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_resetButton.html"
- text="Tag Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>resetButton </b>"/>
- <tr:inputText value="some text" shortDesc="Enter text"/>
- <tr:resetButton binding="#{editor.component}" text="Reset"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="ResetButton Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_resetButton.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>resetButton </b>"/>
+ <tr:inputText value="some text" shortDesc="Enter text"/>
+ <tr:resetButton binding="#{editor.component}" text="Reset"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx Wed Nov 10 08:13:47 2010
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="SelectBooleanCheckbox Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanCheckbox.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanCheckbox"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>selectBooleanCheckbox</b>"/>
- <tr:selectBooleanCheckbox binding="#{editor.component}" label="Label" text="item"
- value="#{data.boolean}"/>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectBooleanCheckbox Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanCheckbox.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanCheckbox"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectBooleanCheckbox</b>"/>
+ <tr:selectBooleanCheckbox binding="#{editor.component}" label="Label" text="item"
+ value="#{data.boolean}"/>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx Wed Nov 10 08:13:47 2010
@@ -1,56 +1,56 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="SelectBooleanRadio Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanRadio.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanRadio"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>selectBooleanRadio</b>"/>
- <tr:panelFormLayout>
- <tr:selectBooleanRadio group="theGroup" selected="true" binding="#{editor.component}"
- label="Label" text="item" autoSubmit="true"
- onclick="alert('hi'); return true;"/>
- <tr:selectBooleanRadio group="theGroup" text="item 2"/>
- <tr:selectBooleanRadio group="theGroup" text="item 3"/>
- </tr:panelFormLayout>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectBooleanRadio Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanRadio.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanRadio"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectBooleanRadio</b>"/>
+ <tr:panelFormLayout>
+ <tr:selectBooleanRadio group="theGroup" selected="true" binding="#{editor.component}"
+ label="Label" text="item" autoSubmit="true"
+ onclick="alert('hi'); return true;"/>
+ <tr:selectBooleanRadio group="theGroup" text="item 2"/>
+ <tr:selectBooleanRadio group="theGroup" text="item 3"/>
+ </tr:panelFormLayout>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx Wed Nov 10 08:13:47 2010
@@ -1,55 +1,55 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="SelectItem Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectItem.html"
- text="Tag Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>selectItem</b>"/>
- <tr:outputText value="selectOneChoice with 3 selectItem components. The first value is linked to the editor"/>
- <tr:selectOneChoice label="Label">
- <tr:selectItem binding="#{editor.component}" label="First" value="1"/>
- <tr:selectItem label="Second" value="2"/>
- <tr:selectItem label="Third" value="3"/>
- </tr:selectOneChoice>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="SelectItem Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectItem.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectItem</b>"/>
+ <tr:outputText value="selectOneChoice with 3 selectItem components. The first value is linked to the editor"/>
+ <tr:selectOneChoice label="Label">
+ <tr:selectItem binding="#{editor.component}" label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectOneChoice>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx Wed Nov 10 08:13:47 2010
@@ -1,106 +1,106 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="SelectManyCheckbox Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyCheckbox.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyCheckbox"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyCheckbox bound to integer array</b>"/>
- <tr:selectManyCheckbox binding="#{editor.component}" label="Label"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.intArray}">
- <tr:selectItem label="First" value="1"/>
- <tr:selectItem label="Second" value="2"/>
- <tr:selectItem label="Third" value="3"/>
- </tr:selectManyCheckbox>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyCheckbox bound to string array</b>"/>
- <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
- value="#{list.stringArray}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyCheckbox>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyCheckbox bound to list</b>"/>
- <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
- value="#{list.objectList}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyCheckbox>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyCheckbox with f:selectItems bound to a List of SelectItem custom object"/>
- <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedCars}">
- <f:selectItems value="#{list.makes}"/>
- </tr:selectManyCheckbox>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyCheckbox with tr:selectItem bound to SelectItem custom object"/>
- <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedCars}">
- <tr:selectItem value="#{list.firstSelectItemCar}"/>
- <tr:selectItem value="#{list.secondSelectItemCar}"/>
- <tr:selectItem value="#{list.thirdSelectItemCar}"/>
- </tr:selectManyCheckbox>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyCheckbox with tr:selectItem bound to SelectItem Strings.
- In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
- to the client. If you need to have the value on the client, one reason might be
- if you are relying on the value for javascript, then set valuePassThru to true.
- Otherwise, it defaults to false, and the client-side value will be an index, and converted
- automatically on the server. valuePassThru=false allows the component to be bound to
- custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
- <tr:selectManyCheckbox label="Strings, valuePassThru is true" valuePassThru="true"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedSelectItems}">
- <tr:selectItem value="#{list.firstSelectItemString}"/>
- <tr:selectItem value="#{list.secondSelectItemString}"/>
- <tr:selectItem value="#{list.thirdSelectItemString}"/>
- </tr:selectManyCheckbox>
- <tr:commandButton text="Submit"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="SelectManyCheckbox Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyCheckbox.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyCheckbox"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyCheckbox bound to integer array</b>"/>
+ <tr:selectManyCheckbox binding="#{editor.component}" label="Label"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.intArray}">
+ <tr:selectItem label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectManyCheckbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyCheckbox bound to string array</b>"/>
+ <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
+ value="#{list.stringArray}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyCheckbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyCheckbox bound to list</b>"/>
+ <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
+ value="#{list.objectList}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyCheckbox>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyCheckbox with f:selectItems bound to a List of SelectItem custom object"/>
+ <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedCars}">
+ <f:selectItems value="#{list.makes}"/>
+ </tr:selectManyCheckbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyCheckbox with tr:selectItem bound to SelectItem custom object"/>
+ <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedCars}">
+ <tr:selectItem value="#{list.firstSelectItemCar}"/>
+ <tr:selectItem value="#{list.secondSelectItemCar}"/>
+ <tr:selectItem value="#{list.thirdSelectItemCar}"/>
+ </tr:selectManyCheckbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyCheckbox with tr:selectItem bound to SelectItem Strings.
+ In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
+ to the client. If you need to have the value on the client, one reason might be
+ if you are relying on the value for javascript, then set valuePassThru to true.
+ Otherwise, it defaults to false, and the client-side value will be an index, and converted
+ automatically on the server. valuePassThru=false allows the component to be bound to
+ custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
+ <tr:selectManyCheckbox label="Strings, valuePassThru is true" valuePassThru="true"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedSelectItems}">
+ <tr:selectItem value="#{list.firstSelectItemString}"/>
+ <tr:selectItem value="#{list.secondSelectItemString}"/>
+ <tr:selectItem value="#{list.thirdSelectItemString}"/>
+ </tr:selectManyCheckbox>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx Wed Nov 10 08:13:47 2010
@@ -1,106 +1,106 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="SelectManyListbox Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyListbox.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyListbox"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyListbox bound to integer array</b>"/>
- <tr:selectManyListbox binding="#{editor.component}" label="Label"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.intArray}">
- <tr:selectItem label="First" value="1"/>
- <tr:selectItem label="Second" value="2"/>
- <tr:selectItem label="Third" value="3"/>
- </tr:selectManyListbox>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyListbox bound to string array</b>"/>
- <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
- value="#{list.stringArray}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyListbox>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyListbox bound to list</b>"/>
- <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
- value="#{list.objectList}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyListbox>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyListbox with f:selectItems bound to a List of SelectItem custom object"/>
- <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedCars}">
- <f:selectItems value="#{list.makes}"/>
- </tr:selectManyListbox>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyListbox with tr:selectItem bound to SelectItem custom object"/>
- <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedCars2}">
- <tr:selectItem value="#{list.firstSelectItemCar}"/>
- <tr:selectItem value="#{list.secondSelectItemCar}"/>
- <tr:selectItem value="#{list.thirdSelectItemCar}"/>
- </tr:selectManyListbox>
- <tr:outputFormatted styleUsage="instruction"
- value="selectManyListbox with tr:selectItem bound to SelectItem Strings.
- In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
- to the client. If you need to have the value on the client, one reason might be
- if you are relying on the value for javascript, then set valuePassThru to true.
- Otherwise, it defaults to false, and the client-side value will be an index, and converted
- automatically on the server. valuePassThru=false allows the component to be bound to
- custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
- <tr:selectManyListbox label="Strings, valuePassThru is true" valuePassThru="true"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.selectedSelectItems}">
- <tr:selectItem value="#{list.firstSelectItemString}"/>
- <tr:selectItem value="#{list.secondSelectItemString}"/>
- <tr:selectItem value="#{list.thirdSelectItemString}"/>
- </tr:selectManyListbox>
- <tr:commandButton text="Submit"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="SelectManyListbox Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyListbox.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyListbox"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyListbox bound to integer array</b>"/>
+ <tr:selectManyListbox binding="#{editor.component}" label="Label"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.intArray}">
+ <tr:selectItem label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectManyListbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyListbox bound to string array</b>"/>
+ <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
+ value="#{list.stringArray}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyListbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyListbox bound to list</b>"/>
+ <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
+ value="#{list.objectList}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyListbox>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyListbox with f:selectItems bound to a List of SelectItem custom object"/>
+ <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedCars}">
+ <f:selectItems value="#{list.makes}"/>
+ </tr:selectManyListbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyListbox with tr:selectItem bound to SelectItem custom object"/>
+ <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedCars2}">
+ <tr:selectItem value="#{list.firstSelectItemCar}"/>
+ <tr:selectItem value="#{list.secondSelectItemCar}"/>
+ <tr:selectItem value="#{list.thirdSelectItemCar}"/>
+ </tr:selectManyListbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="selectManyListbox with tr:selectItem bound to SelectItem Strings.
+ In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
+ to the client. If you need to have the value on the client, one reason might be
+ if you are relying on the value for javascript, then set valuePassThru to true.
+ Otherwise, it defaults to false, and the client-side value will be an index, and converted
+ automatically on the server. valuePassThru=false allows the component to be bound to
+ custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
+ <tr:selectManyListbox label="Strings, valuePassThru is true" valuePassThru="true"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.selectedSelectItems}">
+ <tr:selectItem value="#{list.firstSelectItemString}"/>
+ <tr:selectItem value="#{list.secondSelectItemString}"/>
+ <tr:selectItem value="#{list.thirdSelectItemString}"/>
+ </tr:selectManyListbox>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx Wed Nov 10 08:13:47 2010
@@ -1,85 +1,85 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="SelectManyShuttle Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyShuttle.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyShuttle"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyShuttle bound to string array</b>"/>
- <tr:messages/>
- <tr:selectManyShuttle id="shuttle1" leadingHeader="Available values:"
- trailingHeader="Selected values:" binding="#{editor.component}"
- label="Selected Values" valueChangeListener="#{list.valueChanged}"
- value="#{list.stringArray}">
- <tr:selectItem shortDesc="The First Item" label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyShuttle>
- <tr:message for="shuttle1"/>
- <jsp:directive.include file="editor.jspf"/>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectManyShuttle bound to list</b>"/>
- <tr:selectManyShuttle id="shuttle2" leadingHeader="Available values:"
- trailingHeader="Selected values:"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.objectList}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyShuttle>
- <tr:message for="shuttle2"/>
- <!--
- <tr:outputFormatted styleUsage="instruction" value="<b>selectManyShuttle bound to integer array</b>"/>
-
- <tr:selectManyShuttle id="shuttle3"
- leadingHeader="Available values:"
- trailingHeader="Selected values:"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.intArray}">
- <tr:selectItem label="First" value="#{1}"/>
- <tr:selectItem label="Second" value="#{2}"/>
- <tr:selectItem label="Third" value="#{3}"/>
- </tr:selectManyShuttle>
- <tr:message for="shuttle3"/>
--->
- <tr:commandButton text="Submit"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectManyShuttle Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyShuttle.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyShuttle"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyShuttle bound to string array</b>"/>
+ <tr:messages/>
+ <tr:selectManyShuttle id="shuttle1" leadingHeader="Available values:"
+ trailingHeader="Selected values:" binding="#{editor.component}"
+ label="Selected Values" valueChangeListener="#{list.valueChanged}"
+ value="#{list.stringArray}">
+ <tr:selectItem shortDesc="The First Item" label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyShuttle>
+ <tr:message for="shuttle1"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectManyShuttle bound to list</b>"/>
+ <tr:selectManyShuttle id="shuttle2" leadingHeader="Available values:"
+ trailingHeader="Selected values:"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.objectList}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyShuttle>
+ <tr:message for="shuttle2"/>
+ <!--
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectManyShuttle bound to integer array</b>"/>
+
+ <tr:selectManyShuttle id="shuttle3"
+ leadingHeader="Available values:"
+ trailingHeader="Selected values:"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.intArray}">
+ <tr:selectItem label="First" value="#{1}"/>
+ <tr:selectItem label="Second" value="#{2}"/>
+ <tr:selectItem label="Third" value="#{3}"/>
+ </tr:selectManyShuttle>
+ <tr:message for="shuttle3"/>
+-->
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx Wed Nov 10 08:13:47 2010
@@ -1,54 +1,54 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="SelectOneChoice Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneChoice.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneChoice"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>selectOneChoice</b>"/>
- <tr:selectOneChoice label="Label" binding="#{editor.component}" unselectedLabel="None">
- <tr:selectItem label="First" value="1"/>
- <tr:selectItem label="Second" value="2"/>
- <tr:selectItem label="Third" value="3"/>
- </tr:selectOneChoice>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectOneChoice Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneChoice.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneChoice"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectOneChoice</b>"/>
+ <tr:selectOneChoice label="Label" binding="#{editor.component}" unselectedLabel="None">
+ <tr:selectItem label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectOneChoice>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneListbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneListbox.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneListbox.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneListbox.jspx Wed Nov 10 08:13:47 2010
@@ -1,64 +1,64 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="SelectOneListbox Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneListbox.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneListbox"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectOneListbox bound to integer</b>"/>
- <tr:selectOneListbox binding="#{editor.component}" label="Label"
- valueChangeListener="#{list.valueChanged}" value="#{list.singleInt}">
- <tr:selectItem label="First" value="1"/>
- <tr:selectItem label="Second" value="2"/>
- <tr:selectItem label="Third" value="3"/>
- </tr:selectOneListbox>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>selectOneListbox bound to string</b>"/>
- <tr:selectOneListbox label="Label" valueChangeListener="#{list.valueChanged}"
- value="#{list.singleString}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectOneListbox>
- <tr:commandButton text="Submit"/>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectOneListbox Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneListbox.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneListbox"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectOneListbox bound to integer</b>"/>
+ <tr:selectOneListbox binding="#{editor.component}" label="Label"
+ valueChangeListener="#{list.valueChanged}" value="#{list.singleInt}">
+ <tr:selectItem label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectOneListbox>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>selectOneListbox bound to string</b>"/>
+ <tr:selectOneListbox label="Label" valueChangeListener="#{list.valueChanged}"
+ value="#{list.singleString}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectOneListbox>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneListbox.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneRadio.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneRadio.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneRadio.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneRadio.jspx Wed Nov 10 08:13:47 2010
@@ -1,54 +1,54 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
- 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.
-
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="SelectOneRadio Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneRadio.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneRadio"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>selectOneRadio</b>"/>
- <tr:selectOneRadio binding="#{editor.component}" label="Label" value="#{data.string}">
- <tr:selectItem label="eagles" value="eagles"/>
- <tr:selectItem label="wolves" value="wolves"/>
- </tr:selectOneRadio>
- <jsp:directive.include file="editor.jspf"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ 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.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="SelectOneRadio Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneRadio.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneRadio"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>selectOneRadio</b>"/>
+ <tr:selectOneRadio binding="#{editor.component}" label="Label" value="#{data.string}">
+ <tr:selectItem label="eagles" value="eagles"/>
+ <tr:selectItem label="wolves" value="wolves"/>
+ </tr:selectOneRadio>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneRadio.jspx
------------------------------------------------------------------------------
svn:eol-style = native