Author: tromanovich
Date: 2008-11-25 04:39:37 -0500 (Tue, 25 Nov 2008)
New Revision: 11348
Modified:
trunk/test-applications/jsp/src/main/java/message/Message.java
trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp
trunk/test-applications/jsp/src/main/webapp/Message/MessageProperty.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/java/message/Message.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/message/Message.java 2008-11-25 08:27:03 UTC
(rev 11347)
+++ trunk/test-applications/jsp/src/main/java/message/Message.java 2008-11-25 09:39:37 UTC
(rev 11348)
@@ -6,7 +6,7 @@
import util.componentInfo.ComponentInfo;
public class Message {
- private String msg;
+ private String msgs;
private String layout;
private String title;
private boolean showDetail;
@@ -43,7 +43,7 @@
}
public Message() {
- msg = "select1";
+ msgs = "select1";
layout = "table";
title = "Title";
showDetail = true;
@@ -56,12 +56,12 @@
select5 = "error";
}
- public String getMsg() {
- return msg;
+ public String getMsgs() {
+ return msgs;
}
- public void setMsg(String msg) {
- this.msg = msg;
+ public void setMsgs(String msg) {
+ this.msgs = msg;
}
public String getLayout() {
@@ -146,7 +146,7 @@
public void bTest1(){
setLayout("table");
- setMsg("fatal");
+ setMsgs("fatal");
setShowDetail(true);
setShowSummary(true);
setTitle("Test1");
@@ -160,7 +160,7 @@
public void bTest2(){
setLayout("table");
- setMsg("error");
+ setMsgs("error");
setShowDetail(false);
setShowSummary(true);
setTitle("Test2");
@@ -174,7 +174,7 @@
public void bTest3(){
setLayout("table");
- setMsg("passed");
+ setMsgs("passed");
setShowDetail(true);
setShowSummary(false);
setTitle("Test3");
@@ -188,7 +188,7 @@
public void bTest4(){
setLayout("table");
- setMsg("passed");
+ setMsgs("passed");
setShowDetail(true);
setShowSummary(true);
setTitle("Test4");
@@ -202,7 +202,7 @@
public void bTest5(){
setLayout("table");
- setMsg("warn");
+ setMsgs("warn");
setShowDetail(false);
setShowSummary(false);
setTitle("Test5");
Modified: trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp 2008-11-25 08:27:03
UTC (rev 11347)
+++ trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp 2008-11-25 09:39:37
UTC (rev 11348)
@@ -11,7 +11,7 @@
<br />
</f:verbatim>
- <rich:message for="#{message.msg}"
binding="#{message.htmlMessage}" tooltip="#{message.tooltip}"
showDetail="#{message.showDetail}"
+ <rich:message for="#{message.msgs}"
binding="#{message.htmlMessage}" tooltip="#{message.tooltip}"
showDetail="#{message.showDetail}"
showSummary="#{message.showSummary}" passedLabel="No Error"
errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
infoLabelClass="infoLabel" warnLabelClass="fatalLabel"
title="#{message.title}" id="messageID">
Modified: trunk/test-applications/jsp/src/main/webapp/Message/MessageProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Message/MessageProperty.jsp 2008-11-25
08:27:03 UTC (rev 11347)
+++ trunk/test-applications/jsp/src/main/webapp/Message/MessageProperty.jsp 2008-11-25
09:39:37 UTC (rev 11348)
@@ -57,7 +57,7 @@
</h:selectOneMenu>
<h:outputText value="Rich Message Demo:" />
- <h:selectOneMenu value="#{message.msg}">
+ <h:selectOneMenu value="#{message.msgs}">
<f:selectItem itemValue="no" itemLabel="no" />
<f:selectItem itemValue="select1" itemLabel="1" />
<f:selectItem itemValue="select2" itemLabel="2" />
@@ -87,8 +87,8 @@
<h:commandButton value="submit" />
<a4j:commandButton value="submit ajax" />
</h:panelGrid>
+ <%--br />
<br />
- <br />
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -103,5 +103,5 @@
<rich:column id="findID2">
<h:outputText
value="#{rich:findComponent('messagesID').rendererType}" />
</rich:column>
- </h:panelGrid>
+ </h:panelGrid--%>
</f:subview>
\ No newline at end of file
Show replies by date