[EMAIL PROTECTED] writes:

> +     if (typeof(parentNode.credentials) == "object")
> +     {
> +       var creds = parentNode.credentials;
> +       var request = _this.callRpc("samba.ejsnet", "NetContext", [ creds ]);
> +       request.setUserData("requestType", "NetContext");
> +     }
> +     else
> +     {
> +       // TODO: display a login dialog
> +     }
> +      }
> +      
> +    });

I'm not sure what you're doing here, but login is handled automatically for
all of the modules.  Either you don't understand the SWAT framework and its
standard capabilities, or (more likely) I just don't understand what you're
doing here.  If I'm off base, just tell me to shut up. :-)

Derrell

Reply via email to