Date: 2004-04-26T00:28:42
   Editor: 131.191.40.91 <>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogMappedBeans
   URL: http://wiki.apache.org/struts/StrutsCatalogMappedBeans

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -15,7 +15,7 @@
 }}}
 Now, you can access the entry in beanMap1 as follows:
 {{{
-<bean:write name="C" property="map(B).map(A)"/>
+<bean:write name="C" property="this(B).map(A)"/>
 }}}
 This will output: 
 {{{
@@ -24,7 +24,8 @@
 Also, cf. ["StrutsCatalogInstrumentableForms"],["StrutsCatalogVariableScreenFields"], 
and http://jakarta.apache.org/struts/faqs/indexedprops.html
 
 {{{   
-public class BeanMap implements Map {
+public class BeanMap 
+    implements Map {
   private Map map;
 
   public BeanMap() {
@@ -37,6 +38,10 @@
   }
 
   public Map getMap() {
+    return map;
+  }
+
+  public Map getThis() {
     return this;
   }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to