Mathijs’ Weblog

allemaal dingen
  • rss
  • Home
  • Reis 2007
    • Holbox
    • Bahia Salinas
    • Surfing Costa Rica
    • Panama
    • Toppers
  • Gastenboek
  • Links
  • Contact

Cflayout and multiple cfform’s and IE vs Firefox issues

thiazzz | October 3, 2008

As mentioned in my previous post i’m rebuilding an admin environment for AO-online.nl application using all the new cf8 features.

1 of the forms used on this site is rely complex, it is 1 form spread over multiple tabs and 4 other forms in other tabs and using mutliple ajax, binding and JS functions and interdependancies.

This is how it looks:

And:

To achieve this I used this setup:

<cfform action=”" name=”form” method=”post”>
<cflayoutarea title=”MainForm_part1″ name=”tab1″ inithide=”false”>
formfields…
</cflayoutarea>
<cflayoutarea title=”MainForm_part2″ name=”tab2″ inithide=”false”>
formfields…
</cflayoutarea>
<cflayoutarea source=”subform1.cfm” name=”tab3″ inithide=”true” refreshOnActivate=”true” />
<cflayoutarea source=”subform2.cfm” name=”tab4″ inithide=”true” refreshOnActivate=”true” />
<cflayoutarea source=”subform3.cfm” name=”tab5″ inithide=”true” refreshOnActivate=”true” />
<cflayoutarea source=”subform4.cfm” name=”tab6″ inithide=”true” refreshOnActivate=”true” />
</cfform>

On the subform1.cfm pages is also use <cfform></cfform> to show the forms.
I’m also using the ColdFusion.Ajax.submitForm feature.

Now for the issue and the solution:

The issue: This is all working neatly in Firefox, the individual forms post to the backend handler, but in Internet Explorer no data at all is posted, resulting in this form not to work. Also form fields inside the loaded tabs forms are not recognized in IE.

The Solution: Apparently Internet Explorer cannot handle the nested forms that are created using the includes by the cflayout. Form showing it in the browser is it find, but when submitting the forms IE doesn’t understand it anymore. I thing it sees a </form> somewhere and then cannot handle what comes after.

So, this setup is working in both IE and Firefox:

<cfform action=”" name=”form” method=”post”>
<cflayoutarea title=”MainForm_part1″ name=”tab1″ inithide=”false”>
formfields…
</cflayoutarea>
<cflayoutarea title=”MainForm_part2″ name=”tab2″ inithide=”false”>
formfields…
</cflayoutarea>
<cflayoutarea name=”tab3″ inithide=”true” >
formfields…
</cflayoutarea>
<cflayoutarea name=”tab4″ inithide=”true” >
formfields…
</cflayoutarea>
<cflayoutarea name=”tab5″ inithide=”true” >
formfields…
</cflayoutarea>
<cflayoutarea name=”tab6″ inithide=”true” >
formfields…
</cflayoutarea>
</cfform>

I also tried this, but with no results:

<cflayoutarea title=”MainForm_part2″ name=”tab2″ inithide=”false”>
formfields…
</cflayoutarea>
<cflayoutarea name=”tab3″ inithide=”true” >
<cfinclude template=”subform1.cfm”">
</cflayoutarea>
etc…

So, i hope this is valuable information for anyone out there…

Comments
No Comments »
Categories
Coldfusion, blog
Tags
cf8, cfform, cflayout, Coldfusion
Comments rss Comments rss

cftree binding a cfc

thiazzz | August 21, 2008

I’m completely rebuilding an admin environment for an online application (www.ao-online.nl) using all the new Coldfusion 8 AJAX features.

I came accross the cftree and binding possibilities, I could not find a good example on the net, to copy-paste from. so here it is…

In case you wonder how to implement a bind to a cftree in order to get a hierarchical view of tree data from a database, you can use the example code below. I could not find a good example on the net.

I found these link that describe this functionality a bit (but not how I wanted it):

  • http://www.forta.com/blog/index.cfm/2007/6/5/ColdFusion-Ajax-Tutorial-5-File-System-Browsing-With-The-Tree-Control
  • http://www.garyrgilbert.com/blog/index.cfm/2007/6/18/cftree

Read the rest of this entry »

Comments
No Comments »
Categories
Coldfusion
Tags
bind, cfc, cftree, Coldfusion
Comments rss Comments rss

Mytravellog.com offline

thiazzz | July 21, 2008

Mytravellog.com has been placed offline. Anyone searching for this site: sorry!

Mytravellog.com started from a website i build for a couple of friends travellin the world in 2002. When i lost my job back then, i decided to make a website for travellers like them. At some point around 2003/2004 a lot of people where using this site as there travel blog. It was one of the first travel specific online blog tools on the web.

Now the site is not up-to-date anymore in terms of the technique used and the way it’s build, therefor it is hard for me to maintain it. Moreover there are a lot of different free and more advanced blog tools on the market at the moment.

I’ve gone further with developing website applications and hosted sites using Coldfusion. This all started with the mytravellog.com website. So that is a good thing.

Contact me with any questions or other points concerning mytravellog.com

Read the rest of this entry »

Comments
No Comments »
Categories
blog
Tags
Coldfusion, mytravellog, thiazzz
Comments rss Comments rss

Coldfusion cf_orgchart component

thiazzz |

I have developed a coldfusion Cf_Orgchart component. It makes and graphical organizational chart looking representation of data from a database. You can use it to create ogranigrams, organisational charts and so on. You can add departments, people or functions of people to create a graphical overview of them…

Interested in using this component? You can use it for only 40 USD. No encryption! You can use it in all your coldfusion applications. Script includes database script and some help descriptions. If you have any questions of if you want to try it first, please contact me at: gaalman@gmail.com

If you are ready to buy this component, please go to CFTagStore website

It looks like this:

Comments
No Comments »
Categories
blog
Tags
cf_orgchart, Coldfusion
Trackback Trackback

Thiazzz.com is offline

thiazzz |

Per vandaag linkt de website www.thiazzz.com door naar dit adres.
Wat was hier te vinden?
- Informatie over wat ik doe al Coldfusion Developer
- Een verouderd CV
- Informatie over Cf_Orgchart component

Comments
No Comments »
Categories
blog
Tags
Coldfusion, thiazzz
Trackback Trackback

Navigatie

  • Contact
  • Gastenboek
  • Links
  • Reis 2007
    • Bahia Salinas
    • Holbox
    • Panama
    • Surfing Costa Rica
    • Toppers

Gallery

Imagen 008.jpg bilders 206.jpg Imagen 002.jpg bilders 134.jpg

Archives

  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • February 2009
  • October 2008
  • August 2008
  • July 2008
  • August 2007
  • March 2007
  • February 2007
  • January 2007
  • November 2006

Categories

  • blog
  • Coldfusion
  • reis 2007
  • whitehorsez

Tags

Belize bind cf8 cfc cfform cflayout cftree cf_orgchart Coldfusion cool style Costa Rica Cuba domain domainnames Guatemala iceland italy Mexico mytravellog Nicaragua rome ski telemark thiazzz whitehorsez

Links

  • AO-online
  • Arina’s blog
  • Hotelito Perdido, Rio Dulce, Guatemala
  • My LinkedIn Profile
  • Thiazzz.com
  • Touringcarofferte.nl
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox