myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch master updated: TOBAGO-1812: Revise flex layout manager: <tc:flexLayout> * test page
Date Wed, 04 Oct 2017 09:45:52 GMT
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new 2915cc2  TOBAGO-1812: Revise flex layout manager: <tc:flexLayout> * test page
2915cc2 is described below

commit 2915cc2182741afd182cf7e4e30090b978e552db
Author: Udo Schnurpfeil <lofwyr@apache.org>
AuthorDate: Wed Oct 4 11:45:49 2017 +0200

    TOBAGO-1812: Revise flex layout manager: <tc:flexLayout>
    * test page
---
 .../40-test/4700-flexLayout/flexLayout.xhtml       | 30 ++++++++++++++++
 .../40-test/4700-flexLayout/x-template.xhtml       | 40 ++++++++++++++++++++++
 .../40-test/4700-flexLayout/x-textarea-1.xhtml     | 23 +++++++++++++
 .../40-test/4700-flexLayout/x-textarea-2.xhtml     | 21 ++++++++++++
 4 files changed, 114 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/flexLayout.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/flexLayout.xhtml
new file mode 100644
index 0000000..162bde0
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/flexLayout.xhtml
@@ -0,0 +1,30 @@
+<?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.
+-->
+
+<ui:composition template="x-template.xhtml"
+                xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+
+  <ui:define name="x-textarea-1">
+    <ui:include src="/content/40-test/4700-flexLayout/x-textarea-1.xhtml"/>
+  </ui:define>
+
+</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-template.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-template.xhtml
new file mode 100644
index 0000000..d9f5734
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-template.xhtml
@@ -0,0 +1,40 @@
+<?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.
+-->
+
+<ui:composition xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+
+  <f:view locale="#{clientConfigController.locale}">
+    <tc:page label="flex layout template" id="page">
+
+      <tc:flexLayout columns="3*;2*;1*">
+
+        <ui:insert name="x-textarea-1">
+          Default
+        </ui:insert>
+        <ui:include src="x-textarea-2.xhtml"/>
+        <tc:textarea value="T3"/>
+
+      </tc:flexLayout>
+
+    </tc:page>
+  </f:view>
+</ui:composition>
+
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-1.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-1.xhtml
new file mode 100644
index 0000000..3ce6039
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-1.xhtml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<ui:composition xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <tc:textarea value="T1"/>
+</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-2.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-2.xhtml
new file mode 100644
index 0000000..4c0d30b
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4700-flexLayout/x-textarea-2.xhtml
@@ -0,0 +1,21 @@
+<?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.
+-->
+
+<tc:textarea xmlns:tc="http://myfaces.apache.org/tobago/component"
+             value="T2"/>

-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <commits@myfaces.apache.org>'].

Mime
View raw message