• 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
Someone? Rule help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Someone? Rule help?


  • Subject: Someone? Rule help?
  • From: James Cicenia <email@hidden>
  • Date: Fri, 02 Mar 2012 14:05:38 -0500

Here is the code in ERModRequiredWrapper:

/**

* Show the form for only those pages that need it.

*/

public Boolean showForm() {

if (_showForm == null) {

Integer temp = (Integer)d2wContext().valueForKey("hasForm");

boolean hideForm = booleanValueForBinding("hideForm");

boolean result = (!hideForm && temp != null && temp.intValue() > 0);

_showForm = Boolean.valueOf(result);

}

return _showForm;

}


I have tried everything to hide the form via rules:


hasForm -- false

hideForm -- true

showForm -- false


Nothing seems to work


Thanks

James

 _______________________________________________
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: Someone? Rule help?
      • From: Jesse Tayler <email@hidden>
  • Prev by Date: How do I turn off ERModRequireWrapper OptionalForm
  • Next by Date: binary property lists --
  • Previous by thread: Re: How do I turn off ERModRequireWrapper OptionalForm
  • Next by thread: Re: Someone? Rule help?
  • Index(es):
    • Date
    • Thread