what's your rule look like? I mean, are you certain you are logging out the value and the class being returned by your d2wcontext? did you set a custom assignment?
for reasons I no longer recall exactly, I don't use booleans or integers in rules, but rely on strings mostly. wantsHidden = "YES" I think if you want to change the assignment class used in your rule you can get bools and ints to work, but my desire for simplicity leads me to use strings for flags like that. maybe that helps On Mar 2, 2012, at 2:05 PM, James Cicenia <[email protected]> wrote: > 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 protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
