DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ColdFusion (http://www.daniweb.com/forums/forum19.html)
-   -   cfwindow show (http://www.daniweb.com/forums/thread103056.html)

tiggi Dec 31st, 2007 3:51 pm
cfwindow show
 
Hi,

I need some help with cfwindows, I got a page with few buttons in a cfform that initialize cfwindows with source in another page. Everything works as it should cept that when I click on 1 button the rest don't work. I am getting an error "error processing JavaScript in markap for element "window.name_body"

this is my code

<cfajaximport tags="cfform">
<cfform name="myform">
 
 <cfinput type="button" name="mybutton3" value="Add Experience"
onclick="javascript:ColdFusion.Window.show('experience')"><br />
 <cfinput type="button" name="mybutton3" value="Add Education"
onclick="javascript:ColdFusion.Window.show('education')"><br />
 <cfinput type="button" name="mybutton3" value="Related Coursework"
onclick="javascript:ColdFusion.Window.show('coursework')"><br />
 <cfinput type="button" name="mybutton3" value="Activities"
onclick="javascript:ColdFusion.Window.show('activities')">

</cfform>
<cfwindow x="210" y="100" width="550" height="480" name="education" modal="true" 
        minHeight="400" minWidth="400"
        title="Education" initshow="false"
        source="education.cfm"/>
       
 <cfwindow x="210" y="100" width="570" height="480" name="experience"
        minHeight="400" minWidth="400"
        title="Experience" initshow="false"
        source="experience.cfm" />     

 <cfwindow x="210" y="100" width="570" height="480" name="activities" modal="true"
        minHeight="400" minWidth="400"
        title="Activities" initshow="false"
        source="activities.cfm" />
       
 <cfwindow x="210" y="100" width="570" height="480" name="coursework" modal="true"
        minHeight="400" minWidth="400"
        title="Coursework" initshow="false"
        source="courseWork.cfm" />
And then one of the window sources, coursework.cfm
<cfform name="coursework" format="flash">
        <cfformgroup type="page" label="Related Coursework">
        <cfinput type="text" name="Coursework" label="Description:"  size="40" height="100"/>
      </cfformgroup>
</cfform>


All times are GMT -4. The time now is 11:16 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC