Thanks for the help. I was able to resolve the issue based on your
inputs.Step1:-Component dialog details of the field Step2:-I created a ajax request based
on Send a Ajax request to servletvar requestPathWithHtml =
$(".foundation-content-path").data("foundationContentPath"); var
requestPath=requestPathWithHtml.replace(/\.[^/.]+$/, ""); $.ajax({ type:
"GET", url: "/bin/requreidserveltpath", data:{"pagepath":requestPath},
contentType: "application/json" }).success(function (res)
{$("#datecompId")...