var dialog = new AlfDialog({
title: "Media Content",
widgetsContent: [
{
name: "alfresco/forms/controls/DojoValidationTextBox",
config: {
id: "SEARCH",
name: "${fieldHtmlId}_searchText",
label: "Search",
description: "Enter text to search",
value: ""
}
}
],
widgetsButtons: [
{
name: "alfresco/buttons/AlfButton",
config: {
label: "Search",
publishTopic: "${fieldHtmlId}_Search"
}
},
{
name: "alfresco/buttons/AlfButton",
config: {
label: "Cancel"
}
}
]
});
How do i get the value of DojoValidationTextBox? I have tried dijit.byId but doesnt work.