Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Behaviors in Behaviors

Reply
Thread Tools

Behaviors in Behaviors

 
 
Mark Kremers
Guest
Posts: n/a
 
      07-31-2003
Hi group,

I'm facing this problem.
I've got a behavior which makes a kind of toolbar, except the buttons on it.
Within this behavior i build
an element, which contains a different behavior. So far so good. everything
works fine. But when i'm trying to access a method in the second behavior,
i'm getting this error about an object being null. How can i access this
method?

i'm using this kind of construction: toolbar.close.disable();
where toolbar is the id of my first behavior, close is the id of the
behavior inside the first one, and disable is a method in the second one....


regards

Mark Kremers


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow ASP .NET app with DHTML behaviors =?Utf-8?B?RGF2aWQgVGlsbWFu?= ASP .Net 4 08-31-2005 05:01 PM
std_logic_vector entry as hexadecimal : Different behaviors Sylvain Munaut VHDL 2 12-22-2004 12:19 AM
DHTML Behaviors and ASP.NET Scupper ASP .Net 1 05-28-2004 07:50 PM
Help needed, rotation behaviors with java3D Sheena Java 1 10-28-2003 06:52 PM
Help: Usercontrol - different behaviors based on parent VB Programmer ASP .Net 3 07-01-2003 06:01 PM



Advertisments