Matthew Woodward said the following on 07/16/2009 08:21 AM:
> Peter J. Farrell wrote:
>> <ul>
>> <form:radiogroup
>>     path="favoriteColor"
>>     values="red,blue,green"
>>     labels="Razzling Red,Brilliant Blue,Greasy Green">
>>     <li><label for="${attributes.id}">${output.radio} 
>> ${output.label}</label></li>
>> </form:radiogroup>
>> </ul>
>
> Just wanted to check--are you proposing ${output.radio} as opposed to 
> just ${radio}? And I think maybe just ${id} would be better than 
> ${attributes.id} since "attributes" has special meaning to custom tags.
Yeah, I guess I was just getting at using a phantom "scope" here.  We 
never used a scope for the bindable property placeholders support for 
parameters in the XML we introduced with 1.5 (i.e. 
${nameOfProperyWithoutScope}).  When we switched to the more powerful 
expression syntax, we started using scopes ${properties.nameOfProperty}.

I have no clue what the future brings for the form and view tag library, 
but for some reason I'm thinking it might be a good idea to have a scope 
attached for uniformity across the framework.   Plus, who knows we might 
support EL syntax stuff inside of this display output format. I'd love 
for people to chime in, but having an phantom "output" scope (since the 
tag is generating stuff) is beginning to look like a good idea to me.
> Let me know if I'm just missing something about what you're proposing. 
> After your explanation I agree it makes sense not to have the tag 
> auto-generate the label tags.
Yeah, I at first thought that was a good idea to auto-generate the 
labels, but it seems like such PITA.  If we had a way to set a default 
output format -- that would be another way to do that.  Maybe something 
for 1.9 if people ask for it (which I hope people will speak up if that 
is the case).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to