Hello All,
I have a custom component in Webtop 6.7sp1 which is not modal...however if the user enters an invalid value in the form I would like to display a popup prompt dialog telling them they must enter a valid value. Since my custom component is not modal, it seems everytime I call the "prompt" component using setComponentNested it is displayed in the browser directly, not as a popup. Is there anyways to use setComponentNested(...) and force it to open in a popup modal?
It sounds like I could extend the prompt component and setModal(true) onInit(...), or use the action service and create a custom action with the <invocation> parameters...however I'd prefer to do this without creating custom components/actions if not necessary.
ArgumentList promptArgs = new ArgumentList();promptArgs.add(Prompt.ARG_TITLE, "Matter Search Error");
promptArgs.add(Prompt.ARG_MESSAGE, "Non Litigated Matters must be filed by claim #");
promptArgs.add(Prompt.ARG_BUTTON, new String[] { Prompt.OK });
setComponentNested("prompt", promptArgs, new Context(), null);
Thanks,
Doug