Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Launch modal popup from within model
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike Pearl  
View profile  
 More options Jul 30 2012, 4:51 pm
From: Mike Pearl <m...@pearl-group.com>
Date: Mon, 30 Jul 2012 13:51:48 -0700 (PDT)
Local: Mon, Jul 30 2012 4:51 pm
Subject: Launch modal popup from within model

In the model I use cached information to access a secure site.  If the site
rejects the logon, or I don't have the cached info I need to launch a popup
window from the remote site so they can log on.  It's obvious how to create
an anchor which, when clicked, will show a modal window.  BUT how can I
have my model just launch the modal window... is it possible?

Thanks,

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernard Lechler  
View profile  
 More options Jul 30 2012, 6:23 pm
From: Bernard Lechler <lech...@gmail.com>
Date: Mon, 30 Jul 2012 15:23:31 -0700 (PDT)
Local: Mon, Jul 30 2012 6:23 pm
Subject: Re: Launch modal popup from within model

Perhaps you could have your model load a javascript file that pops up the
login dialog?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Niels Braczek  
View profile  
 More options Jul 30 2012, 9:54 pm
From: Niels Braczek <nbrac...@bsds.de>
Date: Tue, 31 Jul 2012 03:54:01 +0200
Local: Mon, Jul 30 2012 9:54 pm
Subject: Re: [jgen] Launch modal popup from within model
Am 30.07.2012 22:51, schrieb Mike Pearl:

> In the model I use cached information to access a secure site.  If the site
> rejects the logon, or I don't have the cached info I need to launch a popup
> window from the remote site so they can log on.  It's obvious how to create
> an anchor which, when clicked, will show a modal window.  BUT how can I
> have my model just launch the modal window... is it possible?

A model should *never* try to generate output.
Instead, throw an exception and catch it in the controller in order to
redirect to an appropriate page.

Regards,
Niels

--
| http://barcamp-wk.de   ·   2. Barcamp Westküste    Frühjahr 2013 |
| http://www.bsds.de   ·   BSDS Braczek Software- und DatenSysteme |
| Webdesign · Webhosting · e-Commerce · Joomla! Content Management |
 ------------------------------------------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »