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/16 13:41:36 UTC
svn commit: r1691371 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
Author: lofwyr
Date: Thu Jul 16 11:41:35 2015
New Revision: 1691371
URL: http://svn.apache.org/r1691371
Log:
demo layout
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml?rev=1691371&r1=1691370&r2=1691371&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml Thu Jul 16 11:41:35 2015
@@ -34,7 +34,7 @@
<tc:separator label="#{overviewBundle.basic_sampleInputTitle}"/>
<!-- row -->
- <tc:out escape="false" value="#{overviewBundle.basic_text_input}"/>
+ <tc:out escape="false" value="#{overviewBundle.basic_text_input}" id="basic_text_input"/>
<!-- row -->
<tc:panel>
@@ -46,20 +46,20 @@
<f:facet name="layout">
<tc:gridLayout rows="auto;auto;auto;auto"/>
</f:facet>
- <tx:in value="#{overviewController.basicInput}" required="true" tabIndex="1"
+ <tx:in value="#{overviewController.basicInput}" required="true" tabIndex="1" fieldId="basic_input"
label="#{overviewBundle.basic_textboxLabel}" tip="#{overviewBundle.basic_textboxTip}"/>
<tx:in value="#{overviewController.suggestInput}" tabIndex="3" fieldId="suggest"
label="#{overviewBundle.basic_suggestLabel}" tip="#{overviewBundle.basic_suggestTip}">
<tc:suggest suggestMethod="#{overviewController.getInputSuggestItems}" delay="300" minimumCharacters="1"/>
</tx:in>
- <tx:date value="#{overviewController.basicDate}" tabIndex="4"
+ <tx:date value="#{overviewController.basicDate}" tabIndex="4" fieldId="basic_date"
label="#{overviewBundle.basic_dateLabel}" required="true">
<f:convertDateTime pattern="dd/MM/yyyy"/>
<tc:validateSubmittedValueLength maximum="10"/>
</tx:date>
- <tx:time label="#{overviewBundle.basic_timeLabel}" tabIndex="5"
+ <tx:time label="#{overviewBundle.basic_timeLabel}" tabIndex="5" fieldId="basic_time"
value="#{overviewController.basicTime}"/>
- <tx:in value="#{overviewController.placeholder}" tabIndex="6"
+ <tx:in value="#{overviewController.placeholder}" tabIndex="6" fieldId="basic_placeholder"
label="Placeholder" placeholder="Search..."/>
</tc:panel>
@@ -114,27 +114,23 @@
<tc:out escape="false" value="#{overviewBundle.basic_text_action}"/>
<!-- row -->
- <tc:panel>
- <f:facet name="layout">
- <tc:gridLayout columns="120px;*;120px;*;120px" rows="auto;auto" border="0"/>
- </f:facet>
+ <tc:flowLayout>
<tc:link id="link"
actionListener="#{overviewController.click}"
label="#{overviewBundle.basic_linkAction}"/>
- <tc:panel/>
<tc:link id="image"
actionListener="#{overviewController.click}"
image="image/image_button.png"/>
- <tc:panel/>
<tc:button id="button"
actionListener="#{overviewController.click}"
label="#{overviewBundle.basic_buttonAction}"/>
+ </tc:flowLayout>
- <tx:in value="#{overviewController.lastAction}" readonly="true"
- label="#{overviewBundle.basic_lastActionLabel}">
- <tc:gridLayoutConstraint columnSpan="5"/>
- </tx:in>
- </tc:panel>
+ <!-- row -->
+ <tx:in value="#{overviewController.lastAction}" readonly="true"
+ label="#{overviewBundle.basic_lastActionLabel}">
+ <tc:gridLayoutConstraint columnSpan="5"/>
+ </tx:in>
<!-- todo: deprecated -->
<tc:script>