We are working on custom rendering of CTD attributes..when we try to use the below referenced code in our custom render JSP file to render form controls, the page in workspace is not loading...the same JSP is working fine by displaying out.println("")... data if we remove below code reference..
Below Sample Code is breaking when we try to use for create on text field in UI for our custom rendering.
<
script type = "text/javascript" >
vExt.onReady( function (){ <%-- Setup default auto create values --%> tag: type: ' var autoCreateConfig = { 'input' , <%= type %> ' }; <%-- Create the widget --%> autoCreate: autoCreateConfig, id:' var text = new vExt.form.TextField({ <%= fieldId %> ', cls: name:' 'vui-widget-input-text vui-field-large' , <%= fieldId %> ', value:' <%= value %> ', hideMode: readOnly: 'display' , <%= readOnly %> }); <%-- Render the text widget --%> text.render(' <%= widgetId %> '); }); </ script > Which JS include we need to use to fix that? And where do we need to place that JS for properf reference?