Ajax Issue

Reply

Join Date: Sep 2009
Posts: 2
Reputation: avi-reiter is an unknown quantity at this point 
Solved Threads: 0
avi-reiter avi-reiter is offline Offline
Newbie Poster

Ajax Issue

 
0
  #1
Sep 10th, 2009
Does anyone know if there its possible to use a cfform within a cflayout, using type="tab"? I'd like to use the ajax calendar for a date input within the cflayoutarea but it doesn't seem to work.

Thanks
Avi Reiter
<FAKE SIGNATURE>
Last edited by peter_budo; Sep 11th, 2009 at 6:55 am. Reason: Keep It On The Site - Do not manually post "fake" signatures in your posts.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 3
Reputation: ws1267 is an unknown quantity at this point 
Solved Threads: 0
ws1267 ws1267 is offline Offline
Newbie Poster

Re: Ajax Issue

 
0
  #2
Sep 14th, 2009
Here is code for layout tabs, not sure it helps, could you put the cfform and datefield input in page1 and page2 and page3.cfm pages?

  1. <cfajaximport tags="cfform,cflayout-border,cflayout-tab">
  2. <cflayout type="border" name="myLayout">
  3. <cflayoutarea name="myregion"
  4. position="center" overflow="hidden">
  5. <cflayout name="myTabs" type="tab" style="background-color:cornsilk;height:100%">
  6.  
  7. <cflayoutarea
  8. title="page1"
  9. source="page1.cfm"
  10. overflow="visible" />
  11. <cflayoutarea
  12. title="page2"
  13. source="page2.cfm"
  14. overflow="visible" />
  15. <cflayoutarea
  16. title="page3"
  17. source="page3.cfm"
  18. overflow="visible" />
  19. </cflayout>
  20. </cflayoutarea>
  21. </cflayout>

Or :

  1. <cflayout type="border" name="myLayout">
  2. <cflayoutarea name="myregion"
  3. position="center" overflow="hidden">
  4. <cflayout name="myTabs" type="tab" style="background-color:cornsilk;height:100%">
  5.  
  6. <cflayoutarea
  7. title="page1"
  8. overflow="visible" >
  9. <cfform>
  10. <cfinput type="datefield" name="Mydate">
  11. </cfform>
  12. </cflayoutarea>
  13.  
  14. <cflayoutarea
  15. title="Dataset"
  16. overflow="visible" >
  17. <cfform>
  18. <cfinput type="datefield" name="Mydate">
  19. </cfform>
  20. </cflayoutarea>
  21. <cflayoutarea
  22. title="page3"
  23. overflow="visible" >
  24. <cfform>
  25. <cfinput type="datefield" name="Mydate">
  26. </cfform>
  27. </cflayoutarea>
  28.  
  29. </cflayout>
  30. </cflayoutarea>
  31. </cflayout>
Last edited by peter_budo; Sep 14th, 2009 at 12:21 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ColdFusion Forum


Views: 1413 | Replies: 1
Thread Tools Search this Thread



Tag cloud for ColdFusion
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC