Passing parameters on a binding
Passing parameters on a binding
- Subject: Passing parameters on a binding
- From: Greg Hulands <email@hidden>
- Date: Fri, 22 Oct 2004 10:13:39 +1000
Hi,
I have been reading Chuck's book the last couple of days and have been
trying to extend his validation solution a bit. What I have done is
added a method to my super component:
public boolean hasFailedValidationNamed(String key) {
return validationData.objectForKey(key) != null;
}
What I want to do is have a WOConditional in the page that can be bound
to hasFailedValidationNamed and pass it in the key. Is this at all
possible? Is there a better solution? The main reason I want the
WOConditional is mainly because of layout problems at the moment.
Any help is greatly appreciated.
Regards,
Greg
_______________________________________________
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