Let me take a whack at this.

You are attempting to use CSpDisplayField.getHtmlValueText (which is
protected) within a method in a subclass of CSpPage.

CSpDisplayField is a child of CSpVisual.

CSpPage is a child of CSpCommonPage which is a child of CSpDataDrivenVisual
which is a child of CSpVisual.

That makes CSpPage sort of a distant cousin to CSpDisplayField.

Thus, the protected methods of CSpDisplayField are not accessible to methods
within CSpPage.

Now, you've said that "getHtmlText" returns more information than what you
want.  Perhaps if you tell us what you're trying to accomplish, we can be of
more help.

-- Grace

----- Original Message -----
From: Steven Bergstein <[EMAIL PROTECTED]>
Newsgroups: netdynamics.public.support.nd4.talk
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 06, 1999 12:55 PM
Subject: Re: [ND] Using spider.visual.CSpDisplayField.getHtmlNameText


>
> Please ignore the previous post.
>
> Protected methods are supposed to be
> available to subclasses and to other members
> of the same package.  I am trying to make a
> call to these methods from within a CSpPage
> which is a member of the spider.visual
> package, as is CSpDisplayField.
>
> The getHtmlText method returns more information than I am interested in,
requiring parsing.
>
> This seems like a bug to me.
>
> -steve
>
> Curt Springer <[EMAIL PROTECTED]> wrote:
> >These are protected methods, available only to children of
CSpDisplayField.
> >
> >Use getHtmlText.
> >
> >-- Curt Springer, Team ND
> >
> >At 08:43 AM 7/6/99 -0800, Steven Bergstein wrote:
> >>
> >>I'm trying to use CSpDisplayField.getHtmlNameText and
> >CSpDisplayField.getHtmlValueText
> >> in an OnBeforeHtmlOutput event but am finding that the methods do not
> >exist.  I'm
> >> passing a CSpDisplayAttributes object and have imported
spider.visual.*.
> >>
> >>Has anyone used these methods successfully?  Am I missing something?
> >>
> >>Thanks for your help.
> >>
> >>-steve
>
>>_________________________________________________________________________
> >>
> >>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]
>

_________________________________________________________________________

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]

Reply via email to