You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/09/10 15:56:34 UTC
svn commit: r1382849 -
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml
Author: lofwyr
Date: Mon Sep 10 13:56:34 2012
New Revision: 1382849
URL: http://svn.apache.org/viewvc?rev=1382849&view=rev
Log:
basic tf:in example
Added:
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml
Added: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml?rev=1382849&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tf.xhtml Mon Sep 10 13:56:34 2012
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+
+<f:view
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:tx="http://myfaces.apache.org/tobago/extension"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tf="http://myfaces.apache.org/tobago/facelet-extension">
+
+ <tc:page id="page">
+ <f:facet name="layout">
+ <tc:gridLayout rows="auto;auto;auto;auto;auto;auto;*"/>
+ </f:facet>
+ <tc:gridLayoutConstraint width="600px" height="300px"/>
+
+ <tc:messages/>
+
+ <tf:in id="false-lit" label="non-modal (literal)" rendered="false" />
+ <tf:in id="false-el" label="non-modal (EL)" rendered="#{false}" />
+ <tf:in id="false-bean" label="non-modal (EL to a bean)" rendered="#{not selectBooleanCheckboxBean.value0}" />
+
+ <tf:in id="true-lit" label="non-modal (literal)" rendered="true" />
+ <tf:in id="true-el" label="non-modal (EL)" rendered="#{true}" />
+ <tf:in id="true-bean" label="non-modal (EL to a bean)" rendered="#{selectBooleanCheckboxBean.value0}" />
+
+ <tc:button label="submit"/>
+
+ <tc:cell/>
+
+ </tc:page>
+</f:view>