Shash:

Ah, is that where it was hiding!  I'm OK with changing the default, any model that 
needs it the other way can just have a config change, and I don't think there are all 
that many.

Mike

On Wed, 10 Mar 2004 20:57:32 -0600
"Sasvata (Shash) Chatterjee" <[EMAIL PROTECTED]> wrote:

> Phew.......found it!
> 
> The culprit is Sequence.  Unless each sequence specfies 
> clearParams="true" attribute, Sequence remembers all the parameters the 
> last time the sequence was run!  The comment says that if the attribute 
> is missing, then it is assumed to be false for backwards compatibility.  
> Are there any models that depend on the parameters being persistent 
> across invocations of the sequence?  If so, such models must be in the 
> minority....if everyone agrees, I'd really like to change the default to 
> "true" and save having to add that parameter to every model out there.
> 
> Shash
> 
> Michael Nash JGlobal.com wrote:
> 
> >Shash:
> >
> >dmn must be being included in the "hidden" parameters for the Command that's 
> >re-invoking login?
> >
> >First guess, anyway - I'll dig a bit deeper....
> >
> >Mike
> >
> >On Wed, 10 Mar 2004 15:27:44 -0600
> >"Shash Chatterjee" <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>>Hmm. - Domain is stored in the UserEnvironment I think. Originally I 
> >>>had set up so that an initial login would not prompt for a domain 
> >>>(it would always give you the default), as I didn't necessarily want 
> >>>to show all domains to a user who wasn't allowed to them - but I 
> >>>didn't know who the user was until they logged in :-)
> >>>
> >>>      
> >>>
> >>Right...that is the part I mentioned in my earlier email..as long as we can
> >>define a use-case, this is easy to change.
> >>
> >>    
> >>
> >>>Are you sure that "dmn" is not being passed as a parameter when you 
> >>>(re) call the model? If it's passed as a param, then it's not 
> >>>prompted for.
> >>>      
> >>>
> >>I am using the nav.navigate model exclusively
> >>So:
> >>
> >>- Start Keel
> >>- Run User->Login
> >>- No domain list is shown, login as root/root
> >>- Run User->Login again, this time shows my 3 configured domains.  Pick the
> >>middle domain (NT), login as schatterjee/*******.  Earlier, login was failing,
> >>now I have fixed it.  In either case, goes back to main menu.
> >>- Logoff 
> >>- Run User->Login again.  Does not show domain dropdown
> >>- Login as root/toot.. Fails, because it is going to nt domain again.
> >>
> >>I am not explicitly passing "dmn", but I can't find where it is being stuck
> >>in.  It definitely is not there when I look at the HTML in the prompt-login
> >>page before I click the button.  But, when it gets to the Login model, I can
> >>see in the debugger that "dmn" is in the request parameters.
> >>
> >>Shash
> >>    
> >>
> >>>Mike
> >>>
> >>>      
> >>>
> >>>>Shash
> >>>>http://keelframework.org/documentation
> >>>>Keelgroup mailing list
> >>>>[EMAIL PROTECTED]
> >>>>http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> >>>>        
> >>>>
> >>>-- 
> >>>Michael Nash
> >>>
> >>>JGlobal Ltd 
> >>>Next-Generation Web Application Development and Open Source Support
> >>>http://www.jglobal.com
> >>>
> >>>Bahamas Commerce and Trade
> >>>Offshore eCommerce Hosting and Business Services
> >>>http://www.bahamascommerce.com
> >>>      
> >>>
> >>    
> >>
> >
> >
> >  
> >
> 
> http://keelframework.org/documentation
> Keelgroup mailing list
> [EMAIL PROTECTED]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com


-- 
Michael Nash

JGlobal Ltd 
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com

Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com

http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to