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 protected]>:
> ---------- Forwarded message ----------
> From: Mark Wardle <[email protected]>
> Date: Sunday, November 8, 2009
> Subject: D2WQuery embedded loses state
> To: Mark Wardle <[email protected]>
> Cc: Ramsey Lee Gurley <[email protected]>
>
>
>>>
>>>
>>> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]