Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Datacontroller init
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sebth  
View profile  
 More options Mar 19 2012, 9:17 am
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:
> > Hello,

> > does anybody know how to create a new Object of a Datamodel after a
> > page is created? The scenario is creating a new empty object of my
> > modelclass if a User Click Create New Customer wich open a Popup to
> > enter Customer Information. So i guess after opening the popup and
> > after create the page I need somehow to call
> > zen('dcCustomer').createNewObject();

> > How can i do this?

> > Sebastian

> > --
> > You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> > To post to this group, send email to InterSystems-ZEN@googlegroups.com
> > To unsubscribe from this group, send email to InterSystems-ZEN-unsubscribe@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/InterSystems-ZEN?hl=en
> > Zen Community Terms and Conditions:http://groups.google.com/group/InterSystems-ZEN/web/community-terms-a...

> --
> Dawn M. Wolthuis

> 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.