@Chuck, I don't have any ready-made examples of something like that, although I might be able to whip up a quick demo this weekend, if that would be helpful (although I must admit that I'm not terribly familiar with CF's built-in Ajax functionality, so I would use jQuery to do something like this).
You might want to take a look at this blog post from Ray Camden, as it presents an approach for solving this exact problem (albeit not in a Model-Glue context): http://www.coldfusionjedi.com/index.cfm/2007/11/29/ColdFusion-8-and-AjaxBased-Login -- Ezra Parker On Fri, Nov 20, 2009 at 9:08 AM, Chuck <[email protected]> wrote: > @Brett, That link is this thread. > > What I'm looking for is an example of all of this subject. I keep > seeing pieces. Anyone have a simple example they could post, of say a > login.cfm page, that has a login form, that is removed and replaced > with Welcome Bob Smith, without a refresh. Including a mode-glue.xml > snapshot and the files used to return the info? > > You can see what I have at searisen.com/mg/ click login, then click > the new login. The page disappears, and I want the referenced page to > update with user info, the login button changing to logout and the > user's account info to appear. I'm sure this is done for every page > that requires authentication. At the very least I could have the main > page refresh (not sure how, since the returning view is inside the > small login window). > > On Nov 19, 3:37 pm, Brett Herford-Fell <[email protected]> wrote: >> lol. >> >> check out my thread posted in this group before, may be of some help. >> >> http://groups.google.com/group/model-glue/browse_thread/thread/fa79c9... >> >> On Fri, Nov 20, 2009 at 9:35 AM, Charlie Griefer >> >> <[email protected]> wrote: >> > It's funny 'cuz it's true :) >> >> > On Thu, Nov 19, 2009 at 2:34 PM, Chuck <[email protected]> wrote: >> >> >> Dan, there is absolutely no documentation at that link. Even your >> >> comment is more verbose than the docs. >> >> >> -- >> >> Model-Glue Sites: >> >> Home Page:http://www.model-glue.com >> >> Documentation:http://docs.model-glue.com >> >> Bug Tracker:http://bugs.model-glue.com >> >> Blog:http://www.model-glue.com/blog >> >> >> You received this message because you are subscribed to the Google >> >> Groups "model-glue" group. >> >> To post to this group, send email to [email protected] >> >> To unsubscribe from this group, send email to >> >> [email protected] >> >> For more options, visit this group at >> >>http://groups.google.com/group/model-glue?hl=en >> >> > -- >> > Charlie Griefer >> >http://charlie.griefer.com/ >> >> > I have failed as much as I have succeeded. But I love my life. I love my >> > wife. And I wish you my kind of success. >> >> > -- >> > Model-Glue Sites: >> > Home Page:http://www.model-glue.com >> > Documentation:http://docs.model-glue.com >> > Bug Tracker:http://bugs.model-glue.com >> > Blog:http://www.model-glue.com/blog >> >> > You received this message because you are subscribed to the Google >> > Groups "model-glue" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> >http://groups.google.com/group/model-glue?hl=en > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
