nitro wrote:
WaZZu wrote:

Hello all
I'm trying to embed mozilla with wxWidgets(formerly wxWindows). I followed mfcembed sample to override prompt dialogs, but not as dll component. I got Alert prompt to work, but prompt for Username and Password doesn't work. When I access web page with htaccess authorization it just shows that "Authorization is Required" page instead of asking username and password first.
Does anybody have an idea what could be wrong with setting this up?


Thanks in advance. Any help is appreciated.

-wz.


I already built something based on wxWidgets and Mozilla that supports nsIPrompt. Could you give more details on your implementation if your problem isn't fixed ?

Nitro.

Did you use wxMozilla by any chance or wxEmbed?

Basically I was looking at the mfcembed code while implementing wx based code. I instantiated a class from nsIPromptService, declared NS_DECL_NSIPROMPTSERVICE and defined all prompt methods with custom dialogs using wx. It's really weird that only prompt for username and password doesn't work. Say, Alert, Confirm, ConfirmEx and other prompts do work fine, but when it comes to pages where username and password required, it doesn't popup dialog with enter password prompt, it just silently shows me a page saying Authorization Required blah blah, maybe your browser doesn't support such and such...

Question, does profile management could screw this up? Because I'm not using any profile while doing NS_InitEmbeding, for now I'm just passing nsnull for both arguments.

Thanks for the long awaited respond :) I thought everybody just ignored my problem.


-wz. _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to