Issue Type: Bug Created: 2009-07-28T00:58:32.000+0000 Last Updated: 2010-03-16T02:02:20.000+0000 Status: Resolved Fix version(s): Reporter: Andrew Coghlan (firstname.lastname@example.org) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form
Related issues: - ZF-5081
I have a set of options that is tree-like in nature - in this case personnel in an organisation. I need to display the tree structure in a multi select field, which would be easy to do by simply appending spaces according to the depth of each individual node. I have prepared my options array so that it looks as follows:
array( '1' => 'level 0 node', '2' => ' level 1 node', '3' => ' level 2 node' )
Incase that doesnt come out - I have used the character twice to indent each level - 2 spaces to indent level 1, 4 spaces to indent level 2 and so on.
I have added the setAttrib('escape', false) clause to my multiselect, but while following the code through it became clear that the escape value never gets passed to the actual viewhelper, so my options come out escaped - i.e. instead of seeing spaces, I see a series of next to each option in the multi select list.
To be clear; I can successfully set the escape value to false (as it's true by default), but that does not get passed through to the ViewHelper.
Posted by Steve Hollis (stevehollis) on 2009-11-19T12:07:18.000+0000
See related issue. Not an issue.
Have you found an issue?
See the Overview section for more details.