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 2015/07/15 15:56:17 UTC
svn commit: r1691215 - in
/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in:
in-tx.xhtml in.xhtml
Author: lofwyr
Date: Wed Jul 15 13:56:16 2015
New Revision: 1691215
URL: http://svn.apache.org/r1691215
Log:
demo
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tx.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in.xhtml
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tx.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tx.xhtml?rev=1691215&r1=1691214&r2=1691215&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tx.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in-tx.xhtml Wed Jul 15 13:56:16 2015
@@ -27,32 +27,14 @@
</f:facet>
<tc:gridLayoutConstraint width="600px" height="600px"/>
- <tx:in label="Label 1" value="Some Value 1" fieldId="in1" id="panel1">
- <tc:dataAttribute name="assert-left" value="125"/>
- <tc:dataAttribute name="assert-top" value="0"/>
- <tc:dataAttribute name="assert-width" value="475"/>
- <tc:dataAttribute name="assert-height" value="20"/>
- </tx:in>
- <tx:in label="Label 2" value="Some Value 2" fieldId="in2" id="panel2">
- <tc:dataAttribute name="assert-left" value="125"/>
- <tc:dataAttribute name="assert-top" value="25"/>
- <tc:dataAttribute name="assert-width" value="475"/>
- <tc:dataAttribute name="assert-height" value="20"/>
- </tx:in>
- <tx:in label="Label 3" value="Some Value 3" fieldId="in3" id="panel3">
- <tc:dataAttribute name="assert-left" value="125"/>
- <tc:dataAttribute name="assert-top" value="50"/>
- <tc:dataAttribute name="assert-width" value="475"/>
- <tc:dataAttribute name="assert-height" value="20"/>
- </tx:in>
- <tx:in label="Label 4" value="Some Value 4" fieldId="in4" id="panel4">
- <tc:dataAttribute name="assert-left" value="125"/>
- <tc:dataAttribute name="assert-top" value="75"/>
- <tc:dataAttribute name="assert-width" value="475"/>
- <tc:dataAttribute name="assert-height" value="20"/>
- </tx:in>
+ <tc:messages/>
- <tc:button label="Submit"/>
+ <tx:in label="Label 1" value="Some Value 1" fieldId="in1" id="panel1"/>
+ <tx:in label="Label 2 (required)" value="Some Value 2" fieldId="in2" id="panel2" required="true"/>
+ <tx:in label="Label 3 (readonly)" value="Some Value 3" fieldId="in3" id="panel3" readonly="true"/>
+ <tx:in label="Label 4 (disabled)" value="Some Value 4" fieldId="in4" id="panel4" disabled="true"/>
+
+ <tc:button label="Submit" defaultCommand="true"/>
<tc:script file="script/tobago-assert.js"/>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in.xhtml?rev=1691215&r1=1691214&r2=1691215&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/test/in/in.xhtml Wed Jul 15 13:56:16 2015
@@ -23,8 +23,9 @@
<tc:page>
- <tc:segmentLayout large="8;4">
+ <tc:messages/>
+ <tc:segmentLayout large="8;4">
<tc:in label="First Value" value="#{in.first}"/>
<tc:in label="Second Value (Required)" value="#{in.second}" required="true"/>