Daniel Brooks <[email protected]> writes:

>   SIMPLE-ERROR: There is no applicable method for the generic function
>   #<STANDARD-GENERIC-FUNCTION ATTRIBUTIZE-NAME (4)> when called with
>   arguments (#<USER {1003D7CC11}>).

Ok, I spent a little more time on it and figured it out. The problem I'm
having comes from the method render-view-field-value specialized for the
dropdown-presentation (in views/types/presentations/dropdown.lisp). It
calls attributize-name on the value to be rendered in order to render
the dropdown with the correct item selected. However, when the slot it's
rendering a field for contains an object then this isn't the best
approach. If I make it call (presentation-choices-default-value-key
value) then it works perfectly. Because
presentation-choices-default-value-key calls attributize-name for values
that aren't objects, I think this is the right behavior in all cases.

db48x

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

Reply via email to