Actually, I prefer to create all items in the studio. Then, I decide in the
onBeforeDisplayEvent of the item in question wether to display it or not by
either returning SKIP or PROCEED.
Axel
Mathew, Aby <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> Beth,
>
> You can add anything to the page dynamically by constructing the Html tag
> and putting it in the appropriate place. One common technique is to use
> place holders - a static text field or a hidden field, and in the
> onBeforeHtmlOutput of this element, override the Html to whatever you want
> to put. However, when you add Form elements dynamically, you have to be
> careful about their processing. Instead of getDisplayFieldValue(), you
will
> have to use getWebVar(), since ND is not aware of the existence of these
> Form elements.
>
> In the case of Submit buttons, what goes to the server is <name>=<value>
of
> the button that was clicked. The NVPs of other buttons don't get
submitted.
> So you will need to iteratively do getWebVar() to find which button was
> clicked, and act accordingly. When you create buttons thru Studio, all
these
> are taken care of by ND.
>
> Regards,
>
> Aby
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 11, 1999 4:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: [ND] Unknown number of items to be displayed
> >
> >
> >
> > Hello everyone,
> >
> > I need to display several buttons at the bottom of an HTML page. The
> > number of
> > buttons, along with their individual captions and targets will be
> > determined
> > from a result table retrieved by an EJB function. In order to display
each
> > of
> > these buttons, do I have to use a Repeated field?
> >
> > Is there some other way to add a visual element to a page in NetDynamics
> > [5]
> > without it being defined in the HTML template first?
> >
> > Thanks for your help,
> > Beth
> >
> >
>
> -------------------------------------------------------------------------
> > Beth Elicia Finn Competitive Media
Reporting
> > Applications Developer 1385 Enterprise
Drive
> > [EMAIL PROTECTED] West Chester, PA
19380
> > http://www.cmr.com/ (610)
430-6404
> >
> >
> >
_________________________________________________________________________
> >
> > For help in using, subscribing, and unsubscribing to the discussion
> > forums, please go to:
http://www.netdynamics.com/support/visitdevfor.html
> >
> > For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]