Re: D2WQuery embedded loses state
Re: D2WQuery embedded loses state
- Subject: Re: D2WQuery embedded loses state
- From: Mark Wardle <email@hidden>
- Date: Sun, 8 Nov 2009 11:45:36 +0000
Ok. In my subclass of ERD2WQueryPage (actually ERNEUQueryPage), I've
overridden the method:
@Override public boolean showResults() {
if (showResults==null) {
showResults =
ERXValueUtilities.booleanValue(d2wContext().valueForKey("showResults"));
}
return showResults;
}
So that on startup, the querypage will potentially show results if
showResults rule is true. This will only work if showListInSamePage is
also true.
Not sure if this will help anyone else?
Best wishes,
Mark
2009/11/8 Mark Wardle <email@hidden>:
> ---------- Forwarded message ----------
> From: Mark Wardle <email@hidden>
> Date: Sunday, November 8, 2009
> Subject: D2WQuery embedded loses state
> To: Mark Wardle <email@hidden>
> Cc: Ramsey Lee Gurley <email@hidden>
>
>
>>>
>>>
>>> What action binding? The one on the button? The one on the D2WQuery? What is your cancel button bound to?
>>
>> I originally bound the d2w to displaygroup.filter and changing to this
>> an action within the customised list page didn't help.
>>
> Sorry this makes no sense
>
> I've bound the embedded d2wquery action binding to the list's
> displaygroup.fetch.
>
> Mark
>
> --
> Dr. Mark Wardle
> Specialist registrar, Neurology
> Cardiff, UK
>
>
>
> --
> Dr. Mark Wardle
> Specialist registrar, Neurology
> Cardiff, UK
>
--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
_______________________________________________
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