Changeset 575 for Forum


Ignore:
Timestamp:
03/31/09 18:22:36 (3 years ago)
Author:
niko
Message:

added mainentries to entry call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Forum/trunk/src/corinis/modules/Forum.java

    r562 r575  
    12131213                                        entry.setAttribute("source", "getEntries"); 
    12141214                                        root.appendChild(entry); 
    1215                                 }               
     1215                                        // also append getMainEntries 
     1216                                        for (Element c : new ChildElementAdapter(getMainEntries())) 
     1217                                        { 
     1218                                                if ("MAINENTRY".equals(c.getNodeName())) 
     1219                                                        entry.appendChild(c); 
     1220                                        } 
     1221                                }  
     1222                                 
    12161223                        } 
    12171224                        if (entry == null) 
Note: See TracChangeset for help on using the changeset viewer.