Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Claude Schnéegans

Hi,

In the administrator, there is a check bor that makes possible to
Specify whether ColdFusion tags can pass non-standard attributes in the 
attributecollection structure.

But apparently it does not make posssible to pass non-standard attributes in an 
ordinary tag in the code.

For instance, I would like to use something like this:
CFPARAM NAME=attributes.MyAttribute TYPE=string REQUIRED=no

So that my parser for documentation is able to recognized default values and 
required or not required attributes in custom tags.
I don't see any parameter for this.
Do you think it is possible?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358036
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Raymond Camden

No.


On Tue, Mar 18, 2014 at 2:30 PM,  wrote:


 Hi,

 In the administrator, there is a check bor that makes possible to
 Specify whether ColdFusion tags can pass non-standard attributes in the
 attributecollection structure.

 But apparently it does not make posssible to pass non-standard attributes
 in an ordinary tag in the code.

 For instance, I would like to use something like this:
 CFPARAM NAME=attributes.MyAttribute TYPE=string REQUIRED=no

 So that my parser for documentation is able to recognized default values
 and required or not required attributes in custom tags.
 I don't see any parameter for this.
 Do you think it is possible?



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358037
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Claude Schnéegans

 No.

Too bad :-(


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358038
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Claude Schnéegans

However, this will work:

CFPARAM NAME=attributes.MyAttribute TYPE=string --- REQUIRED=no ---

Ugly, but it works.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358041
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Raymond Camden

I should point out - there ARE some tags where you are allowed to add
random crap, like cfcomponent and cffunction (cfargument too I think).
cfmodule as well.


On Tue, Mar 18, 2014 at 2:53 PM,  wrote:


 However, this will work:

 CFPARAM NAME=attributes.MyAttribute TYPE=string --- REQUIRED=no
 ---

 Ugly, but it works.




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358044
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Allow Extra Attributes in AttributeCollection

2014-03-18 Thread Claude Schnéegans

 like cfcomponent and cffunction (cfargument too I think).
cfmodule as well.

Yes, but not cfparam unfortunately.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358046
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm