Now it work's fine. That's what I did:

I've created a helper in the app/views/helpers directory with the name
myhtml.php.
That file contains a class MyhtmlHelper which extends Helper.

Basically I copied the function selectTag and named it to myselectTag.
The only thing I had to do is to change the following line and mark it
as selected:

if ($showEmpty == true) {
   $select[] = sprintf($this->tags['selectempty'],'selected');
} 


Cheers Felix


--~--~---------~--~----~------------~-------~--~----~
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