Re: CFForm Inside a Custom Tag?

2005-02-23 Thread Scott Stroz
SCR. YWPTTCUWTA - 

- Sorry Can't Resist. You were phonetically trying to come up with the acronym.


On Wed, 23 Feb 2005 13:09:09 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> "IFKNTWINK (if i knew then what i knew now)"
> 
> Yes, I realize I just screwed up the acronym horribly.  No need to
> razz me about it (Scott Stroz, Doug Hughes), I'm already getting
> IMs.
> 
> -Joe
> 
> 
> On Wed, 23 Feb 2005 12:57:54 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> > > They're not bad -- I would have prefered they use slightly different
> > > syntax for the tabsets, but we're using them at the office where I
> > > work currently. (It's a large existing application and it's not really
> > > feasible to rewrite the whole app in any given framework, onTap or
> > > otherwise.)
> >
> > Yeah...I agree, and I wrote them.  IFKNTWINK (if i knew then what i
> > knew now) you'd see a different syntax.  As it is, they work, so I'm
> > sort of leaving them alone.  Glad to hear they're working for you -
> > are you doing anything with the JS integration?
> >
> > -Joe
> >
> > --
> > For Tabs, Trees, and more, use the jComponents:
> > http://clearsoftware.net/client/jComponents.cfm
> >
> 
> --
> For Tabs, Trees, and more, use the jComponents:
> http://clearsoftware.net/client/jComponents.cfm
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196222
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread S . Isaac Dealey
Heh... is that like fraternity hazing?

Just tell them it's an anagram and if they can
figure out what it spells they'll win a prize. :P


> "IFKNTWINK (if i knew then what i knew now)"

> Yes, I realize I just screwed up the acronym horribly.  No
> need to
> razz me about it (Scott Stroz, Doug Hughes), I'm
> already getting
> IMs.


s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.fusiontap.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196180
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread S . Isaac Dealey
>> They're not bad -- I would have prefered they use
>> slightly different
>> syntax for the tabsets, but we're using them at the
>> office where I
>> work currently. (It's a large existing application and
>> it's not really
>> feasible to rewrite the whole app in any given framework,
>> onTap or
>> otherwise.)

> Yeah...I agree, and I wrote them.  IFKNTWINK (if i knew
> then what i knew now)

Shouldn't that be IIKTWIKN?

> you'd see a different syntax.  As it is, they
> work, so I'm
> sort of leaving them alone.  Glad to hear they're working
> for you -
> are you doing anything with the JS integration?

Yea, my boss asked for next/last buttons below the tabset which are
using the js integration to increment or decrement the selected tab.
Which I must admit is easier to do with your tabs than it would have
been with mine, since, although there's great support for low-level
javascript in the framework, the tabsets don't have a real JS API
attached to them currently. And with the onTap framework's tabsets
supporting multiple rows that raises some additional questions about
what exactly next/last and selectedIndex really mean. So like your
syntax issues and my cfgrid issues, it's getting a back-seat for the
time being.


s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.fusiontap.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196152
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFForm Inside a Custom Tag?

2005-02-23 Thread Paul
DWAXKTYH (Don't worry about it we all make mistakes.)

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 23, 2005 11:09 AM
To: CF-Talk
Subject: Re: CFForm Inside a Custom Tag?

"IFKNTWINK (if i knew then what i knew now)"

Yes, I realize I just screwed up the acronym horribly.  No need to
razz me about it (Scott Stroz, Doug Hughes), I'm already getting
IMs.

-Joe


On Wed, 23 Feb 2005 12:57:54 -0500, Joe Rinehart <[EMAIL PROTECTED]>
wrote:
> > They're not bad -- I would have prefered they use slightly different
> > syntax for the tabsets, but we're using them at the office where I
> > work currently. (It's a large existing application and it's not really
> > feasible to rewrite the whole app in any given framework, onTap or
> > otherwise.)
> 
> Yeah...I agree, and I wrote them.  IFKNTWINK (if i knew then what i
> knew now) you'd see a different syntax.  As it is, they work, so I'm
> sort of leaving them alone.  Glad to hear they're working for you -
> are you doing anything with the JS integration?
> 
> -Joe
> 
> --
> For Tabs, Trees, and more, use the jComponents:
> http://clearsoftware.net/client/jComponents.cfm
> 


-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196149
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread Joe Rinehart
"IFKNTWINK (if i knew then what i knew now)"

Yes, I realize I just screwed up the acronym horribly.  No need to
razz me about it (Scott Stroz, Doug Hughes), I'm already getting
IMs.

-Joe


On Wed, 23 Feb 2005 12:57:54 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> > They're not bad -- I would have prefered they use slightly different
> > syntax for the tabsets, but we're using them at the office where I
> > work currently. (It's a large existing application and it's not really
> > feasible to rewrite the whole app in any given framework, onTap or
> > otherwise.)
> 
> Yeah...I agree, and I wrote them.  IFKNTWINK (if i knew then what i
> knew now) you'd see a different syntax.  As it is, they work, so I'm
> sort of leaving them alone.  Glad to hear they're working for you -
> are you doing anything with the JS integration?
> 
> -Joe
> 
> --
> For Tabs, Trees, and more, use the jComponents:
> http://clearsoftware.net/client/jComponents.cfm
> 


-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196144
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread Joe Rinehart
> They're not bad -- I would have prefered they use slightly different
> syntax for the tabsets, but we're using them at the office where I
> work currently. (It's a large existing application and it's not really
> feasible to rewrite the whole app in any given framework, onTap or
> otherwise.)

Yeah...I agree, and I wrote them.  IFKNTWINK (if i knew then what i
knew now) you'd see a different syntax.  As it is, they work, so I'm
sort of leaving them alone.  Glad to hear they're working for you -
are you doing anything with the JS integration?

-Joe

-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196141
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread S . Isaac Dealey
> I appreciate your recommendations, the onTap framework
> definitely looks
> like a powerful tool, but I think implementation might
> take me too long
> for this current project (I've never used xsl). I'll be
> sure to look
> into on my next one. Do you know of any other possible
> replacements of
> cfforms with datagrids and other form elements?

> I saw this http://clearsoftware.net/jComponents1%5F0/ on
> the list this
> morning which has some nice looking ones.

> Thanks,
> Kenton

Oh I neglected to mention Matthew Walker's form tools...

ESW Software TerraForm

http://www.electricsheep.co.nz/products/terraform/

I had actually intended to offer this url in the first email and then
forgot to include it twice.

s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.fusiontap.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196139
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread S . Isaac Dealey
> I appreciate your recommendations, the onTap framework
> definitely looks
> like a powerful tool, but I think implementation might
> take me too long
> for this current project (I've never used xsl). I'll be
> sure to look
> into on my next one. Do you know of any other possible
> replacements of
> cfforms with datagrids and other form elements?

Datagrid is actually one of the few flash elements which I
unfortunately haven't replicated with the framework -- at least not
yet. It's too bad that the  tag requires cfform and so can't
be used for this -- or at least not easily. Which means when I do
manage to find/make the time to implement an alternative I will have
to implement the Flash datagrid myself.

There are a few other alternatives for forms, although afaik none
quite as thorough with the possible exception of PLUM which I haven't
had time to really look into. You might give it a look if you're using
Windows and don't mind installing the .NET framework.

http://www.productivityenhancement.com/

XSL isn't terribly difficult -- or at least it wasn't for me... It
does take some getting used to tho, and there are a few learning-curve
issues that can be kinda hairy, like it took me a while to find the
syntax to copy all the attributes from a given tag (iirc it's
) and case-sensitivity can be a real bitch.


> I saw this http://clearsoftware.net/jComponents1%5F0/ on
> the list this morning which has some nice looking ones.

They're not bad -- I would have prefered they use slightly different
syntax for the tabsets, but we're using them at the office where I
work currently. (It's a large existing application and it's not really
feasible to rewrite the whole app in any given framework, onTap or
otherwise.)

the jComponents tabsets use:







... tab 1 content here ...


... tab 2 content here ...



I'd have preferred



... tab 1 content here ...



tab 2

... tab 2 content here...



Which is roughly equivalent of the xml syntax for the onTap tabs.

my 2c :)

s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.fusiontap.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-23 Thread Kenton Gray
I appreciate your recommendations, the onTap framework definitely looks  
like a powerful tool, but I think implementation might take me too long  
for this current project (I've never used xsl). I'll be sure to look  
into on my next one. Do you know of any other possible replacements of  
cfforms with datagrids and other form elements?

I saw this http://clearsoftware.net/jComponents1%5F0/ on the list this  
morning which has some nice looking ones.

Thanks,
Kenton


On Feb 22, 2005, at 6:26 PM, S. Isaac Dealey wrote:

> No you won't be able to use a cfform tag in a custom tag using this
> syntax... Unfortunately putting conditional logic around a cfform tag
> must encompas both the start and end cfform tags, so your cfcase
> statements around each tag ( and then ) breaks the
> context of the cfform tag which will always throw an error.
>
> What flash form features were you hoping to use? You probably have a
> few options. One would be to try out the onTap framework (which is
> open-source and therefore free), and see if you like it's dhtml
> alternatives to the flash features like tabsets, etc. Alternatively
> you could create several "wrapper" tags for your form input elements,
> i.e. something like these:
>
> panel.cfm
> 
> 
> 
>
> 
>   
> 
>   
> 
>   #thistag.input[x].format#
> 
> 
>   
> 
>   
> 
>   
> 
>
> input.cfm
> 
> 
>   
> 
> 
>  "format">
>   
> 
>
> To use these your code in the calling template would look something
> like this:
>
> 
>   ... html formatting here...
>   
>   ... more html formatting...
>   
>   ... etc...
> 
>
> You would of course need to mirror all the attributes of the cfinput
> tag and there would probably be some additional squirrelling involved
> with the cfselect and cftextarea tags. I'm biased of course, I think
> you'd get more mileage (and fewer headaches) out of something like
> this:
>
> http://www.fusiontap.com/demo/powerontap.htm
>
> Which would allow you to use an XSL transformation to provide your
> standardized formatting with a form using a tabset for instance...
> which as far as I know (I could be wrong) is mutually exclusive with
> MX7's cfform tag features (xforms vs. flash forms).
>
> hth
>
> s. isaac dealey 954.927.5117
> new epoch : isn't it time for a change?
>
> add features without fixtures with
> the onTap open source framework
>
> http://macromedia.breezecentral.com/p49777853/
> http://www.sys-con.com/story/?storyid=44477&DE=1
> http://www.sys-con.com/story/?storyid=45569&DE=1
> http://www.fusiontap.com
>
>> I'm trying to create a custom tag (a panel), that just
>> creates a cfform
>> with some divs in it and a standard button layout. This
>> seemed natural
>> to me after seeing the petmarket example that used a
>> wrapper to set up
>> the default html.
>
>> First let me show you my way simplified code I made for
>> testing:
>
>> Here is the custom tag (panel.cfm) :
>
>> 
>> 
>> > default="ok,cancel,apply">
>
>> 
>>  
>>  
>>  
>>  
>>  
>>  
>> 
>
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196116
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFForm Inside a Custom Tag?

2005-02-22 Thread S . Isaac Dealey
No you won't be able to use a cfform tag in a custom tag using this
syntax... Unfortunately putting conditional logic around a cfform tag
must encompas both the start and end cfform tags, so your cfcase
statements around each tag ( and then ) breaks the
context of the cfform tag which will always throw an error.

What flash form features were you hoping to use? You probably have a
few options. One would be to try out the onTap framework (which is
open-source and therefore free), and see if you like it's dhtml
alternatives to the flash features like tabsets, etc. Alternatively
you could create several "wrapper" tags for your form input elements,
i.e. something like these:

panel.cfm





  

  

  #thistag.input[x].format#


  

  

  


input.cfm


  



  


To use these your code in the calling template would look something
like this:


  ... html formatting here...
  
  ... more html formatting...
  
  ... etc...


You would of course need to mirror all the attributes of the cfinput
tag and there would probably be some additional squirrelling involved
with the cfselect and cftextarea tags. I'm biased of course, I think
you'd get more mileage (and fewer headaches) out of something like
this:

http://www.fusiontap.com/demo/powerontap.htm

Which would allow you to use an XSL transformation to provide your
standardized formatting with a form using a tabset for instance...
which as far as I know (I could be wrong) is mutually exclusive with
MX7's cfform tag features (xforms vs. flash forms).

hth

s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com

> I'm trying to create a custom tag (a panel), that just
> creates a cfform
> with some divs in it and a standard button layout. This
> seemed natural
> to me after seeing the petmarket example that used a
> wrapper to set up
> the default html.

> First let me show you my way simplified code I made for
> testing:

> Here is the custom tag (panel.cfm) :

> 
> 
>  default="ok,cancel,apply">

> 
>   
>   
>   
>   
>   
>   
> 




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196028
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFForm Inside a Custom Tag?

2005-02-22 Thread Kenton Gray
I'm trying to create a custom tag (a panel), that just creates a cfform 
with some divs in it and a standard button layout. This seemed natural 
to me after seeing the petmarket example that used a wrapper to set up 
the default html.

First let me show you my way simplified code I made for testing:

Here is the custom tag (panel.cfm) :








   


   


__

And here is my use in a cfm page:








User Name: 
Password:  





__


The Error I get is:
  Context validation error for tag CFFORM.
The end tag  encoutered on line 10 at column 19 requires a 
matching start tag.



I see what the problem is, but there must be someway to pull this off. 
I was really looking forward to using some of the flash form elements.

Is this just impossible or am I missing something simple

Thanks in advance!

Kenton


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195996
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54