From: sebth <sebastian.thi...@live.de>
Date: Mon, 19 Mar 2012 06:17:16 -0700 (PDT)
Local: Mon, Mar 19 2012 9:17 am
Subject: Re: Datacontroller init
Maybe my explanation wasn´t that clear sry for that. I got a page for
customer information. This page hold a link to create a new Customer - clicking on it, a new popup will be opened. The popup got a datacontroller which is assigned to modelclass 'CustomerModel' - now this page offers a form to Input information of the customer someone want to create. I don´t want to have a button in this popup and call zen('dcCustomer').createNewObject. I wan´t to call it without clicking on any buttons. My Idea was to do zen('dcCustomer').createNewObject just after the page/popup was created. But how to call it? I tried %OnAfterCreatePage with this js code but a new Object wasn´t created. On 19 Mrz., 12:49, Dawn Wolthuis <dw...@tincat-group.com> wrote:
> Yes, it should work just as you indicated. What is going wrong with
> this approach? I do not work with popups, but whatever event is > triggering the popup could also include this code. --dawn > On Mon, Mar 19, 2012 at 6:26 AM, sebth <sebastian.thi...@live.de> wrote:
> > does anybody know how to create a new Object of a Datamodel after a
> > How can i do this?
> > Sebastian
> > --
> --
> Take and give some delight today You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||