AnsweredAssumed Answered

Reg category drop down while uploading content

Question asked by dynamolalit on Mar 23, 2010
Latest reply on Mar 23, 2010 by billerby
Hi,

I am using Alfresco 3.2r with Tomcat 6.0 & JDK 1.6. I want to show a drop down for all the categories which are available in Alfresco at the time of uploading the content.For this, i am following this Alfresco blog

http://blogs.alfresco.com/wp/jbarmash/2008/08/08/dynamic-data-driven-drop-downs-for-list-properties/

It is working without any error but still user is not able to see any drop down for categories.I have placed some logs inside encodeBegin() method of RefreshableUIPropertySheet.java.I can see following logs :

15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Inside encodeBegin()
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] size 8
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@159a5a7
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@8aa1b1
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@17d7d2e
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1a57585
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1c68525
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@4f7f9f
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@143b35f
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] Item list in encodeBegin() org.alfresco.web.ui.repo.component.property.UIProperty@1b53930
15:27:50,788 User:km DEBUG [km.web.RefreshableUIPropertySheet] super.isRendered() true

But still i am not able to see a drop down.Instead once document is uploaded, on Modify Content Properties page, i can see radio buttons for categories but not drop down.I am getting no idea where it is going wrong.

Can anybody help? :roll:

Outcomes