Hi Markus,

Look here for the popups: 
<http://lists.apple.com/archives/webobjects-dev/2011/Mar/threads.html#00042>

The validation problem looks very familiar. I solved it, but I cannot remember 
how. I've looked through my git logs, but to no avail. Can you post the 
generated HTML/CSS?

Fabian

Am 20.10.2014 um 23:08 schrieb Markus Ruggiero <[email protected]>:

> Hi Fabian,
> 
> On 20.10.2014, at 22:11, Fabian Peters <[email protected]> wrote:
> 
>> 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.
>> 
> I'll look into this, but if anybody has something "ready made" I'd appreciate 
> it very much (I am under quite some time constraint and thus simply have to 
> get something working, no matter how).
> 
>> 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.
>> 
> It is primarily formatting and page layout (multi-column, attributes with 
> textual annotations like formatting examples etc, see eg. "Request From", 
> that's a custom component). And then there are some cascading to-one popups 
> which I have no idea how to do other than create again some custom property 
> level components (selecting from to-one A must repopulate the possible values 
> for the to-one B).
> 
> Is there a simple way from a property level component to issue a reload() 
> action without triggering field validation? Something that I would code like 
> this
> public WOComponent reload() { return this.context().page());
> I would then trigger this action from an onChange trigger on the popup. But 
> how would I do this in a D2W dynamically created page?
> 
> I had something dynamic working for a test, which looks pretty ok (however 
> lacking the interdependent popups)
> <PastedGraphic-4.png>
> but when the user forgets to specify a customer, I get the following
> 
> <PastedGraphic-6.png> 
> Clicking Search makes things even worse
> <PastedGraphic-7.png>
> This is really crappy (all default style sheets!). Somehow the embedded 
> ERD2WEditToOneRelationship collapses and I have yet to figure where this 
> happens.
> 
> I really could need some help here, either way.
> 
> Thanks a lot for your understanding
> ---markus---
> 
> 
> 
> 
> 
>> Fabian
>> 
>> Am 20.10.2014 um 21:32 schrieb Markus Ruggiero <[email protected]>:
>> 
>>> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
>>> 
>>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to