Re: Manually open an embedded page ala D2WModern
Re: Manually open an embedded page ala D2WModern
- Subject: Re: Manually open an embedded page ala D2WModern
- From: Fabian Peters <email@hidden>
- Date: Mon, 20 Oct 2014 22:11:47 +0200
Hi Markus,
The embedded blocks are part of ERMODEditRelationshipPage:
<div class="EmbeddedBlocks">
<webobject name = "DisplayQuery"><webobject name = "QueryBlock"><webobject name = "QueryComponent" /></webobject></webobject>
<webobject name = "DisplayList"><webobject name = "ListBlock"><webobject name = "ListComponent" /></webobject></webobject>
<webobject name = "DisplayNew"><webobject name = "InspectBlock"><webobject name = "InspectComponent" /></webobject></webobject>
</div>
It probably won't be easy to extract this functionality. At least have your static page extend ERD2WPage.
May I ask what your requirement is that prevents you from using a D2W page? Most of the time I've found that introducing an additional EO or using ERXDummyRecord helped.
Fabian
Am 20.10.2014 um 21:32 schrieb Markus Ruggiero <email@hidden>:
> I am working on a modern D2W application. Look at the enclosed screenshot. It shows an example of what I want to achieve manually.
>
> <PastedGraphic-3.png>
>
> I want to open such an embedded editor (for create as well as inspect tasks) from a hand crafted static page (there are some special requirements that cannot be done with a dynamically generated D2W page).
>
> The component definition for the page CreateRequest looks as follows:
> public class CreateRequest extends ERD2WPage implements EditPageInterface {
>
> CreateRequest.html has the standard D2W PageWrapper.
>
> Together with the following rule in user.d2wmodel, I get the page nicely shown.
> 100 : pageConfiguration = 'CreateRequest' => pageName = "CreateRequest" [com.webobjects.directtoweb.Assignment]
>
> Now on this static page I need a standard modern button that opens the embedded page. The embedded page is a standard dynamic D2W page. When the user closes the embedded page with the equivalent of [OK] I need to act on that inside the static page. How would I do that?
>
> Thanks for your help
> ---markus---
>
>
>
> _______________________________________________
> 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