Re: Arrays

2009-03-01 Thread Will Tomlinson

Interesting Will. So does your outer-most structure have some sort of
incremental key? Personally an array of structs seems easier to me
because the array implies a series of something. As far as updating
and the code to deal with them it is pretty much 6 or 1/2 dozen I
would think.


I have a timeAdded key which I sort on using structSort(). 

cfset keyArray = structSort(cart, numeric, desc, timeAdded)

Then use the resulting array to loop over the cart. 

cfloop from=1 to=#arrayLen(keyArray)# index=thisKey
 pSKU: #keyArray[thisKey]# | Time Added: #cart[keyArray[thisKey]].timeAdded# 
| Price: #cart[keyArray[thisKey]].price#/p 
/cfloop

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319952
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Kim Hoopingarner

I have a Flex 3 main app that calls 2 components - one has a datagrid with user 
data while the other component has an input form for the same user data.  I use 
the Coldfusion to server the data changes.  I found that if I change the data 
using the input form, it is not reflected in the datagrid.  So I'm out of sync 
- and can't find a good solution to prevent this.

I know now that solutions are out there (like LiveCycle data services) to keep 
components in sync with the database.  But I'm confused...   I have a hosting 
site to work with - and I'm in a shared environment.  Therefore I won't be able 
to update the coldfusion config files to make the LiveCycle work.  

I need a solution that will allow me to keep Flex 3 and the database in sync 
using Coldfusion - but kept within the constraints of a shared hosting 
environment.  What should I look into.  

Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Graham Pearson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
What about when the user submits the information  utilizing the form
in flex to have it make another trip to the component to acquire all
data to be redisplayed in the data grid. I do this same thing however
in my case, my datagrid is refreshed every 5 minutes automatically.


Kim Hoopingarner wrote:
 I have a Flex 3 main app that calls 2 components - one has a datagrid
with user data while the other component has an input form for the same
user data.  I use the Coldfusion to server the data changes.  I found
that if I change the data using the input form, it is not reflected in
the datagrid.  So I'm out of sync - and can't find a good solution to
prevent this.

 I know now that solutions are out there (like LiveCycle data services)
to keep components in sync with the database.  But I'm confused...   I
have a hosting site to work with - and I'm in a shared environment. 
Therefore I won't be able to update the coldfusion config files to make
the LiveCycle work. 

 I need a solution that will allow me to keep Flex 3 and the database in
sync using Coldfusion - but kept within the constraints of a shared
hosting environment.  What should I look into. 

 Thanks!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319954
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: verity indexing of each word in keyword search

2009-03-01 Thread Raymond Camden

By default, if the user enters

x y

to search, Verity treats it as a phrase. You can modify their search
by changing any space to a comma. So x y becomes x,y. Although I
think you want an AND search, so you could simply change any space to
 AND .

You can see more on this in the CF Dev Guide, chapter 28, Using Verity
Search Expressions. Specifically the section Using simple queries.

On Sat, Feb 28, 2009 at 4:43 PM, Richard Steele r...@photoeye.com wrote:

 What is the best way to search a string of words such as firstname and 
 lastname  using verity?

 Right now our search engine is a literal search and thus if there is a middle 
 initial in the field we are searching in, then it won't return the results. 
 However if in the input box we enter firstname and lastname then it finds 
 it. We don't want the user to have to enter the operator and.

 Thanks in advance.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319955
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Mike Chabot

There are a few ways to do this, but the simplest way is to databind
the grid to a data structure inside of Flex and make sure that data
structure gets updated by the form submit. You can do the update
either at the same time as you submit the form, or you can wait for a
successful response from the server and do the update in the response
handler function inside of Flex. I recommend staying with the basic
built-in techniques while you get started with Flex. If you are
looking for how to handle the situation of two people updating the
data at the same time or the issue of potentially updating stale data,
then that is a different task from making sure the grid data updates
with the content of the form submit.

-Mike Chabot

On Sun, Mar 1, 2009 at 10:23 AM, Kim Hoopingarner
k.hoopingar...@e-details.com wrote:

 I have a Flex 3 main app that calls 2 components - one has a datagrid with 
 user data while the other component has an input form for the same user data. 
  I use the Coldfusion to server the data changes.  I found that if I change 
 the data using the input form, it is not reflected in the datagrid.  So I'm 
 out of sync - and can't find a good solution to prevent this.

 I know now that solutions are out there (like LiveCycle data services) to 
 keep components in sync with the database.  But I'm confused...   I have a 
 hosting site to work with - and I'm in a shared environment.  Therefore I 
 won't be able to update the coldfusion config files to make the LiveCycle 
 work.

 I need a solution that will allow me to keep Flex 3 and the database in sync 
 using Coldfusion - but kept within the constraints of a shared hosting 
 environment.  What should I look into.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319956
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Kim Hoopingarner

 There are a few ways to do this, but the simplest way is to databind
 the grid to a data structure inside of Flex and make sure that data
 structure gets updated by the form submit. You can do the update
 either at the same time as you submit the form, or you can wait for a
 successful response from the server and do the update in the response
 handler function inside of Flex. I recommend staying with the basic
 built-in techniques while you get started with Flex. If you are
 looking for how to handle the situation of two people updating the
 data at the same time or the issue of potentially updating stale data,
 
 then that is a different task from making sure the grid data updates
 with the content of the form submit.
 
 -Mike Chabot
 

You bring up my concern that I didn't say at all... what if the data is changed 
via another person?  I want to be able to get that data too.
 On Sun, Mar 1, 2009 at 10:23 AM, Kim Hoopingarner
 k.hoopingar...@e-details.com wrote:
 
  I have a Flex 3 main app that calls 2 components - one has a 
 datagrid with user data while the other component has an input form 
 for the same user data.  I use the Coldfusion to server the data 
 changes.  I found that if I change the data using the input form, it 
 is not reflected in the datagrid.  So I'm out of sync - and can't find 
 a good solution to prevent this.
 
  I know now that solutions are out there (like LiveCycle data 
 services) to keep components in sync with the database.  But I'm 
 confused...   I have a hosting site to work with - and I'm in a shared 
 environment.  Therefore I won't be able to update the coldfusion 
 config files to make the LiveCycle work.
 
  I need a solution that will allow me to keep Flex 3 and the database 
 in sync using Coldfusion - but kept within the constraints of a shared 
 hosting environment.  What should I look into.
 
  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Dave Watts

 You bring up my concern that I didn't say at all... what if the data is 
 changed via another
 person?  I want to be able to get that data too.

For that, you need to use LiveCycle Data Services, or take the same
approach that you would with any other web application - check some
flag on the server that you set to indicate dirty data.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319958
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Kim Hoopingarner

I like the LifeCycle - but is there a good host company out there that supports 
this?  Thanks for any advice on this topic.  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Dave Watts

 I like the LifeCycle - but is there a good host company out there that 
 supports this?

I really doubt it - people who use LiveCycle typically use dedicated servers.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319960
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


JQuery data grid

2009-03-01 Thread Scott Stewart

Hey all, 

 

Does anyone have a recommendation for a JQuery based datagrid that's easily
adapted to ColdFusion?

 

--
Scott Stewart
ColdFusion Developer
4405 Oakshyre Way
Raleigh, NC 27616
(h) 919.874.6229 (c) 703.220.2835

 

 


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.5/1978 - Release Date: 03/01/09
07:04:00




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


oAuth cfc Library with no MySql support?

2009-03-01 Thread Mike Francisco

Hello everyone. 

I am looking into an oAuth library for ColdFusion and only saw one on
RiaForge that was created by Harry Klein. Does anyone know why the library
only came with MSSQL, Oracle, and PostgreSQL? For those familiar with the
cfc, is there anything on the entire library that will keep it from being
used on MySql, other than the missing option on the create_tables.cfm page,
(which can be added)?

Thank you for your response.

Mike 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319963
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Page steps list

2009-03-01 Thread Pranathi Reddy

Hi All,

I am new to cold fusion and trying to create the some list of pages for the 
feedback and results.

I need to display the status of the everypage in the list as shown below.

table align=centertd class=NoHighlight1. Feedback1 2. Feedback2 3. 
Feedback3
td class= Highlight 3. Results
/td

It should have only 3 steps in the list.. means only 3 pages should be 
displayed.eg:
page1,page2,page4 or page1,page3, page4.. something like this

I literaly dont want to use this in each and every page. I want to create a 
function so that it can be called in the page where ever needed. I saw in one 
of the posts that we can use sessions but I am unable to implement it. Can 
anyone helps with it or is there any other way to do so. 

Thanks,
Pranathi 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Mike Chabot

Maybe check out WebORB to see if it offers something to help. I don’t
use that product, so I’m not sure.
http://www.themidnightcoders.com/products.html

To handle the issue of updating stale data, comparing checksums is a
common way to detect if anything on the server changed. SQL Server has
great support for data checksums, if you happen to use that database.

What is done in the ASP.NET framework is to keep track of both the
values being edited and the new values. When an update is sent to the
server, first verify that the values in the database match the values
that you edited. Luckily Visual Studio can generate all this code for
the developer, since it would be rather tedious to write yourself for
a big form.

SQL Server has good data change detection and alerting functionality
that is intended to be used with the ASP.NET Web site caching
functionality, but you can also use the same functionality with CF
since it is handled by the database.

None of these techniques will help solve the problem of data binding
within flex on their own. LiveCycle would help, but given your
situation, the hurdles you would need to jump in order to use that
technology are fairly high.

-Mike Chabot

On Sun, Mar 1, 2009 at 12:53 PM, Dave Watts dwa...@figleaf.com wrote:

 You bring up my concern that I didn't say at all... what if the data is 
 changed via another
 person?  I want to be able to get that data too.

 For that, you need to use LiveCycle Data Services, or take the same
 approach that you would with any other web application - check some
 flag on the server that you set to indicate dirty data.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.c

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread KoldFuzun

Just to clarify, you need the data in the datagrid to match the database
real-time, so that other user's updating the database also update every
other user's UI? It's pretty rare for this need, so I just wanted to clarify
that's what you truly require.


TJ Downes




On Sun, Mar 1, 2009 at 7:23 AM, Kim Hoopingarner 
k.hoopingar...@e-details.com wrote:


 I have a Flex 3 main app that calls 2 components - one has a datagrid with
 user data while the other component has an input form for the same user
 data.  I use the Coldfusion to server the data changes.  I found that if I
 change the data using the input form, it is not reflected in the datagrid.
  So I'm out of sync - and can't find a good solution to prevent this.

 I know now that solutions are out there (like LiveCycle data services) to
 keep components in sync with the database.  But I'm confused...   I have a
 hosting site to work with - and I'm in a shared environment.  Therefore I
 won't be able to update the coldfusion config files to make the LiveCycle
 work.

 I need a solution that will allow me to keep Flex 3 and the database in
 sync using Coldfusion - but kept within the constraints of a shared hosting
 environment.  What should I look into.

 Thanks!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


crud generator comparison / overview ?

2009-03-01 Thread Peter Boughton

Does anyone know if there's a comparison / overview of the various different 
CRUD code generators available? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread KoldFuzun

Sorry for my last post. GMail didnt initially show me the whole thread so I
didn't realize that had been answered.


TJ

On Sun, Mar 1, 2009 at 1:34 PM, KoldFuzun koldfu...@gmail.com wrote:

 Just to clarify, you need the data in the datagrid to match the database
 real-time, so that other user's updating the database also update every
 other user's UI? It's pretty rare for this need, so I just wanted to clarify
 that's what you truly require.


 TJ Downes




 On Sun, Mar 1, 2009 at 7:23 AM, Kim Hoopingarner 
 k.hoopingar...@e-details.com wrote:


 I have a Flex 3 main app that calls 2 components - one has a datagrid with
 user data while the other component has an input form for the same user
 data.  I use the Coldfusion to server the data changes.  I found that if I
 change the data using the input form, it is not reflected in the datagrid.
  So I'm out of sync - and can't find a good solution to prevent this.

 I know now that solutions are out there (like LiveCycle data services) to
 keep components in sync with the database.  But I'm confused...   I have a
 hosting site to work with - and I'm in a shared environment.  Therefore I
 won't be able to update the coldfusion config files to make the LiveCycle
 work.

 I need a solution that will allow me to keep Flex 3 and the database in
 sync using Coldfusion - but kept within the constraints of a shared hosting
 environment.  What should I look into.

 Thanks!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Pranathi Reddy

Any one have any suggestions on this?

On Sun, Mar 1, 2009 at 3:39 PM, Pranathi Reddy rk.prana...@gmail.comwrote:


 Hi All,

 I am new to cold fusion and trying to create the some list of pages for the
 feedback and results.

 I need to display the status of the everypage in the list as shown below.

 table align=centertd class=NoHighlight1. Feedback1 2. Feedback2 3.
 Feedback3
 td class= Highlight 3. Results
 /td

 It should have only 3 steps in the list.. means only 3 pages should be
 displayed.eg:
 page1,page2,page4 or page1,page3, page4.. something like this

 I literaly dont want to use this in each and every page. I want to create a
 function so that it can be called in the page where ever needed. I saw in
 one of the posts that we can use sessions but I am unable to implement it.
 Can anyone helps with it or is there any other way to do so.

 Thanks,
 Pranathi

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Kim Hoopingarner

OK - I'm going about this problem from another angle.  But I'm still scratching 
my head.  Again- 2 components within the app.  I have a tab bar in the main app 
that users click to change to the different component views.  

I came up with the idea to have the tab bar trigger an event - and the 
component with the datagrid is set up to listen for that event.   But that 
doesn't seem to work either.  While the main app is successfully dispatching my 
event, the datagrid component is not triggering its listening function.  

MAIN APPLICATION: 
mx:Script
![CDATA[
private function triggerEvent(event:Event):void {
var event:Event = new Event(clickAdminUser);
dispatchEvent(event);
}
]]
/mx:Script

mx:TabBar id=tbAdmin direction=vertical dataProvider={viewStack} 
width=10% paddingLeft=10 styleName=AdminTabBar 
itemClick=triggerEvent(event) /

mx:ViewStack id=viewStack width=87% height=99% 
components:AdminUser id=cUser label=Users width=100% 
height=100% /

components:AdminUserInput id=cUserInput label=User Input 
width=100% height=100% /
/mx:ViewStack

--
COMPONENT ADMINUSER
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalCenter=true 
height=100% width=100% horizontalScrollPolicy=off
verticalScrollPolicy=off creationComplete=init() 
xmlns:components=components.* 

mx:Script
![CDATA[

public function init():void {


addEventListener(clickAdminUser,refreshUserData);
refreshUserData();
}



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319969
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Kim Hoopingarner

OK - I'm going about this problem from another angle.  But I'm still scratching 
my head.  Same scenario - 2 components within the app.  I have a tab bar in the 
main app that users click to change to the different component views.  

I came up with the idea to have the tab bar (who calls the different 
components) trigger an event - and the component with the datagrid is set up to 
listen for that event.   But that doesn't seem to work either.  While the main 
app is successfully dispatching my event every time I click the tab bar 
options, the datagrid component is not triggering its listening function.  

Below is the code.   Any ideas why the component won't trigger the 
refreshUserData when I am clicking the tab bar?

MAIN APPLICATION: 
mx:Script
![CDATA[
private function triggerEvent(event:Event):void {
var event:Event = new Event(clickAdminUser);
dispatchEvent(event);
}
]]
/mx:Script

mx:TabBar id=tbAdmin direction=vertical dataProvider={viewStack} 
width=10% paddingLeft=10 styleName=AdminTabBar 
itemClick=triggerEvent(event) /

mx:ViewStack id=viewStack width=87% height=99% 
components:AdminUser id=cUser label=Users width=100% 
height=100% /

components:AdminUserInput id=cUserInput label=User Input 
width=100% height=100% /
/mx:ViewStack

--
COMPONENT ADMINUSER
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalCenter=true 
height=100% width=100% horizontalScrollPolicy=off
verticalScrollPolicy=off creationComplete=init() 
xmlns:components=components.* 

mx:Script
![CDATA[

public function init():void {


addEventListener(clickAdminUser,refreshUserData);
refreshUserData();
}

private function refreshUserData():void {
roUser.getUsers();  

}
/mx:Script




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JQuery data grid

2009-03-01 Thread Raymond Camden

I have not used it, but readers on my blog recommended it:

jqGrid: http://www.trirand.com/blog/


On Sun, Mar 1, 2009 at 2:41 PM, Scott Stewart sstwebwo...@bellsouth.net wrote:

 Hey all,



 Does anyone have a recommendation for a JQuery based datagrid that's easily
 adapted to ColdFusion?



 --
 Scott Stewart
 ColdFusion Developer
 4405 Oakshyre Way
 Raleigh, NC 27616
 (h) 919.874.6229 (c) 703.220.2835






 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.237 / Virus Database: 270.11.5/1978 - Release Date: 03/01/09
 07:04:00




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Page steps list

2009-03-01 Thread Al Musella, DPM

  I don't understand what you are trying to do. 
Explain it in more detail, use an example

At 05:12 PM 3/1/2009, you wrote:

Any one have any suggestions on this?

On Sun, Mar 1, 2009 at 3:39 PM, Pranathi Reddy rk.prana...@gmail.comwrote:

 
  Hi All,
 
  I am new to cold fusion and trying to create the some list of pages for the
  feedback and results.
 
  I need to display the status of the everypage in the list as shown below.
 
  table align=centertd class=NoHighlight1. Feedback1 2. Feedback2 3.
  Feedback3
  td class= Highlight 3. Results
  /td
 
  It should have only 3 steps in the list.. means only 3 pages should be
  displayed.eg:
  page1,page2,page4 or page1,page3, page4.. something like this
 
  I literaly dont want to use this in each and every page. I want to create a
  function so that it can be called in the page where ever needed. I saw in
  one of the posts that we can use sessions but I am unable to implement it.
  Can anyone helps with it or is there any other way to do so.
 
  Thanks,
  Pranathi
 
 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Page steps list

2009-03-01 Thread Rick Faircloth

Hi, Pranathi...

I need to understand more about your requirements.

What will determine which pages are to be displayed?
(1,2,4) or (1,3,4) ?

And what is it that you need to accomplish by using
a session variable?

I'm just not clear on the goal.

Rick


-Original Message-
From: Pranathi Reddy [mailto:rk.prana...@gmail.com] 
Sent: Sunday, March 01, 2009 5:13 PM
To: cf-talk
Subject: Re: Page steps list


Any one have any suggestions on this?

On Sun, Mar 1, 2009 at 3:39 PM, Pranathi Reddy rk.prana...@gmail.comwrote:


 Hi All,

 I am new to cold fusion and trying to create the some list of pages 
 for the feedback and results.

 I need to display the status of the everypage in the list as shown below.

 table align=centertd class=NoHighlight1. Feedback1 2. Feedback2 3.
 Feedback3
 td class= Highlight 3. Results
 /td

 It should have only 3 steps in the list.. means only 3 pages should be
 displayed.eg:
 page1,page2,page4 or page1,page3, page4.. something like this

 I literaly dont want to use this in each and every page. I want to 
 create a function so that it can be called in the page where ever 
 needed. I saw in one of the posts that we can use sessions but I am unable
to implement it.
 Can anyone helps with it or is there any other way to do so.

 Thanks,
 Pranathi

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Page steps list

2009-03-01 Thread Pranathi Reddy

I have 4 pages in my application
Page1, Page2, page3 and page4

I am trying to do something like this (saw in some post):

 cfset pagelist = Page1,Page2,Page3,Page4
 cfoutput
  table align=center
   cfset stepCounter = 0
  cfloop list=#pagelist# index=i
   cfset stepCounter = stepCounter +1
   cfif arguments.pagename EQ #trim(i)#
cfset styleclass = HighLight
   cfelse
cfset styleclass = NoHighlight
   /cfif
   tr
 td class=#styleclass# nowrapStep #stepCounter#: /tdtd
class=#styleclass# nowrap#getContent('#arguments.PageID#',
'#i#').title#/td
 /tr
  /cfloop
  /table
  /cfoutput

I am trying to  display the list of the page rendering.
If we are on page1  according to the condition it is redirected to page2
or page3.

The total number of steps should be only 3 and according to the procedure
above it display's 4 steps.  It means that it should either be on page2 or
page3 and not both.

Thanks,
Pranathi.

On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 Hi, Pranathi...

 I need to understand more about your requirements.

 What will determine which pages are to be displayed?
 (1,2,4) or (1,3,4) ?

 And what is it that you need to accomplish by using
 a session variable?

 I'm just not clear on the goal.

 Rick


 -Original Message-
 From: Pranathi Reddy [mailto:rk.prana...@gmail.com]
 Sent: Sunday, March 01, 2009 5:13 PM
 To: cf-talk
 Subject: Re: Page steps list


 Any one have any suggestions on this?

 On Sun, Mar 1, 2009 at 3:39 PM, Pranathi Reddy rk.prana...@gmail.com
 wrote:

 
  Hi All,
 
  I am new to cold fusion and trying to create the some list of pages
  for the feedback and results.
 
  I need to display the status of the everypage in the list as shown below.
 
  table align=centertd class=NoHighlight1. Feedback1 2. Feedback2
 3.
  Feedback3
  td class= Highlight 3. Results
  /td
 
  It should have only 3 steps in the list.. means only 3 pages should be
  displayed.eg:
  page1,page2,page4 or page1,page3, page4.. something like this
 
  I literaly dont want to use this in each and every page. I want to
  create a function so that it can be called in the page where ever
  needed. I saw in one of the posts that we can use sessions but I am
 unable
 to implement it.
  Can anyone helps with it or is there any other way to do so.
 
  Thanks,
  Pranathi
 
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319974
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion / Flex 3 Web Services or...

2009-03-01 Thread Craigsell

You need to refresh the datagrid after the user submit comes back 
successful.  Just fire the same function that populated the grid in the 
first place from the user input result handler.

You can also do that in the CFC too.  If the update is successfull, have the 
CFC retreive a fresh set of data for the datagrid and then send that back to 
Flex. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Pranathi Reddy

Any ideas?

I have 4 pages in my application
Page1, Page2, page3 and page4

I am trying to do something like this (saw in some post):

 cfset pagelist = Page1,Page2,Page3,Page4
 cfoutput
  table align=center
   cfset stepCounter = 0
  cfloop list=#pagelist# index=i
   cfset stepCounter = stepCounter +1
   cfif arguments.pagename EQ #trim(i)#
cfset styleclass = HighLight
   cfelse
cfset styleclass = NoHighlight
   /cfif
   tr
 td class=#styleclass# nowrapStep #stepCounter#: /tdtd
class=#styleclass# nowrap#getContent('#arguments.PageID#',
'#i#').title#/td
 /tr
  /cfloop
  /table
  /cfoutput

I am trying to  display the list of the page rendering.
If we are on page1  according to the condition it is redirected to page2
or page3.

The total number of steps should be only 3 and according to the procedure
above it display's 4 steps.  It means that it should either be on page2 or
page3 and not both.

Thanks,
Pranathi.

On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth r...@whitestonemedia.comwrote:

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319976
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Page steps list

2009-03-01 Thread Azadi Saryev

still not clear what exactly determines which pages are to be displayed
and which one is not...
can you clarify that?

 If we are on page1  according to the condition it is redirected
to page2
or page3.

what's this 'condition'???

your 'procedure' just loops over your list of 4 page names and outputs
ALL of them - you just need to incorporate your 'condition' into the
loop to not display the page that should not be displayed.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Pranathi Reddy wrote:
 Any ideas?

   
 I have 4 pages in my application
 Page1, Page2, page3 and page4

 I am trying to do something like this (saw in some post):

 cfset pagelist = Page1,Page2,Page3,Page4
 cfoutput
  table align=center
   cfset stepCounter = 0
  cfloop list=#pagelist# index=i
   cfset stepCounter = stepCounter +1
   cfif arguments.pagename EQ #trim(i)#
cfset styleclass = HighLight
   cfelse
cfset styleclass = NoHighlight
   /cfif
   tr
 td class=#styleclass# nowrapStep #stepCounter#: /tdtd
 class=#styleclass# nowrap#getContent('#arguments.PageID#',
 '#i#').title#/td
 /tr
  /cfloop
  /table
  /cfoutput

 I am trying to  display the list of the page rendering.
 If we are on page1  according to the condition it is redirected to page2
 or page3.

 The total number of steps should be only 3 and according to the procedure
 above it display's 4 steps.  It means that it should either be on page2 or
 page3 and not both.

 Thanks,
 Pranathi.

 On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth 
 r...@whitestonemedia.comwrote:

 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319977
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Priya Koya

I am calling a procedure to compare the answers ..
if (answer 4)
cflocation url= page3
else
cflocation url='page4'
This is wat is the condition on page2.

I want to write a function in the .cfc so that I really dont have to mention
on each any every page.

Thanks,
Pranitha.

On Sun, Mar 1, 2009 at 9:29 PM, Azadi Saryev az...@sabai-dee.com wrote:


 still not clear what exactly determines which pages are to be displayed
 and which one is not...
 can you clarify that?

  If we are on page1  according to the condition it is redirected
 to page2
 or page3.

 what's this 'condition'???

 your 'procedure' just loops over your list of 4 page names and outputs
 ALL of them - you just need to incorporate your 'condition' into the
 loop to not display the page that should not be displayed.

 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/



 Pranathi Reddy wrote:
  Any ideas?
 
 
  I have 4 pages in my application
  Page1, Page2, page3 and page4
 
  I am trying to do something like this (saw in some post):
 
  cfset pagelist = Page1,Page2,Page3,Page4
  cfoutput
   table align=center
cfset stepCounter = 0
   cfloop list=#pagelist# index=i
cfset stepCounter = stepCounter +1
cfif arguments.pagename EQ #trim(i)#
 cfset styleclass = HighLight
cfelse
 cfset styleclass = NoHighlight
/cfif
tr
  td class=#styleclass# nowrapStep #stepCounter#: /tdtd
  class=#styleclass# nowrap#getContent('#arguments.PageID#',
  '#i#').title#/td
  /tr
   /cfloop
   /table
   /cfoutput
 
  I am trying to  display the list of the page rendering.
  If we are on page1  according to the condition it is redirected to
 page2
  or page3.
 
  The total number of steps should be only 3 and according to the
 procedure
  above it display's 4 steps.  It means that it should either be on page2
 or
  page3 and not both.
 
  Thanks,
  Pranathi.
 
  On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth 
 r...@whitestonemedia.comwrote:
 
 
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319978
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Page steps list

2009-03-01 Thread Rick Faircloth

So... what page you want to take the visitor to depends
on what the answer is?

-Original Message-
From: Priya Koya [mailto:priya23...@gmail.com] 
Sent: Sunday, March 01, 2009 9:38 PM
To: cf-talk
Subject: Re: Page steps list


I am calling a procedure to compare the answers ..
if (answer 4)
cflocation url= page3
else
cflocation url='page4'
This is wat is the condition on page2.

I want to write a function in the .cfc so that I really dont have to mention
on each any every page.

Thanks,
Pranitha.

On Sun, Mar 1, 2009 at 9:29 PM, Azadi Saryev az...@sabai-dee.com wrote:


 still not clear what exactly determines which pages are to be 
 displayed and which one is not...
 can you clarify that?

  If we are on page1  according to the condition it is redirected
 to page2
 or page3.

 what's this 'condition'???

 your 'procedure' just loops over your list of 4 page names and outputs 
 ALL of them - you just need to incorporate your 'condition' into the 
 loop to not display the page that should not be displayed.

 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/



 Pranathi Reddy wrote:
  Any ideas?
 
 
  I have 4 pages in my application
  Page1, Page2, page3 and page4
 
  I am trying to do something like this (saw in some post):
 
  cfset pagelist = Page1,Page2,Page3,Page4 cfoutput  table 
  align=center
cfset stepCounter = 0
   cfloop list=#pagelist# index=i
cfset stepCounter = stepCounter +1
cfif arguments.pagename EQ #trim(i)#
 cfset styleclass = HighLight
cfelse
 cfset styleclass = NoHighlight
/cfif
tr
  td class=#styleclass# nowrapStep #stepCounter#: /tdtd 
  class=#styleclass# nowrap#getContent('#arguments.PageID#',
  '#i#').title#/td
  /tr
   /cfloop
   /table
   /cfoutput
 
  I am trying to  display the list of the page rendering.
  If we are on page1  according to the condition it is redirected 
  to
 page2
  or page3.
 
  The total number of steps should be only 3 and according to the
 procedure
  above it display's 4 steps.  It means that it should either be on 
  page2
 or
  page3 and not both.
 
  Thanks,
  Pranathi.
 
  On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth 
 r...@whitestonemedia.comwrote:
 
 
 
 

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319979
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Pranathi Reddy

cfform

This is qn.1

cfloop from=1 to='4' index='i'

cfinput type=radio name=radio1 value=a#i# 

/cfloop

This is qn.2

cfloop from=1 to='4' index='i'

cfinput type=radio name=radio2 value=b#i# 

/cfloop

This is qn.3

cfloop from=1 to='4' index='i'

cfinput type=radio name=radio3 value=c#i# 

/cfloop

cfinput type=submit value=submit name=Submit

/cfform

cfif isDefined('form.Submit')

cfstoredproc procedure=csp_ONF_GetAnswers datasource=Platform 

cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio1# type=in

cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio2# type=in

cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio3# type=in

cfprocresult name=Answer_Data

cfif Answer_Data.Answer gt 2

cflocation url=page3.cfm

cfelse

cflocation url=page4.cfm

/cfif

/cfif
This is what is my form. And I need to display the steps on what page the
user is in and how many steps are left over to complete the feed back. I
totally have 4 pages but I need to display on 3 pages. It is displaying 4
steps and If I take one page name off from the page list it is displaying 3
steps but if the user visiting the page.. it is not displaying the page
highlited.
eg:
if I mentione cfset pagelist=page1,page2,page3
then if the conditions is false then it should go for page4 but it is not
rendering the steps. but it is displating 3 steps. if I add 4 pagenames then
total steps are 4 but it highkights the page in which user is using.
Actual steps should be 3 not 4.

Thanks
Pranathi

On Sun, Mar 1, 2009 at 9:43 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 So... what page you want to take the visitor to depends
 on what the answer is?

 -Original Message-
 From: Priya Koya [mailto:priya23...@gmail.com]
 Sent: Sunday, March 01, 2009 9:38 PM
 To: cf-talk
 Subject: Re: Page steps list


  I am calling a procedure to compare the answers ..
 if (answer 4)
 cflocation url= page3
 else
 cflocation url='page4'
 This is wat is the condition on page2.

 I want to write a function in the .cfc so that I really dont have to
 mention
 on each any every page.

 Thanks,
 Pranitha.

 On Sun, Mar 1, 2009 at 9:29 PM, Azadi Saryev az...@sabai-dee.com wrote:

 
  still not clear what exactly determines which pages are to be
  displayed and which one is not...
  can you clarify that?
 
   If we are on page1  according to the condition it is redirected
  to page2
  or page3.
 
  what's this 'condition'???
 
  your 'procedure' just loops over your list of 4 page names and outputs
  ALL of them - you just need to incorporate your 'condition' into the
  loop to not display the page that should not be displayed.
 
  Azadi Saryev
  Sabai-dee.com
  http://www.sabai-dee.com/
 
 
 
  Pranathi Reddy wrote:
   Any ideas?
  
  
   I have 4 pages in my application
   Page1, Page2, page3 and page4
  
   I am trying to do something like this (saw in some post):
  
   cfset pagelist = Page1,Page2,Page3,Page4 cfoutput  table
   align=center
 cfset stepCounter = 0
cfloop list=#pagelist# index=i
 cfset stepCounter = stepCounter +1
 cfif arguments.pagename EQ #trim(i)#
  cfset styleclass = HighLight
 cfelse
  cfset styleclass = NoHighlight
 /cfif
 tr
   td class=#styleclass# nowrapStep #stepCounter#: /tdtd
   class=#styleclass# nowrap#getContent('#arguments.PageID#',
   '#i#').title#/td
   /tr
/cfloop
/table
/cfoutput
  
   I am trying to  display the list of the page rendering.
   If we are on page1  according to the condition it is redirected
   to
  page2
   or page3.
  
   The total number of steps should be only 3 and according to the
  procedure
   above it display's 4 steps.  It means that it should either be on
   page2
  or
   page3 and not both.
  
   Thanks,
   Pranathi.
  
   On Sun, Mar 1, 2009 at 5:37 PM, Rick Faircloth 
  r...@whitestonemedia.comwrote:
  
  
  
  
 
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Azadi Saryev

if all you are trying to do is display a multi-part/multi-step form,
then i have found this post by Ben Nadel very helpful and easy to implement:
http://www.bennadel.com/blog/1265-Multi-Step-Form-Demo-In-ColdFusion.htm

does require quiet a bit of code, but works like a charm when done...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Pranathi Reddy wrote:
 cfform

 This is qn.1

 cfloop from=1 to='4' index='i'

 cfinput type=radio name=radio1 value=a#i# 

 /cfloop

 This is qn.2

 cfloop from=1 to='4' index='i'

 cfinput type=radio name=radio2 value=b#i# 

 /cfloop

 This is qn.3

 cfloop from=1 to='4' index='i'

 cfinput type=radio name=radio3 value=c#i# 

 /cfloop

 cfinput type=submit value=submit name=Submit

 /cfform

 cfif isDefined('form.Submit')

 cfstoredproc procedure=csp_ONF_GetAnswers datasource=Platform 

 cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio1# type=in

 cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio2# type=in

 cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio3# type=in

 cfprocresult name=Answer_Data

 cfif Answer_Data.Answer gt 2

 cflocation url=page3.cfm

 cfelse

 cflocation url=page4.cfm

 /cfif

 /cfif
 This is what is my form. And I need to display the steps on what page the
 user is in and how many steps are left over to complete the feed back. I
 totally have 4 pages but I need to display on 3 pages. It is displaying 4
 steps and If I take one page name off from the page list it is displaying 3
 steps but if the user visiting the page.. it is not displaying the page
 highlited.
 eg:
 if I mentione cfset pagelist=page1,page2,page3
 then if the conditions is false then it should go for page4 but it is not
 rendering the steps. but it is displating 3 steps. if I add 4 pagenames then
 total steps are 4 but it highkights the page in which user is using.
 Actual steps should be 3 not 4.
   


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319981
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Page steps list

2009-03-01 Thread Pranathi Reddy

I want the one to render the steps which you always see when you fill online
application on the header.
That is what I am expecting.

Thanks,
Pranathi.

On Sun, Mar 1, 2009 at 11:06 PM, Azadi Saryev az...@sabai-dee.com wrote:


 if all you are trying to do is display a multi-part/multi-step form,
 then i have found this post by Ben Nadel very helpful and easy to
 implement:
 http://www.bennadel.com/blog/1265-Multi-Step-Form-Demo-In-ColdFusion.htm

 does require quiet a bit of code, but works like a charm when done...

 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/



 Pranathi Reddy wrote:
   cfform
 
  This is qn.1
 
  cfloop from=1 to='4' index='i'
 
  cfinput type=radio name=radio1 value=a#i# 
 
  /cfloop
 
  This is qn.2
 
  cfloop from=1 to='4' index='i'
 
  cfinput type=radio name=radio2 value=b#i# 
 
  /cfloop
 
  This is qn.3
 
  cfloop from=1 to='4' index='i'
 
  cfinput type=radio name=radio3 value=c#i# 
 
  /cfloop
 
  cfinput type=submit value=submit name=Submit
 
  /cfform
 
  cfif isDefined('form.Submit')
 
  cfstoredproc procedure=csp_ONF_GetAnswers datasource=Platform 
 
  cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio1# type=in
 
  cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio2# type=in
 
  cfprocparam cfsqltype=CF_SQL_INTEGER value=#radio3# type=in
 
  cfprocresult name=Answer_Data
 
  cfif Answer_Data.Answer gt 2
 
  cflocation url=page3.cfm
 
  cfelse
 
  cflocation url=page4.cfm
 
  /cfif
 
  /cfif
  This is what is my form. And I need to display the steps on what page the
  user is in and how many steps are left over to complete the feed back. I
  totally have 4 pages but I need to display on 3 pages. It is displaying 4
  steps and If I take one page name off from the page list it is displaying
 3
  steps but if the user visiting the page.. it is not displaying the page
  highlited.
  eg:
  if I mentione cfset pagelist=page1,page2,page3
  then if the conditions is false then it should go for page4 but it is not
  rendering the steps. but it is displating 3 steps. if I add 4 pagenames
 then
  total steps are 4 but it highkights the page in which user is using.
  Actual steps should be 3 not 4.
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319982
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF sourceless deployment tool

2009-03-01 Thread Bob

Hello ,

Every developer who uses Coldfusion gets addicted to it’s power !
I am one of those developers who develop apps in PHP/JSP/.NET and other 
languages
But I always prefer CF and enjoy using it , that being said , brings the reason 
for my Question :

Why isn’t there a tool to help deploy (compile and obfuscate) coldfusion 
applications???
Cfencrypt is not secure or practical since you can decrypt and deployment is a 
mess.
Cfcompile is not secure or practical since you can decompile into servlets and 
deployment is a mess.

I agree with Jason Delmore,
When all you want is a wiki or a blog... all you want to do is check a box and 
have it work. I think we need to make applications in general easier to 
install. No offense to Ray Camden, BlogCFC is a very cool app, but it should 
only take me 1 minute to install and I shouldn't need to understand the 
slightest bit about how the code works! Adobe, along with the community, needs 
to work on a standard method for installing and managing applications that is 
flexible enough to support all the different ways of creating applications... 
but consistent enough to just work.
http://www.cfinsider.com/index.cfm/2007/11/1/Key-Market-Trends-Surrounding-ColdFusion

as a developer i ask , what is the best practice to neatly and securely deploy 
a CF application ?
your feedback and suggestions are highly appreciated .

regards
Bob


  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4