From: Anjo K. <an...@us...> - 2006-10-07 18:56:24
|
Update of /cvsroot/wonder/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21024/Sources/er/directtoweb Modified Files: ERDEmptyListMessage.java Log Message: now style-able Index: ERDEmptyListMessage.java =================================================================== RCS file: /cvsroot/wonder/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERDEmptyListMessage.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ERDEmptyListMessage.java 20 Sep 2006 22:13:51 -0000 1.7 --- ERDEmptyListMessage.java 7 Oct 2006 18:56:19 -0000 1.8 *************** *** 8,11 **** --- 8,12 ---- import com.webobjects.appserver.WOContext; + import com.webobjects.foundation.NSKeyValueCoding; /** *************** *** 15,21 **** public class ERDEmptyListMessage extends ERDCustomComponent { ! public ERDEmptyListMessage(WOContext context) { super(context); } ! public final boolean isStateless() { return true; } ! public final boolean synchronizesVariablesWithBindings() { return false; } } --- 16,41 ---- public class ERDEmptyListMessage extends ERDCustomComponent { ! public ERDEmptyListMessage(WOContext context) { ! super(context); ! } ! public NSKeyValueCoding bindings() { ! return new NSKeyValueCoding() { ! public void takeValueForKey(Object obj, String s) { ! // nothing ! } ! ! public Object valueForKey(String s) { ! return valueForBinding(s); ! } ! }; ! } ! ! public final boolean isStateless() { ! return true; ! } ! ! public final boolean synchronizesVariablesWithBindings() { ! return false; ! } } |