Hi there,

I have a doctrine nested set model and want to display the root
(level=0) entries as "headlines" in a drop down (select-box in a
form):


EUROPE       (root_id 1, level 0)
-- germany     (root_id 1, level 1)
-- france         (root_id 1, level 1)
-- sweden       (root_id 1, level 1)

- or the HTML version -

<OPTGROUP LABEL="EUROPE">
   <OPTION LABEL="germany"> germany </OPTION>
   <OPTION LABEL="france"> france </OPTION>
   <OPTION LABEL="sweden"> sweden </OPTION>
</OPTGROUP>

Is there a elegant way to solve this "simple" requirement?

Thanks
Florian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to