On 11/2/06, sbarre <[EMAIL PROTECTED]> wrote:
> The other idea I had, to avoid doing the collapsed array trick would be
...
> So you could have (for example):
>
> {html func="input" fieldName="User/username"
> htmlAttributes_class="formInput" htmlAttributes_size="30"}

That's a little more verbose than I'd like.

How about just requiring {assign_adv} or the like for more complex situations?
I think they'll be rare enough requriring them be a bit complex
wouldn't be terrible.
i.e.
{assign_adv var='newarr' value="array('key'=>'value','key'=>'value')"}
{html func="input" fieldName="User/username" class="formInput"
size="30" otherparam=$newarr}

Right now (after I fix the mentioned problem) it's close to a state I
consider usable, the only problem is that you can't use the direct
native style for multiple array options.

It looks like in 1.2 the relevant default values are now correctly 'array()'.

How would you approach the $html->css issue, just require rel be
passed if you want additional parameters?

Travis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to