Author: lfryc(a)redhat.com
Date: 2010-07-10 15:13:55 -0400 (Sat, 10 Jul 2010)
New Revision: 17838
Modified:
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandButtonBean.properties
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandLinkBean.properties
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/CommandButtonBean.properties
root/tests/metamer/trunk/src/main/webapp/components/a4jActionListener/all.xhtml
root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandButton.css
root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandLink.css
root/tests/metamer/trunk/src/main/webapp/resources/css/commandButton.css
Log:
* changes styleClass options
Modified:
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandButtonBean.properties
===================================================================
---
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandButtonBean.properties 2010-07-10
19:12:51 UTC (rev 17837)
+++
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandButtonBean.properties 2010-07-10
19:13:55 UTC (rev 17838)
@@ -4,4 +4,10 @@
attr.actionListener.first6CharsActionListener=first6CharsActionListener
attr.actionListener.doubleStringActionListener=doubleStringActionListener
-attr.actionListener.toUpperCaseActionListener=toUpperCaseActionListener
\ No newline at end of file
+attr.actionListener.toUpperCaseActionListener=toUpperCaseActionListener
+
+attr.styleClass.bold=bold
+attr.styleClass.strike=strike
+attr.styleClass.big=big
+attr.styleClass.wide=wide
+attr.styleClass.none=
\ No newline at end of file
Modified:
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandLinkBean.properties
===================================================================
---
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandLinkBean.properties 2010-07-10
19:12:51 UTC (rev 17837)
+++
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/A4JCommandLinkBean.properties 2010-07-10
19:13:55 UTC (rev 17838)
@@ -8,3 +8,7 @@
attr.actionListener.first6CharsActionListener=first6CharsActionListener
attr.actionListener.doubleStringActionListener=doubleStringActionListener
attr.actionListener.toUpperCaseActionListener=toUpperCaseActionListener
+
+attr.styleClass.bold=bold
+attr.styleClass.strike=strike
+attr.styleClass.none=
\ No newline at end of file
Modified:
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/CommandButtonBean.properties
===================================================================
---
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/CommandButtonBean.properties 2010-07-10
19:12:51 UTC (rev 17837)
+++
root/tests/metamer/trunk/src/main/resources/org/richfaces/testapp/bean/CommandButtonBean.properties 2010-07-10
19:13:55 UTC (rev 17838)
@@ -6,8 +6,8 @@
attr.actionListener.doubleStringActionListener=doubleStringActionListener
attr.actionListener.toUpperCaseActionListener=toUpperCaseActionListener
-attr.styleClass.red=red
-attr.styleClass.blue=blue
+attr.styleClass.bold=bold
+attr.styleClass.strike=strike
attr.styleClass.big=big
attr.styleClass.wide=wide
attr.styleClass.none=
\ No newline at end of file
Modified: root/tests/metamer/trunk/src/main/webapp/components/a4jActionListener/all.xhtml
===================================================================
---
root/tests/metamer/trunk/src/main/webapp/components/a4jActionListener/all.xhtml 2010-07-10
19:12:51 UTC (rev 17837)
+++
root/tests/metamer/trunk/src/main/webapp/components/a4jActionListener/all.xhtml 2010-07-10
19:13:55 UTC (rev 17838)
@@ -22,22 +22,22 @@
<h:messages id="messages" />
<h:panelGrid columns="1">
- <h:commandButton value="Invoke listener by type">
+ <h:commandButton id="invokeByTypeButton" value="Invoke
listener by type">
<a4j:actionListener
type="org.richfaces.testapp.bean.A4JActionListenerBean$ActionListenerImpl"
/>
<f:ajax render="messages" />
</h:commandButton>
- <h:commandButton value="Invoke listener by binding">
+ <h:commandButton id="invokeByBindingButton"
value="Invoke listener by binding">
<a4j:actionListener
binding="#{a4jActionListenerBean.actionListener}" />
<f:ajax render="messages" />
</h:commandButton>
- <h:commandButton value="Invoke listener method">
+ <h:commandButton id="invokeMethodButton" value="Invoke
listener method">
<a4j:actionListener
listener="#{a4jActionListenerBean.handleActionMethod}" />
<f:ajax render="messages" />
</h:commandButton>
- <demo:actionComposite render="messages" value="Invoke
listener method in composite component">
+ <demo:actionComposite id="invokeFromCCButton"
render="messages" value="Invoke listener method in composite
component">
<a4j:actionListener for="button"
listener="#{a4jActionListenerBean.handleActionMethodComposite}" />
</demo:actionComposite>
</h:panelGrid>
Modified: root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandButton.css
===================================================================
--- root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandButton.css 2010-07-10
19:12:51 UTC (rev 17837)
+++ root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandButton.css 2010-07-10
19:13:55 UTC (rev 17838)
@@ -0,0 +1,16 @@
+.big {
+ height: 40px;
+ width: 200px;
+}
+
+.wide {
+ width: 200px;
+}
+
+.bold {
+ font-weight: bold;
+}
+
+.strike {
+ text-decoration: line-through;
+}
\ No newline at end of file
Modified: root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandLink.css
===================================================================
--- root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandLink.css 2010-07-10
19:12:51 UTC (rev 17837)
+++ root/tests/metamer/trunk/src/main/webapp/resources/css/a4jCommandLink.css 2010-07-10
19:13:55 UTC (rev 17838)
@@ -0,0 +1,7 @@
+.bold {
+ font-weight: bold;
+}
+
+.strike {
+ text-decoration: line-through;
+}
Modified: root/tests/metamer/trunk/src/main/webapp/resources/css/commandButton.css
===================================================================
--- root/tests/metamer/trunk/src/main/webapp/resources/css/commandButton.css 2010-07-10
19:12:51 UTC (rev 17837)
+++ root/tests/metamer/trunk/src/main/webapp/resources/css/commandButton.css 2010-07-10
19:13:55 UTC (rev 17838)
@@ -1,16 +1,16 @@
-.red {
- color: red;
+.big {
+ height: 40px;
+ width: 200px;
}
-.blue {
- color: blue;
+.wide {
+ width: 200px;
}
-.big {
- height: 40px;
- width: 200px;
+.bold {
+ font-weight: bold;
}
-.wide {
- width: 200px;
+.strike {
+ text-decoration: line-through;
}
\ No newline at end of file
Show replies by date