Dave, You wrote:
**************** As I understand it, you can write your own HTML generation code, and use CFIMPORT to invoke that code when an HTML tag is parsed. For example, you can create a page called form.cfm, and use CFIMPORT within the page to instruct the page to run form.cfm whenever an HTML form tag is encountered. Unfortunately, I can't find this described anywhere in the CF MX documentation - I saw it in the release notes from a beta. I've got a code sample I can dig up, if you're interested. You can use this with any HTML tag - not just forms. ************** Yes - we saw Tim Buntel do a presentation on this. He called it "adaptive tags". He created files with names for form elements as in: input.cfm select.cfm Then he did a Cfinvoke with a blank prefix pointing to the folder as in: <cfinvoke prefix="" component="forms"> (where "forms" is a folder) The example he showed was " <input type="state" name="conState" ...> Without a prefix, the script engine read <input> as a tag call. Inside the tag he trapped for type. When he found "state" he sent back a select list of state codes. It was pretty cool. He also did: b.cfm i.cfm .. in each of these he changed the style size and color as well as bold facing. It seemed pretty straightforward to conceptualize. Pretty nifty too. Mark -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 10:13 AM To: CF-Talk Subject: RE: SSL COM Objects (WAS: Need help with CFMX/ASP.NET comparison. ..) > As an aside, Charlie Arehart mentioned at CFUN02 that you > can use the "" prefix in a CFIMPORT of custom JSP tags to > override built-in HTML forms. So if you're not happy w/ > the behavior of an HTML element you can rewrite it to > your specs. Didn't try it, but that's pretty wicked (and > insane) code. As I understand it, you can write your own HTML generation code, and use CFIMPORT to invoke that code when an HTML tag is parsed. For example, you can create a page called form.cfm, and use CFIMPORT within the page to instruct the page to run form.cfm whenever an HTML form tag is encountered. Unfortunately, I can't find this described anywhere in the CF MX documentation - I saw it in the release notes from a beta. I've got a code sample I can dig up, if you're interested. You can use this with any HTML tag - not just forms. > Good info. We had spent well over $1000 for a set of > commercial ones that worked on 75% of our servers -- all > were identical models and ghosted builds. Company bagged > out on support after their techs couldn't glean anything > from a trace. The mabry ones look great (we did this 2 > years ago) -- thanks for the tip. Would/do you use it > through COM instead of CFHTTP? Yes, I've used them successfully instead of CFHTTP. I've been very happy with them as a component vendor, with other components, in the past, as well. On the other hand, I wouldn't use COM with CF MX; I've been playing with the Jakarta io JSP tag library as a CFHTTP replacement for CF MX. I haven't tried it with HTTPS yet, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

