Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

yes that would work but not with using includes with the tabs or source. the 
issue is that when you do it with an include it does not work due to CF 
thinking you dont have a completed form

Sorry I meant wrapping the whole set of tabs in 'form tags'  ... I
didn't mean to confuse you :)

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

Glyn,

I have done this using cflayout and wrapping the whole set of tabs in from
tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

someone must have done this before? using tab layout in CF8 had tabs with
just one form post submitting all data in all tabs at once? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325817
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: submit one big form post of all tabs

2009-08-28 Thread Mark Kruger

Ah... Right ... Actually I think it treats those includes more like
frames or ajaxian innerHTML elements.  You would likely have to write some
JS to extract the form elements prior to submission.


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] 
Sent: Friday, August 28, 2009 5:16 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs


yes that would work but not with using includes with the tabs or source. the
issue is that when you do it with an include it does not work due to CF
thinking you dont have a completed form

Sorry I meant wrapping the whole set of tabs in 'form tags'  ... 
I didn't mean to confuse you :)

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

Glyn,

I have done this using cflayout and wrapping the whole set of tabs in 
from tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

someone must have done this before? using tab layout in CF8 had tabs 
with just one form post submitting all data in all tabs at once?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

I see, never mind back to the drawing board. thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Cutter (ColdFusion)

I can't see why you wouldn't be able to. The tabs are an implementation 
of ExtJs 1.1, and I've done it with that. As long as the tab container 
is wrapped in your opening and closing form tags, and you aren't 
remotely populating the tab contents (via an ajax load) then it should 
be possible.

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

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/28/2009 7:57 AM, Glyn Jackson wrote:
  I see, never mind back to the drawing board. thanks.

  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

When you are using tabs with source it treats it as a page on its own so even 
if you include the form around the whole cflayout if you dont include the start 
and end cffrom tags again you will get a CF error, its the same with any thing 
you include in a tab layout using source or a bind 

i.e. the docs say If a file specified in the source attribute includes tags 
that use AJAX features, such as cfform, cfgrid, and cfpod, you must use the 
cfajaximport tag on the page that includes the cflayoutarea tag. For more 
information

this apply's the cffrom also. the error is simply because cf checks the 
included source pages see's that it missing the start and end CFFORM tags and 
errors.

 

I can't see why you wouldn't be able to. The tabs are an implementation 
of ExtJs 1.1, and I've done it with that. As long as the tab container 
is wrapped in your opening and closing form tags, and you aren't 
remotely populating the tab contents (via an ajax load) then it should 
be possible.

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

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/28/2009 7:57 AM, Glyn Jackson wrote:
  I see, never mind back to the drawing board. thanks.

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


submit one big form post of all tabs

2009-08-25 Thread Glyn Jackson

I want to submit the data in all tabs as one big form post. this does not seem 
possible I had tried below and put my cfform tag around the whole cflayout but 
all i get now is he tag must be nested inside a cfform tag. which is not the 
case lol


cfoutputh1#Event.getValue('pageTitle','Please Fill In')#/h1/cfoutput
p*Required Field/p
cfform action=#getSetting('sesBaseURL')##Event.getValue('formURL','')# 
name=form id=form method=post
cflayout type=tab tabheight=400
cfloop index=i from=1 to=#ArrayLen(rc.tabs)#
 cflayoutarea title=#rc.tabs[i].title# selected=#rc.tabs[i].selected# 
name=#rc.tabs[i].name# 
 cfoutput#renderView('#rc.tabs[i].view#')#/cfoutput 
/cflayoutarea
/cfloop
/cflayout
a class=submit href=test onclick=document.form.submit();return 
false;spanLogin/span/a
/cfform 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325661
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-25 Thread Glyn Jackson

someone must have done this before? using tab layout in CF8 had tabs with just 
one form post submitting all data in all tabs at once? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: submit one big form post of all tabs

2009-08-25 Thread Mark Kruger

Glyn,

I have done this using cflayout and wrapping the whole set of tabs in from
tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] 
Sent: Tuesday, August 25, 2009 11:48 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs


someone must have done this before? using tab layout in CF8 had tabs with
just one form post submitting all data in all tabs at once? 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325690
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: submit one big form post of all tabs

2009-08-25 Thread Mark Kruger

Sorry I meant wrapping the whole set of tabs in 'form tags'  ... I
didn't mean to confuse you :)

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Mark Kruger [mailto:mkru...@cfwebtools.com] 
Sent: Tuesday, August 25, 2009 11:56 AM
To: cf-talk
Subject: RE: submit one big form post of all tabs


Glyn,

I have done this using cflayout and wrapping the whole set of tabs in from
tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
Sent: Tuesday, August 25, 2009 11:48 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs


someone must have done this before? using tab layout in CF8 had tabs with
just one form post submitting all data in all tabs at once? 





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4