Author: nbelaevski
Date: 2007-08-02 12:10:00 -0400 (Thu, 02 Aug 2007)
New Revision: 2018
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxSamples/rsBean.java
Log:
richfaces-demo made compileable
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxSamples/rsBean.java
===================================================================
---
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxSamples/rsBean.java 2007-08-02
15:47:18 UTC (rev 2017)
+++
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/ajaxSamples/rsBean.java 2007-08-02
16:10:00 UTC (rev 2018)
@@ -24,7 +24,7 @@
this.addent2 = addent2;
}
public String doSum() {
- sum = addent1 + addent2;
+ sum = new Integer((addent1 != null ? addent1.intValue() : 0) + (addent2 != null ?
addent2.intValue() : 0));
return null;
}
Show replies by date