You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2017/05/05 09:19:08 UTC
svn commit: r1793990 - in
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp:
content/35-deprecated/10-tx/tx.xhtml style/tobago.css testAll.xhtml
Author: hnoeth
Date: Fri May 5 09:19:07 2017
New Revision: 1793990
URL: http://svn.apache.org/viewvc?rev=1793990&view=rev
Log:
improve demo
Modified:
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/10-tx/tx.xhtml
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/tobago.css
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/testAll.xhtml
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/10-tx/tx.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/10-tx/tx.xhtml?rev=1793990&r1=1793989&r2=1793990&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/10-tx/tx.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/10-tx/tx.xhtml Fri May 5 09:19:07 2017
@@ -18,6 +18,7 @@
-->
<ui:composition template="/main.xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
xmlns:tc="http://myfaces.apache.org/tobago/component"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:param name="title" value="#{demoBundle.tx}"/>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/tobago.css?rev=1793990&r1=1793989&r2=1793990&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/tobago.css (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/tobago.css Fri May 5 09:19:07 2017
@@ -34,3 +34,10 @@
.tobago-sheet-cell-markup-lightred {
background-color: #ffdddd;
}
+
+.testframe-wrapper {
+ display: inline-block;
+ border: 1px solid;
+ text-align: center;
+ margin-bottom: 2px;
+}
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/testAll.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/testAll.xhtml?rev=1793990&r1=1793989&r2=1793990&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/testAll.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/testAll.xhtml Fri May 5 09:19:07 2017
@@ -22,9 +22,15 @@
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:tc="http://myfaces.apache.org/tobago/component"
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <tc:style file="#{request.contextPath}/style/tobago.css"/>
<tc:script file="#{request.contextPath}/script/tobago-testAll.js"/>
<c:forEach items="#{testController.testPages}" var="testPage">
- <tc:object id="#{testPage.id}" name="test.xhtml?base=#{testPage.base}"/>
+ <div class="testframe-wrapper">
+ <div>
+ <tc:link label="open in new tab" link="#{testPage.base}.xhtml" target="_blank"/>
+ </div>
+ <tc:object id="#{testPage.id}" name="test.xhtml?base=#{testPage.base}"/>
+ </div>
</c:forEach>
</ui:composition>