Re: Your JasperReport Example and D2W
Re: Your JasperReport Example and D2W
- Subject: Re: Your JasperReport Example and D2W
- From: David Holt <email@hidden>
- Date: Tue, 10 Apr 2012 09:34:44 -0700
Hi Ted,
You'll probably have to go through the steps of adding a "normal" component to ERModernLook app to get the DownloadIsComplete page behaving as you wish.
http://wiki.wocommunity.org/display/WO/Adding+a+Normal+WOComponent+Page+to+an+ERModernLook+based+application
Wrap the DownloadIsCompletePage in your page wrapper and make sure that you have the "fake" entity and task set for that page in your rules. Something like:
pageConfiguration = 'DownloadIsCompletePage' => entity = "Brief" [com.webobjects.directtoweb.EntityAssignment]
pageConfiguration = 'DownloadIsCompletePage' => task = "inspect" [com.webobjects.directtoweb.Assignment]
pageConfiguration = 'DownloadIsCompletePage' => templateNameForInspectPage = "DownloadIsCompletePage" [com.webobjects.directtoweb.Assignment]
pageConfiguration = 'DownloadIsCompletePage' => navigationState = "DownloadIsCompletePage" [com.webobjects.directtoweb.Assignment]
David
On 2012-04-10, at 9:19 AM, Theodore Petrosky wrote:
> Kieran,
>
> I see in your JasperReport example that in the DownloadIsCompletePage there is a method to set the referringPage.
>
> Is there a way to get the D2W context and apply it to the DownloadIsCompletePage in the appendToResponse method so the DownloadIsCompletePage has the PageWrapper?
>
> I stuck a NSLog in the setReferringPage method and I see that it is a D2W page:
>
> *** DownloadIsCompletePage setReferringPage ) ***** <er.modern.look.pages.ERMODListPage name: er.modern.look.pages.ERMODListPage
>
> Ted
> _______________________________________________
> 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
_______________________________________________
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