Frederik Vig after creating that functionality I cant open my page in edit mode ? In What a problem?
Thanks advance.
Open up the browser console and see if you see any JavaScript errors that might explain it.
Frederik
Could you try in Firefox using Firebug? I think there are some more errors that'll show up there.
Frederik
No errors in firefox but cms shows that we still go to edit mode http://screencast.com/t/DLBNmrmcU
I think I got some wierd error when I didn't have strings for both value and text properties on the selectitems.
I copied the example.
public class LanguageSelectionFactory : ISelectionFactory
{
public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata)
{
var languages = new List<SelectItem>();
languages.Add(new SelectItem() { Value = "EN", Text = "English" });
languages.Add(new SelectItem() { Value = "SW", Text = "Swahili" });
languages.Add(new SelectItem() { Value = "PF", Text = "French Polynesia" });
return languages;
}
}
I have a hard time seing how setting up a selection list would cause cross site scripting issues. Have you investigating the code that accesses the remote site (http://ct1.addthis.com)? Is this something in your templates, content or UI an extension?
I found the problem. In examples
ClientEditingClass = "epi.cms.contentediting.editors.CheckBoxListEditor";
replace with
ClientEditingClass = "epi.cms.contentediting.editors.SelectionEditor";
and it work..
Hi.
I need to create drop down property in my pagetype but items in dropdown property generated dynamically.
How impl that functionality?