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/10/20 07:31:48 UTC
[myfaces-tobago] branch master updated: improve demo * fix 'Close
Test' button; set position under QUnit results
This is an automated email from the ASF dual-hosted git repository.
hnoeth 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 2896bfc improve demo * fix 'Close Test' button; set position under QUnit results
2896bfc is described below
commit 2896bfc85ccccf292e19387f4f5defe2eb38f9e6
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Fri Oct 20 09:31:40 2017 +0200
improve demo
* fix 'Close Test' button; set position under QUnit results
---
tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml | 1 -
tobago-example/tobago-example-demo/src/main/webapp/test.xhtml | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
index 5411f9c..2c7902d 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
@@ -63,7 +63,6 @@
immediate="true" disabled="#{!testController.hasTest()}">
<f:param name="base" value="#{testController.base}"/>
</tc:link>
- <tc:link id="closetest" label="#{demoBundle.menu_closeTest}" immediate="true"/>
<tc:link label="#{demoBundle.menu_runTestAll}" outcome="/testAll.xhtml" target="_blank"
immediate="true" rendered="#{facesContext.isProjectStage('Development')}"/>
<tc:link label="#{demoBundle.menu_accessAllPages}" outcome="/testAccessAllPages.xhtml" target="_blank"
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/test.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/test.xhtml
index bb20e6f..aba549b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/test.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/test.xhtml
@@ -30,7 +30,9 @@
<div id="qunit"></div>
<div id="qunit-fixture"></div>
+ <tc:button label="Close Test" link="#{param['base']}.xhtml"/>
+
<tc:object id="testframe" src="#{request.contextPath}/#{param['base']}.xhtml">
- <tc:style width="100%"/>
+ <tc:style width="100%" minHeight="500px"/>
</tc:object>
</ui:composition>
--
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].