Package org.openfaces.testapp.screenshot

Examples of org.openfaces.testapp.screenshot.ForumMessage


        String u2 = "Jane White";
        String u3 = "Chris Lee";
        String u4 = "Dean Genius";
        String u5 = "Jonh Smile";
        String u6 = "Gary Blackt";
        rootMessages.add(new ForumMessage("JDK 6", new Date(), u1, null, Arrays.asList(new Object[]{
                new ForumMessage("Re: JDK 6", new Date(), u5, null, Arrays.asList(new Object[]{
                        new ForumMessage("System-tray support", new Date(), u4, null, Arrays.asList(new Object[]{
                                new ForumMessage("Re: System-tray support", new Date(), u2, null, null)}))
                })),
                new ForumMessage("LCD-optimized text display", new Date(), u6, null, Arrays.asList(new Object[]{
                        new ForumMessage("Re: LCD-optimized text display", new Date(), u4, null, Arrays.asList(new Object[]{
                                new ForumMessage("Re: LCD-optimized text display", new Date(), u5, null, null),
                                new ForumMessage("Re: LCD-optimized text display", new Date(), u6, null, null)}))
                })),
                new ForumMessage("Re: JDK 6", new Date(), u3, null, null),
                new ForumMessage("JSR 199: Java Compiler API", new Date(), u6, null, Arrays.asList(new Object[]{
                        new ForumMessage("Re: JSR 199: Java Compiler API", new Date(), u1, null, null)
                }))})));
        rootMessages.add(new ForumMessage("Re:Parsing algorithm", new Date(), u1, null, Arrays.asList(new Object[]{
                new ForumMessage("Re: Parsing algorithm", new Date(), u4, null, Arrays.asList(new Object[]{
                        new ForumMessage("Re: Parsing algorithm", new Date(), u3, null, Arrays.asList(new Object[]{
                                new ForumMessage("Re: Parsing algorithm", new Date(), u2, null, null)}))}))})));
        rootMessages.add(new ForumMessage("RE: Design patterns", new Date(), u4, null, Arrays.asList(new Object[]{
                new ForumMessage("Singleton", new Date(), u5, null, Arrays.asList(new Object[]{
                        new ForumMessage("Re: Singleton", new Date(), u2, null, null)})),
                new ForumMessage("Re: Design patterns", new Date(), u6, null, null)})));
        rootMessages.add(new ForumMessage("What methodology?", new Date(), u3, null, Arrays.asList(new Object[]{
                new ForumMessage("Re: What methodology?", new Date(), u2, null, null),
                new ForumMessage("Re: What methodology?", new Date(), u6, null, null)})));
        rootMessages.add(new ForumMessage("Scaling an image", new Date(), u2, null, Arrays.asList(new Object[]{
                new ForumMessage("Re: Scaling an image", new Date(), u3, null, Arrays.asList(new Object[]{
                        new ForumMessage("Re: Scaling an image", new Date(), u3, null, Arrays.asList(new Object[]{
                                new ForumMessage("Re: Scaling an image", new Date(), u5, null, null)}))}))})));
        rootMessages.add(new ForumMessage("Create an application", new Date(), u4, null, Arrays.asList(new Object[]{
                new ForumMessage("Re: Create an application", new Date(), u1, null, null)})));
    }
View Full Code Here


                new ForumMessage("Re: Create an application", new Date(), u1, null, null)})));
    }


    public List getNodeChildren() {
        ForumMessage message = Faces.var("treetest", ForumMessage.class);
        return message != null ? message.getReplies() : rootMessages;
    }
View Full Code Here

TOP

Related Classes of org.openfaces.testapp.screenshot.ForumMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.