I was thinking along the same lines last night (about the second
approach) but fate intervened (read: the design goals shifted :\ )
and I have to go and re-write this process to be non-js anyway; what
this process needs to so (allow the user to tell us what kind of
address books they want to import) has to run on mobile devices now
so I have to work on the lowest possible performance mobile device on
which there would be no javascript.
But this is an interesting question that eventually needs a systemic
approach that fits in seamlessly with the rest of the framework...
David
On Mar 8, 2007, at 3:09 AM, Geert Bevin wrote:
I suppose it's possible to handle this, but it needs some custom
coding and a bit of searching. One way start looking into this by
creating a second authentication element that is used for popups. I
think that by providing a custom template for that one, you should
be able to write some javascript that closes the popup and performs
a request in the main window. Another approach could be to not have
javascript that directly opens a popup window in your main window,
but to first post a submission to the main window (which will then
be authenticated), and at the submission post serve the javascript
that will open the popup. At an initial glance I think I prefer the
second approach.
Hope this helps,
Geert
On 07 Mar 2007, at 22:58, David HM Spector wrote:
The problem is that when the user's session times out the
credentials box is showing up in very unexpected and inappropriate
places.
In the example I described when I did enter my credentials, the
next page, that should have been in a modal pop-up window was
redisplayed in a whole browser window.
David
On Mar 7, 2007, at 3:38 PM, Geert Bevin wrote:
Why would you want to do that? RIFE's authentication is created
in such a way that you can just enter your credentials and the
form you initially submitted will go through. No need to go back
to the mail page.
On 07 Mar 2007, at 21:33, David HM Spector wrote:
I ran into an interesting problem, I was signed into my App, had
to walk off for a little while, when I cam back and clicked on a
button that would bring me to some other form (which happens to
be a popup window) what was in the window? The login
credentials box (!!) Yikes.
Is there a simple way to redirect a user to the main login page
whenever they are logged out due to inactivity bypassing
whatever they may have been in the middle of when they walked
away form the keyboard?
David
-------------------------------------------------------------------
------------------------
David HM Spector
spector (at) zeitgeist.com
http://www.zeitgeist.com/
~ ~ ~
"New and stirring things are belittled because if they are not
belittled, the
humiliating question arises, 'Why then are you not taking part
in them?'"
--H. G. Wells
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
---------------------------------------------------------------------
----------------------
David HM Spector
spector (at) zeitgeist.com
http://www.zeitgeist.com/
voice: +1 631.261.5013
fax: +1 212.656.1443
~ ~ ~
"New and stirring things are belittled because if they are not
belittled, the
humiliating question arises, 'Why then are you not taking part in
them?'"
--H. G. Wells
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
------------------------------------------------------------------------
-------------------
David HM Spector
spector (at) zeitgeist.com
http://www.zeitgeist.com/
voice: +1 631.261.5013 fax:
+1 212.656.1443
~ ~ ~
"New and stirring things are belittled because if they are not
belittled, the
humiliating question arises, 'Why then are you not taking part in
them?'"
--H. G. Wells
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users