Re: Multiple Form Actions Within a Spry Tabbed Page

2011-12-15 Thread Wendy Wyffels

I am trying to put a form on each tab, but for some reason the 
tabbedpanelscontent tag becomes invalid and my tabs show incorrectly.  Where do 
I need to place the form on each tab?

Wendy,

The simplest thing of course would be to put a form inside each tab. If 
there are reasons not to do that, you can simply update the form's 
action in your onclick functions before submitting.

onAddProject() {
 //etc.
 this.form.action = ''/projectHandler.cfm;
 //etc.
}
onAddWork() {
 //etc.
 this.form.action = ''/workHandler.cfm;
 //etc.
}

On 12/13/11 11:37 AM, Wendy Wyffels wrote:
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349160
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Multiple Form Actions Within a Spry Tabbed Page

2011-12-15 Thread Wendy Wyffels

I am new to spry tabs, but I have tried to put a form on each 
TabbedPanelsContentGroup.  It looks ok for the first tab, but then after that 
everyting seems to be ignored.  Sorry for all the questions, but any help is 
appreciated.

!--Tab Values-
div id=TabbedPanels1 class=TabbedPanels

  ul class=TabbedPanelsTabGroup
li class=TabbedPanelsTab tabindex=0Project Management/li
li class=TabbedPanelsTab tabindex=0Work Performed/li
li class=TabbedPanelsTab tabindex=0Reports/li
li class=TabbedPanelsTab tabindex=0Personnel/li
  /ul
  !--Tab Contents-  
  div class=TabbedPanelsContentGroup
form name=ProjectForm method=post action=PTS_add_project.cfm 
!--Project Management-  
div class=TabbedPanelsContentSelect Project for Click Add to Input New

   div style=margin-top:25px;margin-bottom:15px;
select name=ProjectName size=1 class=style78 id=ProjectName
  !---populate the facility drop-down list.--- 
  cfif (Project.recordcount GT 0)
cfloop query=Project
   option value=#Project.ProjectID##Short_Title#/option
/cfloop
  cfelse
   cfset Mon = Month(Now())
   cfif (Mon GT 9) AND (Mon LT 13)
  cfset FY = Year(Now()) + 1
   cfelse
  cfset FY = Year(Now())
   /cfif
   cfset Num = Project.recordcount + 1
   cfset paddingChar = 0
   cfset RecID = Num  repeatString(paddingChar, 4-len(Num))
   cfset NewProjectID = FY + RecID
   #NewProjectID#
   option value=#NewProjectID#Add New Project to 
Populate/option
  /cfif
/select
div class=bclear/div
  /div
  
  div style=margin-top:10px;
div class=style78

  cfif (#Form.ProjectName# NEQ #NewProjectID#)
 input name=UpdatePrj type=submit value=Update/
 input name=ProjectID type=hidden value=Form.ProjectName/
  cfelse   
 input name=AddPrj type=submit value=Add/
  /cfif
  input name=DeletePrj type=button onClick=DeleteProject(); 
value=Delete/
/div
div class=bclear/div
  /div  

/div
/form   

!--Work Performed-

div class=TabbedPanelsContentSelect Project to Update or Click Add to 
Insert New Work Item Against a Project
form name=WorkForm method=post action=PTS_add_work.cfm 
div style=margin-top:25px;margin-bottom:15px;
select name=ProjectName size=1 class=style78 id=ProjectName
  !---populate the facility drop-down list.--- 
  cfif (Project.recordcount GT 0)
cfloop query=Project
  option value=#Project.ProjectID##Short_Title#/option
/cfloop
  cfelse
  option value=NewProjectAdd New Project to Populate/option
  /cfif
/select
div class=bclear/div
  /div
  
  div style=margin-top:10px;
div class=style78
  input name=AddWrk type=button class=style78 id=Add 
onClick=AddWork(); value=Add/
  input name=UpdateWrk type=button class=style78 id=Update 
onClick=UpdateWork(); value=Update/
  input name=DeleteWrk type=button class=style78 id=Delete 
onClick=DeleteWork(); value=Delete/
/div
div class=bclear/div
  /div 

/div
/form

!--Reports-

div class=TabbedPanelsContentSelect Report to View



/div


!--Personnel-

div class=TabbedPanelsContentSelect Employee to Update or Click Add to 
Insert New Employee
form name=EmployeeForm method=post action=PTS_add_employee.cfm 
   div style=margin-top:25px;margin-bottom:15px;
select name=EmployeeName size=1 class=style78 id=EmployeeName
  !---populate the facility drop-down list.--- 
  cfif (Employee.recordcount GT 0)
 cfloop query=Employee
   option value=#Personnel.PersonnelID##FirstName# 
#LastName#/option
 /cfloop
  cfelse
   option value=NewProjectAdd New Employee to Populate/option
  /cfif
/select
div class=bclear/div
   /div
  
   div style=margin-top:10px;
div class=style78
  input name=AddEmp type=button class=style78 id=Add 
onClick=AddEmployee(); value=Add/
  input name=UpdateEmp type=button class=style78 id=Update 
onClick=UpdateEmployee(); value=Update/
  input name=DeleteEmp type=button class=style78 id=Delete 
onClick=DeleteEmployee(); value=Delete/
/div
div class=bclear/div
   /div  

/div
/form
  
  !--Tab Contents End-  
  /div
!--Tab  End-  
/div


Wendy,

The simplest 

Re: Save Form Data to XML file

2011-12-15 Thread Raymond Camden

If you don't care about the form of the XML, you can also use WDDX to
do the conversion in one quick call.


On Wed, Dec 14, 2011 at 10:53 PM, Mike Kear afpwebwo...@gmail.com wrote:

 IF you use cfdump var=#form# /  you should see a struct called form
 with each of your form fields and their settings from the submitted form.
 If you use Daniel Gaspar http://www.danielgaspar.com/'s ANYTHINGXOXML.cfc
 you can automatically convert it to XML without any effort.
 http://anythingtoxml.riaforge.org/


 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Adobe Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month



 On Thu, Dec 15, 2011 at 3:43 PM, Tom Jones tjo...@acworld.com wrote:


 Hello,
 I have been searching all over cf-talk archives and on google and I don't
 see a good example on how to save form data to a xml file.

 So what I'm doing right now is, I have a xml file and read that and then
 display it in a form so the it can be edited. Here is an example on what
 I'm thinking. What I'm struggling with is the form data is not returned as
 an array of structs where I could easily create a xml file from, it's just
 coma separated lists.

 Thanks,
 tom

 !--- Example XML
 columns
    column
        alignleft/align
        dnameAgent Version/dname
        hiddenfalse/hidden
        idx2/idx
        nameagent_version/name
        order2/order
        width100/width
    /column
    column
        alignleft/align
        dnameAllow Client/dname
        hiddenfalse/hidden
        idx3/idx
        nameAllowClient/name
        order1/order
        width100/width
    /column
 /columns
 ---
 form name=colSettings method=post
 table width=600 cellpadding=2 cellspacing=1
 tr
        thOrder/th
        thDisplay Name/th
        thAlign Text/th
        thHide/th
        thColumn Width/th
 /tr
 cfloop index=x array=#sortedColsArray#
 tr
 cfoutput
        tdinput type=text name=order size=3 value=#x.order#/td
        tdinput type=text name=dname size=50
 value=#x.dname#/td
        tdinput type=text name=align size=10
 value=#x.align#/td
        tdinput type=text name=hidden size=3
 value=#x.hidden#/td
        tdinput type=text name=width size=10
 value=#x.width#/td
 /cfoutput
 /tr
 /cfloop
 /table
 input name=submit type=submit value=Save /
 /form



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349162
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices: Google mapping

2011-12-15 Thread Steve 'Cutter' Blades

You can try my CFGMap project on RIAForge. Should be well documented, 
but you're welcome to ask questions off list.

http://cfgmap.riaforge.org/

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it


On 12/14/2011 5:19 PM, Jeff Gladnick wrote:
 Is there a current state of the art for dealing with Google maps and 
 coldfusion, especially asynchronously.  I've used cf_googlemap extensively in 
 the past, but has anything eclipsed it?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349163
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices: Google mapping

2011-12-15 Thread Raymond Camden

I've got a few blog entries on using Google Maps w/ CF outside of
CFMAP as well.


On Wed, Dec 14, 2011 at 4:19 PM, Jeff Gladnick jeff.gladn...@gmail.com wrote:

 Is there a current state of the art for dealing with Google maps and 
 coldfusion, especially asynchronously.  I've used cf_googlemap extensively in 
 the past, but has anything eclipsed it?




-- 
===
Raymond Camden, Adobe Developer Evangelist

Email : raymondcam...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaste

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349164
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder - Cut/Paste Delay Problem

2011-12-15 Thread Cameron Childress

For what it's worth, I think I have found the solution to this problem.
 Thought I would share it.  It was really only happening with script based
CFCs, so I turned off Javascript validation thinking Eclipse may have been
looking at the CFScript as JS and trying to validate it all the time.  It's
only been a couple of hopurs but it seems to have worked.

To turn this off: Preferences  HTML  Editors  JavaScript  Validation,
unselect JavaScript Validators.

-Cameron

On Tue, Dec 6, 2011 at 9:55 AM, Cameron Childress camer...@gmail.comwrote:

 Some weeks ago I started having a problem where using
 CTRL+X, CTRL+C, CTRL+V in ColdFusion builder seems to work
 only sporadically.  Eventually I narrowed it down to a problem where
 Eclipse/CFB seems to need me to hold the keys for a second or two before
 the cut/paste takes effect.  If I copy an item quickly it doesn't end up on
 my clipboard, but if I carefully hold the keys down a little longer than
 normal, it works.

 I suspect Eclipse or CFB is doing something as the text goes into the
 clipboard and that's causing the problem, but I haven't been able to figure
 out what.

 I'm on:
 Mac OS 10.7.2
 Eclipse Helios SR2
 CFB2 v2.0.0.278082 (as a plugin)

 Is anyone else experiencing this?  Any suggestions?

 -Cameron

 --
 Cameron Childress
 --
 p:   678.637.5072
 im: cameroncf
 facebook http://www.facebook.com/cameroncf | 
 twitterhttp://twitter.com/cameronc |
 google+ https://profiles.google.com/u/0/117829379451708140985





-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349165
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Save Form Data to XML file

2011-12-15 Thread Tom Jones

Thanks, this works great. I really had thought there might have been a simple 
function to to do this :-)

thanks again,
tom

So, if you have an arbitrary number of columns and when you submit the 
form you get:

form.align=left,left,...
form.dname=Agent Version,Allow Client,...

then you can do:

colCount = listLen(form.align);
xml = ;
for (i = 1;  i LTE colCount; i++) {
 xml = column;
 xml = align#listGetAt(form.align, i)#/align;
 xml = dname#listGetAt(form.dname, i)#/dname;
 ...
 xml = /column;
}
xml = columns#xml#/columns;


On 12/14/11 8:43 PM, Tom Jones wrote:
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


One app kills another's session

2011-12-15 Thread Bryan Stevenson

Hey All,

Can't say that I've bumped into this before.

1) 2 apps are involved and both use SESSION vars to store user details
once they login.

2) Both apps are set to setClientCookies in CFAPPLICATION

3) App 1 uses a standard login form where credentials are verified and
the SESSION vars are set if successful

4) App 2 uses Windows Integrated Authentication to grab the user's ID
off the network and use that as part of the authentication process -
when successful...SESSION vars are set as in app 1

5) Both apps have a different name in CFAPPLICATION ;-)

6) both apps reside on the same server running CF 8 against Oracle 10G

Here's what happens on WinXP Pre SP 3 with IE 7:

1) Open new IE7 window and log in to app1

2) Open new IE7 window and log in to app 2

3) Go back to the browser with app 1 and try to navigate through app -
get kicked to session expired screen


This was tested by another user on XP with IE8 and the issue did not
occur.

So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things to
checkany ideas?

TIA

Cheers
-- 


Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349167
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) Nivo slideshow

2011-12-15 Thread Jenny Gavin-Wear

Hi all,

I am sure I am doing something daft.  Images are not sliding and I am
getting the following error:-

Error: $(#slider).nivoSlider is not a function
Source File:
http://chesterfield-fc-trust.fasttrackonline.co.uk/concept/untitled1.cfm
Line: 17

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
titleUntitled Document/title
link rel=stylesheet href=nivo-slider.css type=text/css media=screen
/

!--- jquery ---
script
src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js;
type=text/javascript/script
script src=jquery.nivo.slider.pack.js type=text/javascript/script

!--- on load ---
script type=text/javascript
$(window).load(function() {
$('#slider').nivoSlider({
});
});
/script
/head
body

!--- slide show ---
div id=slider class=nivoSlider
img src=/pageart/stadium-1200.gif width=1200 height=200 /
img src=/pageart/stadium-1200-1.gif width=1200 height=200
title=This is an example of a caption /
img src=/pageart/stadium-1200-2.gif width=1200 height=200 /
/div
/body
/html

Thanks in advance for showing me where I've gone wrong!

Jenny
--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 12053 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349168
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) Nivo slideshow

2011-12-15 Thread Gerald Guido

Try putting the JS block under the HTML.



!--- slide show ---
div id=slider class=nivoSlider
   img src=/pageart/stadium-1200.
gif width=1200 height=200 /
   img src=/pageart/stadium-1200-1.gif width=1200 height=200
title=This is an example of a caption /
   img src=/pageart/stadium-1200-2.gif width=1200 height=200 /
/div

!--- on load ---
script type=text/javascript
$(window).load(function() {
   $('#slider').nivoSlider({
   });
});
/script







On Thu, Dec 15, 2011 at 12:51 PM, Jenny Gavin-Wear 
jenn...@fasttrackonline.co.uk wrote:


 Hi all,

 I am sure I am doing something daft.  Images are not sliding and I am
 getting the following error:-

 Error: $(#slider).nivoSlider is not a function
 Source File:
 http://chesterfield-fc-trust.fasttrackonline.co.uk/concept/untitled1.cfm
 Line: 17

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 html xmlns=http://www.w3.org/1999/xhtml;
 head
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 titleUntitled Document/title
 link rel=stylesheet href=nivo-slider.css type=text/css
 media=screen
 /

 !--- jquery ---
 script
 src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js;
 type=text/javascript/script
 script src=jquery.nivo.slider.pack.js type=text/javascript/script

 !--- on load ---
 script type=text/javascript
 $(window).load(function() {
$('#slider').nivoSlider({
});
 });
 /script
 /head
 body

 !--- slide show ---
 div id=slider class=nivoSlider
img src=/pageart/stadium-1200.gif width=1200 height=200 /
img src=/pageart/stadium-1200-1.gif width=1200 height=200
 title=This is an example of a caption /
img src=/pageart/stadium-1200-2.gif width=1200 height=200 /
 /div
 /body
 /html

 Thanks in advance for showing me where I've gone wrong!

 Jenny
 --
 I am using the free version of SPAMfighter.
 We are a community of 7 million users fighting spam.
 SPAMfighter has removed 12053 of my spam emails to date.
 Get the free SPAMfighter here: http://www.spamfighter.com/len

 The Professional version does not have this message




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349169
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) Nivo slideshow

2011-12-15 Thread Dean Lawrence

Jenny,

The page is not finding the jquery.nivo.slider.pack.js file. Make sure
your path is correct.

Dean

On Thu, Dec 15, 2011 at 12:51 PM, Jenny Gavin-Wear
jenn...@fasttrackonline.co.uk wrote:

 Hi all,

 I am sure I am doing something daft.  Images are not sliding and I am
 getting the following error:-

 Error: $(#slider).nivoSlider is not a function
 Source File:
 http://chesterfield-fc-trust.fasttrackonline.co.uk/concept/untitled1.cfm
 Line: 17

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 html xmlns=http://www.w3.org/1999/xhtml;
 head
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 titleUntitled Document/title
 link rel=stylesheet href=nivo-slider.css type=text/css media=screen
 /

 !--- jquery ---
 script
 src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js;
 type=text/javascript/script
 script src=jquery.nivo.slider.pack.js type=text/javascript/script

 !--- on load ---
 script type=text/javascript
 $(window).load(function() {
    $('#slider').nivoSlider({
    });
 });
 /script
 /head
 body

 !--- slide show ---
 div id=slider class=nivoSlider
    img src=/pageart/stadium-1200.gif width=1200 height=200 /
    img src=/pageart/stadium-1200-1.gif width=1200 height=200
 title=This is an example of a caption /
    img src=/pageart/stadium-1200-2.gif width=1200 height=200 /
 /div
 /body
 /html

 Thanks in advance for showing me where I've gone wrong!

 Jenny
 --
 I am using the free version of SPAMfighter.
 We are a community of 7 million users fighting spam.
 SPAMfighter has removed 12053 of my spam emails to date.
 Get the free SPAMfighter here: http://www.spamfighter.com/len

 The Professional version does not have this message




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: One app kills another's session

2011-12-15 Thread Pete Freitag

Bryan,

Are these apps running on the same domain or different domains, if
they are on the same domain then you will need to specify the path in
your session cookies so they don't invalidate each other (this
relatively new behavior due to the session fixation security hotfix
APSB11-04 released in Feb).

Also if you are experiencing a cookie problem on one browser but not
another make sure you have cleared cookies first.

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?




On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
br...@electricedgesystems.com wrote:

 Hey All,

 Can't say that I've bumped into this before.

 1) 2 apps are involved and both use SESSION vars to store user details
 once they login.

 2) Both apps are set to setClientCookies in CFAPPLICATION

 3) App 1 uses a standard login form where credentials are verified and
 the SESSION vars are set if successful

 4) App 2 uses Windows Integrated Authentication to grab the user's ID
 off the network and use that as part of the authentication process -
 when successful...SESSION vars are set as in app 1

 5) Both apps have a different name in CFAPPLICATION ;-)

 6) both apps reside on the same server running CF 8 against Oracle 10G

 Here's what happens on WinXP Pre SP 3 with IE 7:
 
 1) Open new IE7 window and log in to app1

 2) Open new IE7 window and log in to app 2

 3) Go back to the browser with app 1 and try to navigate through app -
 get kicked to session expired screen
 

 This was tested by another user on XP with IE8 and the issue did not
 occur.

 So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things to
 checkany ideas?

 TIA

 Cheers
 --


 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: br...@electricedgesystems.com
 web: www.electricedgesystems.com

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.
 Please consider the environment before printing this e-mail



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices: Google mapping

2011-12-15 Thread Larry Lyons

 Is there a current state of the art for dealing with Google maps and 
 coldfusion, especially asynchronously.  I've used cf_googlemap 
 extensively in the past, but has anything eclipsed it? 
You could try the google maps jQuert plugin. One of the options is accepting 
Jason input.

http://code.google.com/p/jquery-ui-map/ 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349172
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practices: Google mapping

2011-12-15 Thread Raymond Camden

Is that Jason Dean format?


On Thu, Dec 15, 2011 at 2:36 PM, Larry Lyons larrycly...@gmail.com wrote:

 Is there a current state of the art for dealing with Google maps and
 coldfusion, especially asynchronously.  I've used cf_googlemap
 extensively in the past, but has anything eclipsed it?
 You could try the google maps jQuert plugin. One of the options is accepting 
 Jason input.

 http://code.google.com/p/jquery-ui-map/

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349173
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: One app kills another's session

2011-12-15 Thread Bryan Stevenson

Thannks Pete,

Same domainyes.but you speak of a recent hotfixwell this is
CF 8 ;-)

Thankfully I have been told to shelve this issue for other major
priorities, but thanks for the tips...I may need to come back to this at
some point.

Cheers

On Thu, 2011-12-15 at 14:52 -0500, Pete Freitag wrote:

 Bryan,
 
 Are these apps running on the same domain or different domains, if
 they are on the same domain then you will need to specify the path in
 your session cookies so they don't invalidate each other (this
 relatively new behavior due to the session fixation security hotfix
 APSB11-04 released in Feb).
 
 Also if you are experiencing a cookie problem on one browser but not
 another make sure you have cleared cookies first.
 
 --
 Pete Freitag - Adobe Community Professional
 http://foundeo.com/ - ColdFusion Consulting  Products
 http://petefreitag.com/ - My Blog
 http://hackmycf.com - Is your ColdFusion Server Secure?
 
 
 
 
 On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
 br...@electricedgesystems.com wrote:
 
  Hey All,
 
  Can't say that I've bumped into this before.
 
  1) 2 apps are involved and both use SESSION vars to store user details
  once they login.
 
  2) Both apps are set to setClientCookies in CFAPPLICATION
 
  3) App 1 uses a standard login form where credentials are verified and
  the SESSION vars are set if successful
 
  4) App 2 uses Windows Integrated Authentication to grab the user's ID
  off the network and use that as part of the authentication process -
  when successful...SESSION vars are set as in app 1
 
  5) Both apps have a different name in CFAPPLICATION ;-)
 
  6) both apps reside on the same server running CF 8 against Oracle 10G
 
  Here's what happens on WinXP Pre SP 3 with IE 7:
  
  1) Open new IE7 window and log in to app1
 
  2) Open new IE7 window and log in to app 2
 
  3) Go back to the browser with app 1 and try to navigate through app -
  get kicked to session expired screen
  
 
  This was tested by another user on XP with IE8 and the issue did not
  occur.
 
  So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things to
  checkany ideas?
 
  TIA
 
  Cheers
  --
 
 
  Bryan Stevenson B.Comm.
  VP  Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: br...@electricedgesystems.com
  web: www.electricedgesystems.com
 
  Notice:
  This message, including any attachments, is confidential and may contain
  information that is privileged or exempt from disclosure. It is intended
  only for the person to whom it is addressed unless expressly authorized
  otherwise by the sender. If you are not an authorized recipient, please
  notify the sender immediately and permanently destroy all copies of this
  message and attachments.
  Please consider the environment before printing this e-mail
 
 
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349174
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: One app kills another's session

2011-12-15 Thread Matt Quackenbush

Several (most? all?) post-CF9 hot fixes apply to CF8 as well. :-)


On Thu, Dec 15, 2011 at 3:37 PM, Bryan Stevenson 
br...@electricedgesystems.com wrote:


 Thannks Pete,

 Same domainyes.but you speak of a recent hotfixwell this is
 CF 8 ;-)

 Thankfully I have been told to shelve this issue for other major
 priorities, but thanks for the tips...I may need to come back to this at
 some point.

 Cheers

 On Thu, 2011-12-15 at 14:52 -0500, Pete Freitag wrote:

  Bryan,
 
  Are these apps running on the same domain or different domains, if
  they are on the same domain then you will need to specify the path in
  your session cookies so they don't invalidate each other (this
  relatively new behavior due to the session fixation security hotfix
  APSB11-04 released in Feb).
 
  Also if you are experiencing a cookie problem on one browser but not
  another make sure you have cleared cookies first.
 
  --
  Pete Freitag - Adobe Community Professional
  http://foundeo.com/ - ColdFusion Consulting  Products
  http://petefreitag.com/ - My Blog
  http://hackmycf.com - Is your ColdFusion Server Secure?
 
 
 
 
  On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
  br...@electricedgesystems.com wrote:
  
   Hey All,
  
   Can't say that I've bumped into this before.
  
   1) 2 apps are involved and both use SESSION vars to store user details
   once they login.
  
   2) Both apps are set to setClientCookies in CFAPPLICATION
  
   3) App 1 uses a standard login form where credentials are verified and
   the SESSION vars are set if successful
  
   4) App 2 uses Windows Integrated Authentication to grab the user's ID
   off the network and use that as part of the authentication process -
   when successful...SESSION vars are set as in app 1
  
   5) Both apps have a different name in CFAPPLICATION ;-)
  
   6) both apps reside on the same server running CF 8 against Oracle 10G
  
   Here's what happens on WinXP Pre SP 3 with IE 7:
  
 
   1) Open new IE7 window and log in to app1
  
   2) Open new IE7 window and log in to app 2
  
   3) Go back to the browser with app 1 and try to navigate through app -
   get kicked to session expired screen
  
 
  
   This was tested by another user on XP with IE8 and the issue did not
   occur.
  
   So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things
 to
   checkany ideas?
  
   TIA
  
   Cheers
   --
  
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development
   Electric Edge Systems Group Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: br...@electricedgesystems.com
   web: www.electricedgesystems.com
  
   Notice:
   This message, including any attachments, is confidential and may
 contain
   information that is privileged or exempt from disclosure. It is
 intended
   only for the person to whom it is addressed unless expressly authorized
   otherwise by the sender. If you are not an authorized recipient, please
   notify the sender immediately and permanently destroy all copies of
 this
   message and attachments.
   Please consider the environment before printing this e-mail
  
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349175
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: One app kills another's session

2011-12-15 Thread Nick Gleason

Hi Folks,

This sounds a little like a sporadic but very frustrating issue that we have
experienced.  It is IE only and only with some users (we haven't been able
to re-create it in house).  We host multiple stand alone versions of our CMS
/ CRM application per server using CF 9 Professional which is pretty well
patched. The behavior seems to be that sessions mysteriously reset.  In some
cases we have seen this with each page request.  In some cases it seems to
kick in when a page is forced into https (or our related use of wddx to
store client variables).  In some cases it seems to clear up when the user
clears the cache in IE.

We had speculated that it might be related to security settings in IE or
perhaps the way that IE handles caching, but we have yet to find a silver
bullet(s).

It has been very difficult to track down so we're interested in any
information.  I've searched a bit for info regarding the session fixation
patch that Pete mentioned, but any more information about how that plays out
in CF apps would be greatly appreciated.

Thanks in advance,

Nick

 -Original Message-
 From: Pete Freitag [mailto:p...@foundeo.com]
 Sent: Thursday, December 15, 2011 11:53 AM
 To: cf-talk
 Subject: Re: One app kills another's session
 
 
 Bryan,
 
 Are these apps running on the same domain or different domains, if they
 are on the same domain then you will need to specify the path in your
 session cookies so they don't invalidate each other (this relatively
 new behavior due to the session fixation security hotfix
 APSB11-04 released in Feb).
 
 Also if you are experiencing a cookie problem on one browser but not
 another make sure you have cleared cookies first.
 
 --
 Pete Freitag - Adobe Community Professional http://foundeo.com/ -
 ColdFusion Consulting  Products http://petefreitag.com/ - My Blog
 http://hackmycf.com - Is your ColdFusion Server Secure?
 
 
 
 
 On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
 br...@electricedgesystems.com wrote:
 
  Hey All,
 
  Can't say that I've bumped into this before.
 
  1) 2 apps are involved and both use SESSION vars to store user
 details
  once they login.
 
  2) Both apps are set to setClientCookies in CFAPPLICATION
 
  3) App 1 uses a standard login form where credentials are verified
 and
  the SESSION vars are set if successful
 
  4) App 2 uses Windows Integrated Authentication to grab the user's ID
  off the network and use that as part of the authentication process -
  when successful...SESSION vars are set as in app 1
 
  5) Both apps have a different name in CFAPPLICATION ;-)
 
  6) both apps reside on the same server running CF 8 against Oracle
 10G
 
  Here's what happens on WinXP Pre SP 3 with IE 7:
  -
 -
  --
  1) Open new IE7 window and log in to app1
 
  2) Open new IE7 window and log in to app 2
 
  3) Go back to the browser with app 1 and try to navigate through app
 -
  get kicked to session expired screen
  -
 -
  --
 
  This was tested by another user on XP with IE8 and the issue did not
  occur.
 
  So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things
  to checkany ideas?
 
  TIA
 
  Cheers
  --
 
 
  Bryan Stevenson B.Comm.
  VP  Director of E-Commerce Development Electric Edge Systems Group
  Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: br...@electricedgesystems.com
  web: www.electricedgesystems.com
 
  Notice:
  This message, including any attachments, is confidential and may
  contain information that is privileged or exempt from disclosure. It
  is intended only for the person to whom it is addressed unless
  expressly authorized otherwise by the sender. If you are not an
  authorized recipient, please notify the sender immediately and
  permanently destroy all copies of this message and attachments.
  Please consider the environment before printing this e-mail
 
 
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349176
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: One app kills another's session

2011-12-15 Thread Bryan Stevenson

Thanks Nick.

I can say that this does not happen in IE 8 using default settings, but
it is 100% consistent and reproduceable in IE7 with browser default
settings.

So at least it is not anything to do with odd browser settings

The client will be tossing IE7 as their standard when they migrate to
Win7 with IE 9 or 10and this issue has only been reported by a
single super userand he's gonna install IE8 ;-)

Cheers

On Thu, 2011-12-15 at 14:03 -0800, Nick Gleason wrote:

 Hi Folks,
 
 This sounds a little like a sporadic but very frustrating issue that we have
 experienced.  It is IE only and only with some users (we haven't been able
 to re-create it in house).  We host multiple stand alone versions of our CMS
 / CRM application per server using CF 9 Professional which is pretty well
 patched. The behavior seems to be that sessions mysteriously reset.  In some
 cases we have seen this with each page request.  In some cases it seems to
 kick in when a page is forced into https (or our related use of wddx to
 store client variables).  In some cases it seems to clear up when the user
 clears the cache in IE.
 
 We had speculated that it might be related to security settings in IE or
 perhaps the way that IE handles caching, but we have yet to find a silver
 bullet(s).
 
 It has been very difficult to track down so we're interested in any
 information.  I've searched a bit for info regarding the session fixation
 patch that Pete mentioned, but any more information about how that plays out
 in CF apps would be greatly appreciated.
 
 Thanks in advance,
 
 Nick
 
  -Original Message-
  From: Pete Freitag [mailto:p...@foundeo.com]
  Sent: Thursday, December 15, 2011 11:53 AM
  To: cf-talk
  Subject: Re: One app kills another's session
  
  
  Bryan,
  
  Are these apps running on the same domain or different domains, if they
  are on the same domain then you will need to specify the path in your
  session cookies so they don't invalidate each other (this relatively
  new behavior due to the session fixation security hotfix
  APSB11-04 released in Feb).
  
  Also if you are experiencing a cookie problem on one browser but not
  another make sure you have cleared cookies first.
  
  --
  Pete Freitag - Adobe Community Professional http://foundeo.com/ -
  ColdFusion Consulting  Products http://petefreitag.com/ - My Blog
  http://hackmycf.com - Is your ColdFusion Server Secure?
  
  
  
  
  On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
  br...@electricedgesystems.com wrote:
  
   Hey All,
  
   Can't say that I've bumped into this before.
  
   1) 2 apps are involved and both use SESSION vars to store user
  details
   once they login.
  
   2) Both apps are set to setClientCookies in CFAPPLICATION
  
   3) App 1 uses a standard login form where credentials are verified
  and
   the SESSION vars are set if successful
  
   4) App 2 uses Windows Integrated Authentication to grab the user's ID
   off the network and use that as part of the authentication process -
   when successful...SESSION vars are set as in app 1
  
   5) Both apps have a different name in CFAPPLICATION ;-)
  
   6) both apps reside on the same server running CF 8 against Oracle
  10G
  
   Here's what happens on WinXP Pre SP 3 with IE 7:
   -
  -
   --
   1) Open new IE7 window and log in to app1
  
   2) Open new IE7 window and log in to app 2
  
   3) Go back to the browser with app 1 and try to navigate through app
  -
   get kicked to session expired screen
   -
  -
   --
  
   This was tested by another user on XP with IE8 and the issue did not
   occur.
  
   So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things
   to checkany ideas?
  
   TIA
  
   Cheers
   --
  
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development Electric Edge Systems Group
   Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: br...@electricedgesystems.com
   web: www.electricedgesystems.com
  
   Notice:
   This message, including any attachments, is confidential and may
   contain information that is privileged or exempt from disclosure. It
   is intended only for the person to whom it is addressed unless
   expressly authorized otherwise by the sender. If you are not an
   authorized recipient, please notify the sender immediately and
   permanently destroy all copies of this message and attachments.
   Please consider the environment before printing this e-mail
  
  
  
  
  
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349177
Subscription: 

RE: (ot) Nivo slideshow

2011-12-15 Thread Jenny Gavin-Wear

Hi Gerald and Dean,

Many thanks, working fine now!

Jenny

-Original Message-
From: Dean Lawrence [mailto:dean...@gmail.com]
Sent: 15 December 2011 19:01
To: cf-talk
Subject: Re: (ot) Nivo slideshow


Jenny,

The page is not finding the jquery.nivo.slider.pack.js file. Make sure
your
path is correct.

Dean

On Thu, Dec 15, 2011 at 12:51 PM, Jenny Gavin-Wear
jenn...@fasttrackonline.co.uk wrote:

 Hi all,

 I am sure I am doing something daft.  Images are not sliding and I am
 getting the following error:-

 Error: $(#slider).nivoSlider is not a function Source File:
 http://chesterfield-fc-trust.fasttrackonline.co.uk/concept/untitled1.c
 fm
 Line: 17

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 html xmlns=http://www.w3.org/1999/xhtml;
 head
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 titleUntitled Document/title link rel=stylesheet
 href=nivo-slider.css type=text/css media=screen
 /

 !--- jquery ---
 script
 src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js;
 type=text/javascript/script
 script src=jquery.nivo.slider.pack.js
 type=text/javascript/script

 !--- on load ---
 script type=text/javascript
 $(window).load(function() {
    $('#slider').nivoSlider({
    });
 });
 /script
 /head
 body

 !--- slide show ---
 div id=slider class=nivoSlider
    img src=/pageart/stadium-1200.gif width=1200 height=200 /
    img src=/pageart/stadium-1200-1.gif width=1200 height=200
 title=This is an example of a caption /
    img src=/pageart/stadium-1200-2.gif width=1200 height=200 /
 /div /body /html

 Thanks in advance for showing me where I've gone wrong!

 Jenny
 --
 I am using the free version of SPAMfighter.
 We are a community of 7 million users fighting spam.
 SPAMfighter has removed 12053 of my spam emails to date.
 Get the free SPAMfighter here: http://www.spamfighter.com/len

 The Professional version does not have this message






~~
~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-
Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-
talk/message.cfm/messageid:349170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-
talk/unsubscribe.cfm
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1890 / Virus Database: 2108/4681 - Release Date: 12/14/11
--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 12053 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this me

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349178
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: One app kills another's session

2011-12-15 Thread Mike Chabot

Sometimes switching to J2EE sessions fixes odd session issues. If you
are able to do this it might fix the problem. J2EE sessions work
well.Try doing a site-wide search for the cfapplication tag to make
sure there is only one in each site. Sometimes there are multiple
cfapplication tags in a site that people forget about.It could be a
proxy server or firewall messing with things.

Does only one person see this problem?
If one person has the problem and someone else logs into that person's
computer, does the other person have the problem?
Have the person that sees the problem try a different computer or a
different browser.

-Mike Chabot
On Thu, Dec 15, 2011 at 12:22 PM, Bryan Stevenson
br...@electricedgesystems.com wrote:

 Hey All,

 Can't say that I've bumped into this before.

 1) 2 apps are involved and both use SESSION vars to store user details
 once they login.

 2) Both apps are set to setClientCookies in CFAPPLICATION

 3) App 1 uses a standard login form where credentials are verified and
 the SESSION vars are set if successful

 4) App 2 uses Windows Integrated Authentication to grab the user's ID
 off the network and use that as part of the authentication process -
 when successful...SESSION vars are set as in app 1

 5) Both apps have a different name in CFAPPLICATION ;-)

 6) both apps reside on the same server running CF 8 against Oracle 10G

 Here's what happens on WinXP Pre SP 3 with IE 7:
 
 1) Open new IE7 window and log in to app1

 2) Open new IE7 window and log in to app 2

 3) Go back to the browser with app 1 and try to navigate through app -
 get kicked to session expired screen
 

 This was tested by another user on XP with IE8 and the issue did not
 occur.

 So I'm pretty sure this is an IE7 issue, but I'm a tad lean on things to
 checkany ideas?

 TIA

 Cheers
 --


 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: br...@electricedgesystems.com
 web: www.electricedgesystems.com

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.
 Please consider the environment before printing this e-mail



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349179
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: One app kills another's session

2011-12-15 Thread Bryan Stevenson

On Thu, 2011-12-15 at 20:16 -0500, Mike Chabot wrote:

 Sometimes switching to J2EE sessions fixes odd session issues. If you
 are able to do this it might fix the problem. J2EE sessions work
 well.


Pretty sure they already are - but I can double checkthanks

 Try doing a site-wide search for the cfapplication tag to make
 sure there is only one in each site. Sometimes there are multiple
 cfapplication tags in a site that people forget about.It could be a
 proxy server or firewall messing with things.

100% none of the above...but thanks

 
 Does only one person see this problem?

Nope...I can reproduceit's a real bug ;-)

 If one person has the problem and someone else logs into that person's
 computer, does the other person have the problem?
 Have the person that sees the problem try a different computer or a
 different browser.
 
 -Mike Chabot



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349180
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

var loginContainer =
$('.property_container[id=property_+propertyID+').find('.login_container')
;



The ID of the property_container class div is property_1530.

I'm trying to find the div with the class property_container
(.property_container)
that has the id property_1530, where 1530 is a variable, propertyID.

I guess I could just simplify the id to be just the propetyID instead
of appending property_, but why make it easy! :o)

I've tried every combination I could come up with to make this work,
but just can't get it to do what I want.  Maybe my whole approach to this
needs to be reworked, and will, if I can't make this work.

Clues, anyone?

Thanks!

Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349181
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread Matt Quackenbush

Hard to tell with the jumbled mess that Gmail makes of the code, but it
appears you're missing a single quote ( ' ).

var loginContainer =
$('.property_container[id=property_'+propertyID+').find('.login_container');



On Thu, Dec 15, 2011 at 8:35 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 var loginContainer =

 $('.property_container[id=property_+propertyID+').find('.login_container')
 ;



 The ID of the property_container class div is property_1530.

 I'm trying to find the div with the class property_container
 (.property_container)
 that has the id property_1530, where 1530 is a variable, propertyID.

 I guess I could just simplify the id to be just the propetyID instead
 of appending property_, but why make it easy! :o)

 I've tried every combination I could come up with to make this work,
 but just can't get it to do what I want.  Maybe my whole approach to this
 needs to be reworked, and will, if I can't make this work.

 Clues, anyone?

 Thanks!

 Rick



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349182
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread Ricardo Russon

Wouldn't there only be one of each ID?
There should be. So in that case:

var loginContainer =
$('#property_'+propertyID).find('.login_container')

Otherwise try

var loginContainer =
$('.property_container[id='+property_'+propertyID+']').find('.login_container')

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349183
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

The only way that CFB 2 doesn't complain about a syntax error
is if I leave off the +' after propertyID, or

var loginContainer =
$('.property_container[id=property_'+propertyID).find('.login_container');

However, that line doesn't seem to be working.  I say, it doesn't seem
to be working because I don't get the expected response, from the site, but
don't get any error anywhere, either.

I just need to think about this approach a little more, perhaps.

Rick

-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Thursday, December 15, 2011 10:01 PM
To: cf-talk
Subject: Re: (ot) How would I write this js line?


Hard to tell with the jumbled mess that Gmail makes of the code, but it
appears you're missing a single quote ( ' ).

var loginContainer =
$('.property_container[id=property_'+propertyID+').find('.login_container'
);



On Thu, Dec 15, 2011 at 8:35 PM, Rick Faircloth
r...@whitestonemedia.comwrote:


 var loginContainer =


$('.property_container[id=property_+propertyID+').find('.login_container')
 ;



 The ID of the property_container class div is property_1530.

 I'm trying to find the div with the class property_container
 (.property_container)
 that has the id property_1530, where 1530 is a variable, propertyID.

 I guess I could just simplify the id to be just the propetyID instead
 of appending property_, but why make it easy! :o)

 I've tried every combination I could come up with to make this work,
 but just can't get it to do what I want.  Maybe my whole approach to this
 needs to be reworked, and will, if I can't make this work.

 Clues, anyone?

 Thanks!

 Rick



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349184
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread .jonah

You're also missing the closing bracket ]

so you want it to parse as:
$('.property_container[id=property_1530]').find('.login_container');

Which can actually also be written as:
$('.property_container#property_1530').find('.login_container');

But we'll stick with your format and insert the number dynamically. Note 
the nesting of single and double quotes.

The selector is a string. It contains lots of stuff including double quotes:
'.property_container[id=property_1530]'

To dynamically build a string by concatenation we use the + operator:
'.property_container[id=property_' + propertyID + ']'
Note that you're chopping up the string into two string and a variable 
and reassembling it.

That gives us our final result:
$('.property_container[id=property_' + propertyID + 
']').find('.login_container');
(Note carefully the single and double quotes.)

Good Luck!

Legally, you should have unique IDs on a page so it'd simply be: 
$('#property_' + propertyID).find('.login_container');


Cheers,
.jonah

On 12/15/11 7:00 PM, Matt Quackenbush wrote:
 Hard to tell with the jumbled mess that Gmail makes of the code, but it
 appears you're missing a single quote ( ' ).

 var loginContainer =
 $('.property_container[id=property_'+propertyID+').find('.login_container');



 On Thu, Dec 15, 2011 at 8:35 PM, Rick 
 Fairclothr...@whitestonemedia.comwrote:

 var loginContainer =

 $('.property_container[id=property_+propertyID+').find('.login_container')
 ;



 The ID of the property_container class div is property_1530.

 I'm trying to find the div with the class property_container
 (.property_container)
 that has the id property_1530, where 1530 is a variable, propertyID.

 I guess I could just simplify the id to be just the propetyID instead
 of appending property_, but why make it easy! :o)

 I've tried every combination I could come up with to make this work,
 but just can't get it to do what I want.  Maybe my whole approach to this
 needs to be reworked, and will, if I can't make this work.

 Clues, anyone?

 Thanks!

 Rick




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349185
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread Ricardo Russon

I wouldn't rely too heavily on what CFBuilder thinks of your JavaScript or CSS.
It is quite often wrong.

Either way, your selector is incomplete. its missing the ']'



On Fri, Dec 16, 2011 at 1:40 PM, Rick Faircloth
r...@whitestonemedia.com wrote:

 The only way that CFB 2 doesn't complain about a syntax error
 is if I leave off the +' after propertyID, or

 var loginContainer =
 $('.property_container[id=property_'+propertyID).find('.login_container');

 However, that line doesn't seem to be working.  I say, it doesn't seem
 to be working because I don't get the expected response, from the site, but
 don't get any error anywhere, either.

 I just need to think about this approach a little more, perhaps.

 Rick

 -Original Message-
 From: Matt Quackenbush [mailto:quackfu...@gmail.com]
 Sent: Thursday, December 15, 2011 10:01 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Hard to tell with the jumbled mess that Gmail makes of the code, but it
 appears you're missing a single quote ( ' ).

 var loginContainer =
 $('.property_container[id=property_'+propertyID+').find('.login_container'
 );



 On Thu, Dec 15, 2011 at 8:35 PM, Rick Faircloth
 r...@whitestonemedia.comwrote:


 var loginContainer =


 $('.property_container[id=property_+propertyID+').find('.login_container')
 ;



 The ID of the property_container class div is property_1530.

 I'm trying to find the div with the class property_container
 (.property_container)
 that has the id property_1530, where 1530 is a variable, propertyID.

 I guess I could just simplify the id to be just the propetyID instead
 of appending property_, but why make it easy! :o)

 I've tried every combination I could come up with to make this work,
 but just can't get it to do what I want.  Maybe my whole approach to this
 needs to be reworked, and will, if I can't make this work.

 Clues, anyone?

 Thanks!

 Rick







 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349186
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

The HTML is written so that there is a property_container
that contains a login container.

So, the we'd be using .find to look inside the .property_container div
to find the #property_propertyID div and the .login_container div.

The login_container div is only shown when a user clicks on a star graphic
to save the property being viewed as a favorite...

So, the simple HTML is:

div class=property_container

   div id=property_#propertyID# class=login_container

/div

The login_container is hidden unless needed to login the user.

However, I'm inserted HTML into the login_container div only when
it's needed to keep down the duplicate code otherwise required.

What's complicating the whole issue is that the .property_container
is inserted into the .cfm page via cfsavecontent from a .cfc and the
HTML of the .login_container is being inserted via javascript using
a function when it's needed. (I tried inserting the js via function
using a built-up array of code simply because I couldn't get this to
work by calling up the HTML via a cfc method.)  I've tried several
approaches, but haven't solved this yet...



-Original Message-
From: Ricardo Russon [mailto:ricardo.rus...@gmail.com] 
Sent: Thursday, December 15, 2011 10:38 PM
To: cf-talk
Subject: Re: (ot) How would I write this js line?


Wouldn't there only be one of each ID?
There should be. So in that case:

var loginContainer =
$('#property_'+propertyID).find('.login_container')

Otherwise try

var loginContainer =
$('.property_container[id='+property_'+propertyID+']').find('.login_containe
r')



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349187
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread .jonah

If your html is:
div class=property_container
div id=property_#propertyID# class=login_container
/div
/div

And you want to reference the login container, then all you need is:
$('#property_' + propertyID);

No need to refer to property container at all.

On 12/15/11 7:50 PM, Rick Faircloth wrote:
 The HTML is written so that there is a property_container
 that contains a login container.

 So, the we'd be using .find to look inside the .property_container div
 to find the #property_propertyID div and the .login_container div.

 The login_container div is only shown when a user clicks on a star graphic
 to save the property being viewed as a favorite...

 So, the simple HTML is:

 div class=property_container

 div id=property_#propertyID# class=login_container

 /div

 The login_container is hidden unless needed to login the user.

 However, I'm inserted HTML into the login_container div only when
 it's needed to keep down the duplicate code otherwise required.

 What's complicating the whole issue is that the .property_container
 is inserted into the .cfm page via cfsavecontent from a .cfc and the
 HTML of the .login_container is being inserted via javascript using
 a function when it's needed. (I tried inserting the js via function
 using a built-up array of code simply because I couldn't get this to
 work by calling up the HTML via a cfc method.)  I've tried several
 approaches, but haven't solved this yet...



 -Original Message-
 From: Ricardo Russon [mailto:ricardo.rus...@gmail.com]
 Sent: Thursday, December 15, 2011 10:38 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Wouldn't there only be one of each ID?
 There should be. So in that case:

 var loginContainer =
 $('#property_'+propertyID).find('.login_container')

 Otherwise try

 var loginContainer =
 $('.property_container[id='+property_'+propertyID+']').find('.login_containe
 r')



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349188
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

 If your html is:
 div class=property_container
 div id=property_#propertyID# class=login_container
 /div
 /div

It's quite a bit more complicated, involving pre-written HTML,
HTML inserted via a cfc method use cfsavecontent which is written
into a .cfm file, then AJAXed into the pre-written HTML.

The AJAXed in HTML contains the empty .login_container div,
which only gets its HTML if is needed and a jQuery function is
called and the push method is used to write the HTML into a
literal JS array, and then pushed into the DIV using the 'join' method.

The hardest part is targeting the correct .login_container which
needs to receive the pushed JS-generated HTML, based on which
property the star graphic is being clicked by the user.

Your last suggestion was close, but this finally (at least at first
attempt at 12:16 am (late!) seems to work:

var loginContainer =
$('.property_container[id=property_'+propertyID+']').find('.login_containe
r');

No errors appear in CFB2 initially, or in Firebug when the code is executed.

I just pray this holds up under use tomorrow.

Thanks for the feedback and suggestions!
Maybe we finally have a solution with this approach!

Rick




 -Original Message-
 From: Ricardo Russon [mailto:ricardo.rus...@gmail.com]
 Sent: Thursday, December 15, 2011 10:38 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Wouldn't there only be one of each ID?
 There should be. So in that case:

 var loginContainer =
 $('#property_'+propertyID).find('.login_container')

 Otherwise try

 var loginContainer =

$('.property_container[id='+property_'+propertyID+']').find('.login_containe
 r')



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

Oh, yeah... it's a mobile site I'm working on,
converting a full real-estate site to a mobile version,
but you can see it at work in a browser or a smartphone at:

http://hre-mobile.wsm-dev.com/modules/search-properties/search-properties.cf
m

Any feedback is appreciated!  It's a work-in-progress, but
almost complete.  (As complete as it's going to get before
it's launched, anyway...)

Rick



-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Friday, December 16, 2011 12:18 AM
To: cf-talk
Subject: RE: (ot) How would I write this js line?


 If your html is:
 div class=property_container
 div id=property_#propertyID# class=login_container
 /div
 /div

It's quite a bit more complicated, involving pre-written HTML,
HTML inserted via a cfc method use cfsavecontent which is written
into a .cfm file, then AJAXed into the pre-written HTML.

The AJAXed in HTML contains the empty .login_container div,
which only gets its HTML if is needed and a jQuery function is
called and the push method is used to write the HTML into a
literal JS array, and then pushed into the DIV using the 'join' method.

The hardest part is targeting the correct .login_container which
needs to receive the pushed JS-generated HTML, based on which
property the star graphic is being clicked by the user.

Your last suggestion was close, but this finally (at least at first
attempt at 12:16 am (late!) seems to work:

var loginContainer =
$('.property_container[id=property_'+propertyID+']').find('.login_containe
r');

No errors appear in CFB2 initially, or in Firebug when the code is executed.

I just pray this holds up under use tomorrow.

Thanks for the feedback and suggestions!
Maybe we finally have a solution with this approach!

Rick




 -Original Message-
 From: Ricardo Russon [mailto:ricardo.rus...@gmail.com]
 Sent: Thursday, December 15, 2011 10:38 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Wouldn't there only be one of each ID?
 There should be. So in that case:

 var loginContainer =
 $('#property_'+propertyID).find('.login_container')

 Otherwise try

 var loginContainer =

$('.property_container[id='+property_'+propertyID+']').find('.login_containe
 r')



 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) How would I write this js line?

2011-12-15 Thread Rick Faircloth

Another note:  some of the functionality, such as
is linked via more photos is disabled until I could
sort out this form issue.

Rick



-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Friday, December 16, 2011 12:21 AM
To: cf-talk
Subject: RE: (ot) How would I write this js line?


Oh, yeah... it's a mobile site I'm working on,
converting a full real-estate site to a mobile version,
but you can see it at work in a browser or a smartphone at:

http://hre-mobile.wsm-dev.com/modules/search-properties/search-properties.cf
m

Any feedback is appreciated!  It's a work-in-progress, but
almost complete.  (As complete as it's going to get before
it's launched, anyway...)

Rick



-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Friday, December 16, 2011 12:18 AM
To: cf-talk
Subject: RE: (ot) How would I write this js line?


 If your html is:
 div class=property_container
 div id=property_#propertyID# class=login_container
 /div
 /div

It's quite a bit more complicated, involving pre-written HTML,
HTML inserted via a cfc method use cfsavecontent which is written
into a .cfm file, then AJAXed into the pre-written HTML.

The AJAXed in HTML contains the empty .login_container div,
which only gets its HTML if is needed and a jQuery function is
called and the push method is used to write the HTML into a
literal JS array, and then pushed into the DIV using the 'join' method.

The hardest part is targeting the correct .login_container which
needs to receive the pushed JS-generated HTML, based on which
property the star graphic is being clicked by the user.

Your last suggestion was close, but this finally (at least at first
attempt at 12:16 am (late!) seems to work:

var loginContainer =
$('.property_container[id=property_'+propertyID+']').find('.login_containe
r');

No errors appear in CFB2 initially, or in Firebug when the code is executed.

I just pray this holds up under use tomorrow.

Thanks for the feedback and suggestions!
Maybe we finally have a solution with this approach!

Rick




 -Original Message-
 From: Ricardo Russon [mailto:ricardo.rus...@gmail.com]
 Sent: Thursday, December 15, 2011 10:38 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Wouldn't there only be one of each ID?
 There should be. So in that case:

 var loginContainer =
 $('#property_'+propertyID).find('.login_container')

 Otherwise try

 var loginContainer =

$('.property_container[id='+property_'+propertyID+']').find('.login_containe
 r')



 







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) How would I write this js line?

2011-12-15 Thread .jonah

I'd add label tags with for= attributes around all checkbox and radio 
button labels. (Ideally on labels for all form elements.) This is 
especially important on mobile where you need a larger area to click. 
Along that same vein, I'd add more spacing around each radio/checkbox to 
make it easier to select each with your fat finger. (Here's a post on 
element sizes for touchscreens: http://www.lukew.com/ff/entry.asp?1085)

Cheers,
.jonah

On 12/15/11 9:20 PM, Rick Faircloth wrote:
 Oh, yeah... it's a mobile site I'm working on,
 converting a full real-estate site to a mobile version,
 but you can see it at work in a browser or a smartphone at:

 http://hre-mobile.wsm-dev.com/modules/search-properties/search-properties.cf
 m

 Any feedback is appreciated!  It's a work-in-progress, but
 almost complete.  (As complete as it's going to get before
 it's launched, anyway...)

 Rick



 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Friday, December 16, 2011 12:18 AM
 To: cf-talk
 Subject: RE: (ot) How would I write this js line?


 If your html is:
 div class=property_container
 div id=property_#propertyID# class=login_container
 /div
 /div
 It's quite a bit more complicated, involving pre-written HTML,
 HTML inserted via a cfc method use cfsavecontent which is written
 into a .cfm file, then AJAXed into the pre-written HTML.

 The AJAXed in HTML contains the empty .login_container div,
 which only gets its HTML if is needed and a jQuery function is
 called and the push method is used to write the HTML into a
 literal JS array, and then pushed into the DIV using the 'join' method.

 The hardest part is targeting the correct .login_container which
 needs to receive the pushed JS-generated HTML, based on which
 property the star graphic is being clicked by the user.

 Your last suggestion was close, but this finally (at least at first
 attempt at 12:16 am (late!) seems to work:

 var loginContainer =
 $('.property_container[id=property_'+propertyID+']').find('.login_containe
 r');

 No errors appear in CFB2 initially, or in Firebug when the code is executed.

 I just pray this holds up under use tomorrow.

 Thanks for the feedback and suggestions!
 Maybe we finally have a solution with this approach!

 Rick



 -Original Message-
 From: Ricardo Russon [mailto:ricardo.rus...@gmail.com]
 Sent: Thursday, December 15, 2011 10:38 PM
 To: cf-talk
 Subject: Re: (ot) How would I write this js line?


 Wouldn't there only be one of each ID?
 There should be. So in that case:

 var loginContainer =
 $('#property_'+propertyID).find('.login_container')

 Otherwise try

 var loginContainer =

 $('.property_container[id='+property_'+propertyID+']').find('.login_containe
 r')








 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349192
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm