> I don't mean to be dense.
>
> According to both _Teach_Yourself_Java_in_21_Days_ and
_Java_in_a_Nutshell_,
> protected methods should also be available to other classes in the same
package.
> The two classes in question are both in the package spider.visual.  Thus,
the
> method should be available.

Ah, but you misunderstand.  Your NetDynamics project is the package from
which you are attempting to access the method
spider.visual.CSpDisplayField.getHtmlValueText.  Thus, you cannot use that
method!



> As to what I'm trying to do: I'm trying to create a two-dimensional array
of
> check boxes.  In order to do this, it appears that I need to override the
> subscripting of the repeated fields because NetDynamics numbers each row's
> fields as [0], [1], [2], [3], and [4] (actually there is no subscript at
all for
> the [0]).
>
> I wanted to use the getHtmlNameText and getHtmlValueText methods to assist
me in
> creating the HTML in the OnBeforeHtmlOutputEvent method.
>
> There are workarounds for me, but the issue seems to be that the methods
are
> unavailable when they shouldn't be.

I don't see why you couldn't just use getHtmlText instead.  Sure, it's "less
information".  You could always take the "roll your own approach" where you
create a static text field and add the logic to create the full HTML.

-- Grace


_________________________________________________________________________

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