Cflayout and multiple cfform’s and IE vs Firefox issues

October 3rd, 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…

Coldfusion, blog , , ,

cftree binding a cfc

August 21st, 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):

Read more…

Coldfusion , , ,

Whitehorsez Logo

July 29th, 2008
Comments Off

The first idea for the name Whitehorsez came from the following:

Whitehorsez is the brand name of a clothing line for wind- and kitesurfers, taking its name from the weather phenomenon, since white horses are found when the wind is good to go play in the water.

What are white horsez:

The white wind-blown caps of sea waves are often described as white horses, for example in the Beaufort scale windforce 5 is described as “Moderate waves, many white horses”.

Read more here: http://www.nationmaster.com/encyclopedia/White_horse/

Are you a cartoon-artist or can you draw cool drawings, then i could use you to develop a nice logo for this brand.

whitehorsez

caravan-ameland.nl

July 22nd, 2008
Comments Off

Iemand ge?nteresseerd in deze fantastische domainnaam?
Anybody interested in this domainname?

blog

Mytravellog.com offline

July 21st, 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 more…

blog , ,

Coldfusion cf_orgchart component

July 21st, 2008

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:

blog ,

Thiazzz.com is offline

July 21st, 2008

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

blog ,

Roma, qui veniamo (Rome, we komen er aan)

August 28th, 2007

Na 4 maanden non-stop werken gaan we volgende week even lekker op vakantie naar Rome! Marjan had me dit als kado gegeven voor mijn verjaardag. Het hele lange weekend zal in het teken komen te staan van Cappucino, gelati, bernini misterie, shopping, sightseeing, pantheon, etc etc.. Genoeg te verkennen dus.

Read more…

blog

Fietsen door de jungle

March 16th, 2007

Na ons Nicaragua uitstapje ‘moest’ er weer even gekite worden in de Bahia Salinas. We hadden een strakke planning bedacht: ´s ochtend vroeg vertrekken uit San Juan del Sur, de grens over, dan met een bus richting La Cruz en vervolgens met een taxi naar het Blue Dream Hotel om vervolgens van 1 tot 5 nog te kunnen kiten. Dat was allemaal strak gelukt en erg gaaf om weer lekker te kunnen kiten (lekker met de 7m2 knallen) daar tussen de turtles. Read more…

reis 2007

Een onverwacht uitstapje…

March 15th, 2007

Zoals we eerder al hadden geschreven waren we erg enthousiast over de verhalen van Nicaragua (Nica) en dus besloten we na onze kite-sessies in Bahia Salinas de grens over te gaan richting Granada. Read more…

reis 2007