Re: Sending data to Actionpage

2007-10-26 Thread Richard White
Thanks Dale its working perfectly!!! 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292117
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Sending data to Actionpage

2007-10-25 Thread Richard White
Hi,

I have a grid of data that is managed by javascript on one of my pages. At the 
moment i am not looking heavily into Ajax to transfer any data changes to the 
server but was wondering of the best way to pass the data to the actionpage.

when the user clicks save i was thinking that a good way would be to store the 
data in hidden cfinput fields then submit the form. however some of the data 
may be very large, so my question is, do the hidden cfinput fields have a limit 
to the amount of data they can contain?

i would like each hidden input field to store an array of data then send it to 
the actionpage

i would appreciate your advice

thanks

Richard 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292105
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Sending data to Actionpage

2007-10-25 Thread Charlie Griefer
On 10/25/07, Richard White [EMAIL PROTECTED] wrote:

 i would like each hidden input field to store an array of data then send it 
 to the actionpage

if you're referring to a true array, you can't store it in a hidden
field (not without serializing it into a string via CFWDDX first).

how about a session variable?

-- 
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292106
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Sending data to Actionpage

2007-10-25 Thread Richard White
thanks charlie,

a session variable would be great but of course i am manipulating the data on 
the client in javascript and by the time i click save - its just getting the 
data over to the server to store it in a session variable!

hmmm not sure what is the best way to do this, i suppose i may have to look 
into ajax? 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292109
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Sending data to Actionpage

2007-10-25 Thread Dale Fraser
If you use get you will run into limites.

If you use post your form with large sets of hidden data will work fine.

Regards
Dale Fraser

http://learncf.com

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Friday, 26 October 2007 10:46 AM
To: CF-Talk
Subject: Sending data to Actionpage

Hi,

I have a grid of data that is managed by javascript on one of my pages. At
the moment i am not looking heavily into Ajax to transfer any data changes
to the server but was wondering of the best way to pass the data to the
actionpage.

when the user clicks save i was thinking that a good way would be to store
the data in hidden cfinput fields then submit the form. however some of the
data may be very large, so my question is, do the hidden cfinput fields have
a limit to the amount of data they can contain?

i would like each hidden input field to store an array of data then send it
to the actionpage

i would appreciate your advice

thanks

Richard 



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292108
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Sending data to Actionpage

2007-10-25 Thread Richard White
ok thanks, ok ill give it a go and see what happens!

thought id get some advice before attempting it :) 

thanks Dale 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292111
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Sending data to Actionpage

2007-10-25 Thread Dale Fraser
Looping over the array and building one or many hidden form fields is
perfectly valid.

Although doing this with Ajax on CF8 would be fairly easy also.

Regards
Dale Fraser

http://learncf.com


-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Friday, 26 October 2007 11:00 AM
To: CF-Talk
Subject: Re: Sending data to Actionpage

thanks charlie,

a session variable would be great but of course i am manipulating the data
on the client in javascript and by the time i click save - its just getting
the data over to the server to store it in a session variable!

hmmm not sure what is the best way to do this, i suppose i may have to look
into ajax? 



~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292112
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4