• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A little rule help here.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A little rule help here.


  • Subject: A little rule help here.
  • From: James Cicenia <email@hidden>
  • Date: Thu, 08 Dec 2011 07:19:04 -0600

OK -


I spent a lot of hours last night converting a test version of this application to extend ERXApplication.... etc. I would be doing it the first of the year anyway.

Now I have a little D2W rendering component. I want the rule to change an attribute of it. But I can't seem to make it happen.

here is my simple component:

public class D2WPrimaryAlignmentMetricByKey extends ERDCustomComponent {
public EOEnterpriseObject object;
public String key;
public String lookupString;


    public D2WPrimaryAlignmentMetricByKey(WOContext context) {
        super(context);
    }

    

    

    public String value(){
    return ((PortfolioProject)object).metricListValueByMetric(lookupString);
    }
}


What can I do to get lookupString to be supplied by a rule??

Here is my rule:

(entity.name = 'PortfolioProject' and propertyKey = 'primaryGroup') ==> lookupString com.webobjects.directtoweb.Assignment "Primary Group"

lookupString is always null when I run my report and debug my component.

What am I missing.


James Cicenia 
cell: 773.398.4649



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: A little rule help here.
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Acknowledgement
  • Next by Date: Internet Explorer can't download excel sheet as attachment
  • Previous by thread: Acknowledgement
  • Next by thread: Re: A little rule help here.
  • Index(es):
    • Date
    • Thread