From: Anjo K. <an...@us...> - 2002-03-28 11:44:01
|
Update of /cvsroot/wonder/ProjectWonder/Frameworks/ERDirectToWebJava In directory usw-pr-cvs1:/tmp/cvs-serv14956 Modified Files: ERD2WCompactInspectPageTemplate.java Log Message: added "isEmbedded" condition to disable display of image Index: ERD2WCompactInspectPageTemplate.java =================================================================== RCS file: /cvsroot/wonder/ProjectWonder/Frameworks/ERDirectToWebJava/ERD2WCompactInspectPageTemplate.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ERD2WCompactInspectPageTemplate.java 9 Feb 2002 07:52:51 -0000 1.2 --- ERD2WCompactInspectPageTemplate.java 28 Mar 2002 11:43:57 -0000 1.3 *************** *** 8,11 **** --- 8,12 ---- import com.webobjects.appserver.WOContext; + import er.extensions.*; public class ERD2WCompactInspectPageTemplate extends ERD2WInspectPage { *************** *** 13,16 **** --- 14,21 ---- public ERD2WCompactInspectPageTemplate(WOContext context) { super(context); + } + + public boolean isEmbedded() { + return ERXUtilities.booleanValueForBindingOnComponentWithDefault("isEmbedded", this, false); } } |