Hi,
1) I have created a very simple form with just a text box with visual Builder.
I am unable to save it under the workspace dir using the save dialog.
Veriosn :SC_SNAPSHOT-2010-01-31 (Nightly build)
I am using this nightly build as suggested in many of the forum threads.
Please find below the server logs for the same.
Link generated points to the correct directory.But, the jsp file does not get saved
XML Code generated by VB:
JS Code generated by VB:
1) I have created a very simple form with just a text box with visual Builder.
I am unable to save it under the workspace dir using the save dialog.
Veriosn :SC_SNAPSHOT-2010-01-31 (Nightly build)
I am using this nightly build as suggested in many of the forum threads.
Please find below the server logs for the same.
Code:
with arg types: java.lang.String === 2010-02-02 04:24:35,493 [p-15] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2010-02-02 04:24:35,509 [p-15] DEBUG RPCDMI - rpc returned RPCResponse === 2010-02-02 04:24:35,509 [p-15] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2010-02-02 04:24:35,524 [p-15] INFO Compression - /jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp: 617 -> 388 bytes === 2010-02-02 04:24:35,540 [p-13] INFO RequestContext - URL: '/jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:24:35,540 [p-13] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2010-02-02 04:24:35,556 [p-13] DEBUG RPCManager - Processing 1 requests. === 2010-02-02 04:24:35,556 [p-13] DEBUG RPCManager - Request #1 (RPCRequest) data: { appID:"isc_builtin", className:"builtin", methodName:"xmlToJS", arguments:[ "\r<DynamicForm ID=\"SearchFormPanel\" autoDraw=\"false\">\n <fields>\n <FormItem name=\"nameText\" title=\"Name \" constructor=\"TextItem\"/>\n </fields>\n</DynamicForm>\n\n"], is_ISC_RPC_DMI:true } === 2010-02-02 04:24:35,556 [p-13] DEBUG RPCDMI - appConfig: isc.Application.create({ rpcBindings:[ { ID:"builtin", className:"com.isomorphic.rpc.BuiltinRPC", visibleMethods:[ {name:"downloadWSDL"}, {name:"xmlToJS"}, {name:"uploadProgressCheck"}, {name:"saveFile"}, {name:"appendToFile"}, {name:"loadFile"}, {name:"deleteFile"}, {name:"loadSharedXML"}, {name:"saveSharedXML"}, {name:"getAvailableScriptEngines"}, {name:"devConsoleEvalServerScript"}, {name:"evalJava"}, {name:"getLogNames"}, {name:"getLogEntries"}, {name:"getLogThresholds"}, {name:"setLogThreshold"} ] }, { ID:"builtin_tools", className:"com.isomorphic.tools.BuiltinRPC", visibleMethods:[ {name:"getDataSourceFromTable"}, {name:"getDataSourceJSONFromTable"}, {name:"getDataSourceFromHibernateMapping"}, {name:"getDataSourceJSONFromHibernateMapping"}, {name:"getTables"}, {name:"getFieldsFromTable"}, {name:"getBeanFields"}, {name:"getHibernateBeans"}, {name:"getDatabaseProductNameAndVersion"}, {name:"getDatabaseTableTypes"}, {name:"setAttributes"}, {name:"clearAttributes"}, {name:"getAttributes"}, {name:"getAttribute"}, {name:"getDataSourceConfigFromJavaClass"}, {name:"getJavaSource", language:"groovy", args:"cName", script:"\n if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\"); \n //import org.apache.bcel.Repository;\n\n try {\n return org.apache.bcel.Repository.lookupClass(cName).toString();\n } catch (Throwable e) {\n return \"Unable to reverse engineer class \"+cName+\": \"+e.getMessage();\n }\n "}, {name:"loadDataSource"}, {name:"dsFromXML"}, {name:"dsConfigFromXML"} ] } ] }) === 2010-02-02 04:24:35,556 [p-13] DEBUG Reflection - adaptArgsAndInvoke: public static com.isomorphic.rpc.RPCResponse com.isomorphic.rpc.BuiltinRPC.xmlToJS(java.lang.String) throws java.lang.Exception requiredArgs: [java.lang.String] optionalArgs: [com.isomorphic.servlet.RequestContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, javax.servlet.http.HttpSession, com.isomorphic.rpc.RPCManager, com.isomorphic.rpc.RPCRequest] === 2010-02-02 04:24:35,556 [p-13] DEBUG Reflection - checking whether type: java.lang.String fulfills type: java.lang.String === 2010-02-02 04:24:35,556 [p-13] DEBUG Reflection - Successfully adapted required arg type: java.lang.String to type: java.lang.String === 2010-02-02 04:24:35,556 [p-13] DEBUG Reflection - method takes: 1 args. I've assembled: 1 args === 2010-02-02 04:24:35,556 [p-13] DEBUG Reflection - invoking method: com.isomorphic.rpc.RPCResponse com.isomorphic.rpc.BuiltinRPC.xmlToJS(java.lang.String) throws java.lang.Exception with arg types: java.lang.String === 2010-02-02 04:24:35,556 [p-13] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2010-02-02 04:24:35,571 [p-13] DEBUG RPCDMI - rpc returned RPCResponse === 2010-02-02 04:24:35,571 [p-13] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2010-02-02 04:24:35,571 [p-13] INFO Compression - /jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp: 617 -> 388 bytes === 2010-02-02 04:26:30,524 [p-15] INFO RequestContext - URL: '/jedi/GtmWebModule/sc/IDACall', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:26:30,728 [p-15] INFO Compression - /jedi/GtmWebModule/sc/IDACall: 110 -> 97 bytes === 2010-02-02 04:26:30,884 [p-13] INFO RequestContext - URL: '/jedi/GtmWebModule/sc/IDACall', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:26:30,946 [p-13] INFO Compression - /jedi/GtmWebModule/sc/IDACall: 183387 -> 9423 bytes === 2010-02-02 04:27:35,962 [p-15] INFO RequestContext - URL: '/jedi/GtmWebModule/sc/skins/ToolSkin/images/shared/shadows/ds2_B.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:27:35,962 [p-15] INFO Download - File C:/GTM/output/GasOps2.0.0.0Dev/java/deploy/remote/server/EntegrateServer/web/GtmWebModule/sc/skins/ToolSkin/images/shared/shadows/ds2_B.png not found, sending 404 === 2010-02-02 04:27:36,071 [p-13] INFO RequestContext - URL: '/jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:27:36,212 [p-13] DEBUG XML - Parsed XML from (in memory stream): 109ms === 2010-02-02 04:27:36,212 [p-13] DEBUG RPCManager - Processing 1 requests. === 2010-02-02 04:27:36,228 [p-13] INFO AppBase - Using class 'com.isomorphic.tools.AdminConsole' as the implementer for application 'adminConsole' === 2010-02-02 04:27:36,228 [p-13] INFO AppBase - UserType requirements: null === 2010-02-02 04:27:36,228 [p-13] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{fileFilter:".xml$", parentID:"/tools/visualBuilder/workspace"}, operationConfig:{dataSource:"Filesystem", operationType:"fetch", textMatchStyle:"substring"}, startRow:0, endRow:75, sortBy:["name"], componentId:"isc_TSaveFileDialog_99_directoryListing", appID:"adminConsole", operation:"Filesystem_fetch", oldValues:{fileFilter:".xml$", parentID:"/tools/visualBuilder/workspace"} } === 2010-02-02 04:27:36,228 [p-13] DEBUG AppBase - [adminConsole.Filesystem_fetch] No userTypes defined, allowing anyone access to all operations for this application === 2010-02-02 04:27:36,228 [p-13] DEBUG AppBase - [adminConsole.Filesystem_fetch] No public zero-argument method named '_Filesystem_fetch' found, performing generic datasource operation === 2010-02-02 04:27:36,228 [p-13] DEBUG FilesystemDataSource - [adminConsole.Filesystem_fetch] returnContent is: false === 2010-02-02 04:27:36,228 [p-13] DEBUG FilesystemDataSource - [adminConsole.Filesystem_fetch] listing files at: /tools/visualBuilder/workspace === 2010-02-02 04:27:49,759 [p-15] INFO RequestContext - URL: '/jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:27:49,806 [p-13] INFO RequestContext - URL: '/jedi/GtmWebModule/tools/visualBuilder/vbOperations.jsp', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS === 2010-02-02 04:27:49,821 [p-15] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2010-02-02 04:27:49,821 [p-13] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2010-02-02 04:27:49,837 [p-13] DEBUG RPCManager - Processing 1 requests. === 2010-02-02 04:27:49,837 [p-13] INFO AppBase - Using class 'com.isomorphic.tools.AdminConsole' as the implementer for application 'adminConsole' === 2010-02-02 04:27:49,837 [p-13] INFO AppBase - UserType requirements: null === 2010-02-02 04:27:49,837 [p-13] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{path:"tools/visualBuilder/workspace/NomPlanSearch.jsp"}, values:{path:"tools/visualBuilder/workspace/NomPlanSearch.jsp", contents:"<%@ page contentType=\"text/html; charset=UTF-8\"%>\n<%@ taglib uri=\"/WEB-INF/iscTaglib.xml\" prefix=\"isomorphic\" %>\n<HTML><HEAD><TITLE>NomPlanSearch</TITLE>\n<isomorphic:loadISC skin=\"Enterprise\"includeModules=\"FileLoader,SalesForce,EBay,Kapow\"/>\n</HEAD><BODY>\n<SCRIPT SRC=/jedi/tools/visualBuilder/eBayAuthToken.js><\/SCRIPT>\n<SCRIPT>\nisc.Page.setAppImgDir(\"GtmWebModule/tools/visualBuilder/graphics/\");\n<isomorphic:XML>\n\r<DynamicForm ID=\"SearchFormPanel\" autoDraw=\"false\">\n <fields>\n <FormItem name=\"nameText\" title=\"Name \" constructor=\"TextItem\"/>\n </fields>\n</DynamicForm>\n\n\n</isomorphic:XML><\/SCRIPT>\n</BODY></HTML>"}, operationConfig:{dataSource:"Filesystem", operationType:"update"}, appID:"adminConsole", operation:"saveFile", oldValues:{path:"tools/visualBuilder/workspace/NomPlanSearch.jsp", contents:"<%@ page contentType=\"text/html; charset=UTF-8\"%>\n<%@ taglib uri=\"/WEB-INF/iscTaglib.xml\" prefix=\"isomorphic\" %>\n<HTML><HEAD><TITLE>NomPlanSearch</TITLE>\n<isomorphic:loadISC skin=\"Enterprise\"includeModules=\"FileLoader,SalesForce,EBay,Kapow\"/>\n</HEAD><BODY>\n<SCRIPT SRC=/jedi/tools/visualBuilder/eBayAuthToken.js><\/SCRIPT>\n<SCRIPT>\nisc.Page.setAppImgDir(\"GtmWebModule/tools/visualBuilder/graphics/\");\n<isomorphic:XML>\n\r<DynamicForm ID=\"SearchFormPanel\" autoDraw=\"false\">\n <fields>\n <FormItem name=\"nameText\" title=\"Name \" constructor=\"TextItem\"/>\n </fields>\n</DynamicForm>\n\n\n</isomorphic:XML><\/SCRIPT>\n</BODY></HTML>"} } === 2010-02-02 04:27:49,837 [p-13] DEBUG AppBase - [adminConsole.saveFile] No userTypes defined, allowing anyone access to all operations for this application === 2010-02-02 04:27:49,837 [p-13] DEBUG AppBase - [adminConsole.saveFile] No public zero-argument method named '_saveFile' found, performing generic datasource operation === 2010-02-02 04:27:49,853 [p-15] DEBUG RPCManager - Processing 1 requests. === 2010-02-02 04:27:49,853 [p-15] INFO AppBase - Using class 'com.isomorphic.tools.AdminConsole' as the implementer for application 'adminConsole' === 2010-02-02 04:27:49,853 [p-15] INFO AppBase - UserType requirements: null === 2010-02-02 04:27:49,853 [p-15] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{path:"tools/visualBuilder/workspace/NomPlanSearch.xml"}, values:{path:"tools/visualBuilder/workspace/NomPlanSearch.xml", contents:"\r<DynamicForm ID=\"SearchFormPanel\" autoDraw=\"false\">\n <fields>\n <FormItem name=\"nameText\" title=\"Name \" constructor=\"TextItem\"/>\n </fields>\n</DynamicForm>\n\n"}, operationConfig:{dataSource:"Filesystem", operationType:"update"}, appID:"adminConsole", operation:"saveFile", oldValues:{path:"tools/visualBuilder/workspace/NomPlanSearch.xml", contents:"\r<DynamicForm ID=\"SearchFormPanel\" autoDraw=\"false\">\n <fields>\n <FormItem name=\"nameText\" title=\"Name \" constructor=\"TextItem\"/>\n </fields>\n</DynamicForm>\n\n"} } === 2010-02-02 04:27:49,853 [p-15] DEBUG AppBase - [adminConsole.saveFile] No userTypes defined, allowing anyone access to all operations for this application === 2010-02-02 04:27:49,853 [p-15] DEBUG AppBase - [adminConsole.saveFile] No public zero-argument method named '_saveFile' found, performing generic datasource operation === 2010-02-02 04:27:55,368 [p-13] INFO RequestContext - URL: '/jedi/GtmWebModule/tools/visualBuilder/workspace/NomPlanSearch.jsp', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
Link generated points to the correct directory.But, the jsp file does not get saved
Code:
http://localhost:9999/jedi/GtmWebModule/tools/visualBuilder/workspace/NomPlanSearch.jsp
XML Code generated by VB:
Code:
<DynamicForm ID="SearchFormPanel" autoDraw="false"> <fields> <FormItem name="nameText" title="Name " constructor="TextItem"/> </fields> </DynamicForm>
Code:
isc.DynamicForm.create({ ID:"SearchFormPanel", autoDraw:false, fields:[ {name:"nameText", title:"Name ", _constructor:"TextItem"} ] })
Comment