Package er.extensions.components

Examples of er.extensions.components.ERXComponent


  public boolean pointsToArray() { return (obj instanceof com.webobjects.foundation.NSArray); }
  public boolean pointsToDictionary() { return (obj instanceof com.webobjects.foundation.NSDictionary); }
  public boolean pointsToObject() { return (!(obj instanceof com.webobjects.foundation.NSDictionary) && !(obj instanceof com.webobjects.foundation.NSArray)); }

  public WOActionResults toDictView() {
      ERXComponent nextPage = pageWithName(DictionaryView.class);
      nextPage.takeValueForKey(obj, "obj");
      return nextPage;
  }
View Full Code Here


      nextPage.takeValueForKey(obj, "obj");
      return nextPage;
  }

  public WOActionResults toArrayView() {
      ERXComponent nextPage = pageWithName(DictionaryView.class);
      nextPage.takeValueForKey(obj, "objs");
      return nextPage;
  }
View Full Code Here

//    }
//    catch (Throwable t) {
//    }

    System.out.println("Main.toPerformer: Going to DictionaryView");
    ERXComponent nextPage = pageWithName(DictionaryView.class);
    nextPage.takeValueForKey(performer, "obj");
    return nextPage;
  }
View Full Code Here

  public boolean keyPointsToDictionary() { return (obj.objectForKey(key) instanceof com.webobjects.foundation.NSDictionary); }

  public WOActionResults select() {
    System.out.println("DictionaryView.select: key = "+key);
   
    ERXComponent nextPage = pageWithName(ArrayView.class);
    nextPage.takeValueForKey((NSArray<Object>)obj.objectForKey(key) ,"objs");
    return nextPage;
  }
View Full Code Here

TOP

Related Classes of er.extensions.components.ERXComponent

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.