In the articleAdvanced XPages : A Nicer Domino Login Part 3
in Dec’s Dom Blog, there are a couple of comments on which I am very interested, but no real solution is posted there. As I’m a noob in Xpages and Dojo I’d like som explanation and examples:
* The script library "login" searches for a "GIF" to test for login ( if(String(data).substring(0,3)=="GIF").
While this is OK for Firefox it does NOT work for IE7 (as noted in a comment).
The commenter suggest to look for a "LOGIN" text in a small text file, so I created a LOGIN.txt file with just the word LOGIN in it and now I test for
if(String(data).substring(0,5)=="LOGIN")
=>> it works in IE BUT does NOT work in FIREFOX !!!
Any suggestion how to make it work for BOTH??
* In another comment they say:
"I used your solution even when anynymous is no access. (by redirecting the domcfg login form to an xpage with the popup login). Works like a charm."
Any idea HOW to code for an AUTOMATIC show of the POP-UP Dojo window?!?!?
Moreover it seems to me that you CANNOT tell in domcfg to go DIRECTLY to an XPAGE: I had to redirect to a normal FORM than in turns redirects to the Xpage (on the onLoad event).
Is thi the only way to do it? or is ther a simpler way?