Hi
That's an interesting way to look at it... like a java import statement. (In
fact, *very much* like a java import statement). I like it.  Now I just have
to wait for us to roll out cfmx in production...


Thanks
    Mark

-----Original Message-----
From: Tyler Clendenin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 6:24 PM
To: CF-Talk
Subject: RE: Partitioning Custom Tags for multiple code lines?

i personally don't mind having to reference it on the page that is using it.
Most normal languages require each file to reference the libraries it is
using.  what gets me with cfimport is that you cannot use dynamic
information in the taglib attribute.

eg.
none of this
<cfimport prefix="foo" taglib="#myRootPath#_import/foo/">

instead you have to be either absolute or relative which is not so portable

<cfimport prefix="foo" taglib="../../_import/foo/">

if anyone knows ho maybe you can acomplish this sort of task please post =)

Tyler Clendenin
GSL Solutions

  _____  

From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:26 PM
To: CF-Talk
Subject: RE: Partitioning Custom Tags for multiple code lines?

>From the docs it looks like cfimport would not work so well since it only
affects the current .cfm file, so you can't set imports up in
application.cfm and have them work on all of your pages. Too bad.

    Mark

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 3:42 PM
To: CF-Talk
Subject: RE: Partitioning Custom Tags for multiple code lines?

> Is cfimport new to cfmx?

Yep. You can import JSP taglibs or folders of custom tags. One of the cool
things about using it for custom tags is that you can _really_ partition
your tags, ie, instead of:

<cf_securitylogonform>
<cf_template>
etc

you can have:

<security:logonform>
<design:mainTemplate>

etc.

> Also, tried to find wishlist on MM's site but didn't have any
> luck.  I was thinking that a new cfapplication attribute
> would be the way to go too.

www.macromedia.com/go/wish used to work. Anyone know the new URL?
  _____
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to