Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Steve Sequenzia
Ok, so I am taking Ray's advice and changing a hidden form variable and submitting the form with JS. Thing is when I use the normal submit() in JS it breaks the page out of the original . Anyone know how to keep the form in the layout when submitting with JS? Thanks. > Ray, > > Thanks for the

Re: cfpresentation :: flash form

2007-08-05 Thread Sean Corfield
On 8/5/07, AJ Mercer <[EMAIL PROTECTED]> wrote: > As I understand it, you can put flash objects in a cfpresentationslide You can specify that an entire slide can be a SWF file but it cannot render an HTML page that contains a SWF. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http:/

Re: Sort By "Key"

2007-08-05 Thread Raymond Camden
Ah then use the array there. :) You just can't use it in your query. On 8/5/07, Dylan Carlson <[EMAIL PROTECTED]> wrote: > Great suggestion, and it worked. However, the QueryAddColumn function > requires an array-name as its third parameter. So now I am getting the > following error: > > "Object o

Re: CFFORM with flash format does not work in Internet Explorer ONLY

2007-08-05 Thread James Holmes
Are you able to navigate to the scripts in the CFIDE folder on the cf8 server? On 8/6/07, Charles Sheehan-MIles <[EMAIL PROTECTED]> wrote: > I'm struggling with the same problem, and have not found a solution. Here's > the situation: > > CF8 > IE7 > > Flash forms don't display at all in IE7, they

Re: One form with two submit buttons in &amp;lt;cflayoutarea&amp;gt;

2007-08-05 Thread Larry Lyons
> My need for it is pretty similar to what Ray explained. My buttons are > Save and Save & New. So both buttons submit the form, I just know what > the next step is based on the button. I agree, it can be done with a > drop down or a check box I have always just liked doing it with two > button

Re: One form with two submit buttons in &lt;cflayoutarea&gt;

2007-08-05 Thread Steve Sequenzia
My need for it is pretty similar to what Ray explained. My buttons are Save and Save & New. So both buttons submit the form, I just know what the next step is based on the button. I agree, it can be done with a drop down or a check box I have always just liked doing it with two buttons. Thanks.

Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Phillip M. Vector
Ah.. ok then. :) Raymond Camden wrote: > One example I've seen recently - one button is labeled Save, one is > Save and Edit, so if you click Save and Edit, your changes are stored > and you end up back on the form. If you click Save, you go back to the > list. > > So sure - that could be a choi

Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Raymond Camden
One example I've seen recently - one button is labeled Save, one is Save and Edit, so if you click Save and Edit, your changes are stored and you end up back on the form. If you click Save, you go back to the list. So sure - that could be a choice, but two buttons are easier. On 8/5/07, Phillip M

Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Phillip M. Vector
I have to ask... Why do you have 2 submit buttons? If you are having the user make a choice, why not a dropdown, checkbox, radio button or some such? If it's to load a terms of service or some such, why not a input of "button" with some JS to direct it to that page? Sorry. Not meaning to sound

Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Raymond Camden
You can do things the manual way of course. Switch to buttons and call a JS function to set a hidden form field and then submit(). Not ideal -but just a few lines of code and will get ou past this hump. Don't forget to log a bug at www.adobe.com/go/wish On 8/5/07, Steve Sequenzia <[EMAIL PROTECT

Re: One form with two submit buttons in <cflayoutarea>

2007-08-05 Thread Steve Sequenzia
Ray, Thanks for the help again. Yeah it is confusing me. I have tried submitting to the same page and to a different page and it always has the same result. The second button is ignored. I don't know what the deal is. At least it is not just me, if it surprised you then there must really be so

Re: Sort By "Key"

2007-08-05 Thread Dylan Carlson
Great suggestion, and it worked. However, the QueryAddColumn function requires an array-name as its third parameter. So now I am getting the following error: "Object of type class java.lang. String cannot be used as an array." On the following code: Dylan On 8/5/07, Raymond Camden <[EMAIL PRO

Re: One form with two submit buttons in

2007-08-05 Thread Raymond Camden
So i did a test when I changed your cfform to post to test2.cfm, and dumped the form scope there, and I saw the same - it doesn't recognize the second button. I mean the button works, but the value is the same. On 8/5/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > Odd - I see it too. One thing to

Re: One form with two submit buttons in

2007-08-05 Thread Raymond Camden
Odd - I see it too. One thing to remember though - when you put cfform inside of cflayoutarea, CF will post the form asynchronously, and will replace the contents of the layoutarea with the result. But - you are posting to yourself. So you end up loading your original file inside the layoutarea y

Re: Sort By "Key"

2007-08-05 Thread Raymond Camden
Look here: SELECT SPEAKER_ID FROM TOPIC WHERE SPEAKER_ID IN (#VARIABLES.keyArray#) Remember that you made variables.keyArray an array. You can't use an array like that. Before you had made keyarray, you had keylist. Just use keylist. On 8/5/07, Dylan Carlson <[EMAIL PR

Re: Sort By "Key"

2007-08-05 Thread Dylan Carlson
Will do Ray. Again, I appreciate any help you can give. --- start code --- No files found for "#FORM.topic#" SELECT SPEAKER_ID FROM TOPIC WHERE SPEAKER_ID IN (#VARIABLES.keyArray#) #results.t

One form with two submit buttons in

2007-08-05 Thread Steve Sequenzia
I have this little bit of code that I am testing with inside of a : #cmd1# #cmd2# When inside the and the form is submitted it always returns a value for cmd1 no matter which submit button is clicked to submit the form and no value for cmd2. See example: http://demo.thinksys.com/

Re: Sort By "Key"

2007-08-05 Thread Raymond Camden
I think it would help if you could repost the full code again, with the issues. I could tyr to parse it from your first email, but I'm lazy. ;) On 8/5/07, Dylan Carlson <[EMAIL PROTECTED]> wrote: > Thanks Ray! I appreciate the quick response and suggestions. > > Admittedly, I "found" that code onl

RE: where is my java.library.path ?

2007-08-05 Thread Dave Watts
> So.. my question is .. where is my java.library.path ? It's in your jvm.config file, but don't worry about changing it, just put your driver in the same directory as all the other drivers (\cfusionmx7\lib if you have the standard single-server install, \jrun4\servers\cfusion\cfusion-ear\cfusion-

where is my java.library.path ?

2007-08-05 Thread P. Merritt
I'm trying to set up a JDBC connection to an SQL Anywhere database I've been told that all I need to do is choose >Datasources/ Other: > > CF data source: appropriate name > JDBC URL : jdbc:ianywhere:dsn=*** (name defined with ODBC manager ) > driver class: ianywhere.ml.jdbcodbc.jdbc3.IDriver >

Re: CFFORM with flash format does not work in Internet Explorer ONLY

2007-08-05 Thread Charles Sheehan-MIles
I'm struggling with the same problem, and have not found a solution. Here's the situation: CF8 IE7 Flash forms don't display at all in IE7, they look fine in all other browsers. The same exact code works fine on a CF 7.0.2 server. On 6/22/07 2:48 PM, "siriusthird" <[EMAIL PROTECTED]> wrote:

RE: Content Placeholders

2007-08-05 Thread Bobby Hartsfield
And of course if the image is NOT defined, replace **image1** with nothing ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Sunday, August 05, 2007 1:17 PM To: CF-Talk Subject: RE: Conte

RE: Content Placeholders

2007-08-05 Thread Mark Leder
Yeah, I was thinking about some type of conditional logic that would parse the entire html to look for an instance of **image01** to trigger the replace. Mark -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Sunday, August 05, 2007 1:17 PM To: CF-Talk Subject: RE

ColdFusion 8 cfgrid and formatting

2007-08-05 Thread Dan Vega
I am having a hard time finding an answer to this riddle so maybe someone here can help. I have a grid with columns show below. The livedocs say the mask attribute for cfgridcolumn is only used in when the format is flash. If this is correct then how do i format data in html? This would not just be

RE: Content Placeholders

2007-08-05 Thread Bobby Hartsfield
I've done this in the past to allow the user to place images at specific places in their articles. I used tokens like... **image1** **image2** **image3** Etc... Then gave them a drop down menu for each image to select which image to display in each position. On the front end... If image1 is def

Re: Sort By "Key"

2007-08-05 Thread Dylan Carlson
Thanks Ray! I appreciate the quick response and suggestions. Admittedly, I "found" that code online, so anything that is old or deprecated should have been caught. For instance, the parameterExists function, I didn't know that it was deprecated, but regardless should have known to use an isDefined

Content Placeholders

2007-08-05 Thread Mark Leder
Hi, Trying to figure out how to use a placeholder in dynamic content to pull in other content at runtime. A user is entering text on a page in a database driven CMS system. If they insert a "token" or "Placeholder" in the middle of the copy somewhere (such as "%%ref01%%"), I would want t

cfpresentation :: flash form

2007-08-05 Thread AJ Mercer
As I understand it, you can put flash objects in a cfpresentationslide So I was thinking that you could put in cfchart or cfform with format = flash like: But this does not seem to be the case - well it isn't working for me. So it just embedded flash objects that can be use

Re: Sort By "Key"

2007-08-05 Thread Raymond Camden
I see a lot here - so forgive me if I jump around a bit. First off - don't use parameterExists. it was deprecated a _long_ time ago. It isn't the cause of any of your problems, but you should be using isDefined instead. Second - you get the valueList of keys from your Verity query. You then store

Re: LDAP

2007-08-05 Thread Jochem van Dieten
Eric J. Hoffman wrote: > Have an app that is remote from a network that is your standard LDAP/AD > dealthe client's folks really want the remote app to authenticate > back via LDAP. Is LDAP a means or an end here? Do they specifically want LDAP or do they want something that allows single sig

Sort By "Key"

2007-08-05 Thread Dylan Carlson
Does any know how to sort by key from the results of a ? I'm using Verity. I found a way by creating a list from the returned keys, then assigning them to an array, then query the original data and matching it to the returned keys, then using a custom tag by Nate Weiss to sort the new query. It so

Re: LDAP

2007-08-05 Thread Dave Ross
in general, no, I would say it's not a great idea, but sometimes requirements dictate that it has to be done. I've seen directories replicated out to a DMZ server to insulate things a bit, but I honestly don't see that as really improving security much, unless you are replicating non-sensitive i

Re: Operation Failed on Data Source Error

2007-08-05 Thread James Holmes
ORA-00600 means, "Call your DBA as the DB has big issues." This isn't a CF problem. On 8/5/07, Dave Hatz <[EMAIL PROTECTED]> wrote: > We are using CF7.02 Enterprise on a Windows 2003 Server. We have multiple > servers(3) running on the same box via JRun. We are running Oracle 9i on a > Window

RE: JS Question Hide/Show Form Elements

2007-08-05 Thread Adrian Lynch
Or $("#idofelement").toggle(); I'm having a tonne of fun with jQuery at the moment! Adrian -Original Message- From: Josh Nathanson Sent: 03 August 2007 17:25 To: CF-Talk Subject: Re: JS Question Hide/Show Form Elements > HIDE: document.getElementById('idOfElement').style.display='none'

Operation Failed on Data Source Error

2007-08-05 Thread Dave Hatz
We are using CF7.02 Enterprise on a Windows 2003 Server. We have multiple servers(3) running on the same box via JRun. We are running Oracle 9i on a Windows 2K box. On one of our CF servers we received the following error yesterday: Operation failed on the data source named "xxx". Reason o