Categories | Question details Back To List | ||
dhtmlXLayoutObject URL issue hi, we are developing Struts2 application and my requirement is i need to send struts action in the following format to layout. dhxLayout.cells("b").attachURL("RptAction.action"); or dhxLayout.cells("b").attachURL("/mainprj/subproj/RptAction.action"); the attachURL is not responding to that request. if i pass dhxLayout.cells("b").attachURL("http://localhost:8989/MyMainPrj/Module/RptAction.action"); dam layout is working. but i cant give the complete URL to access the action. Is there any way i can use layout with passing complete URL ...like attachObject. regards kim Answer posted by Support on Nov 24, 2008 04:39 There is no difference for layout component between absolute and relative path , and both cases paths translated to http urls, and related content loaded. Please be sure that relative path is correct ( in case of multiframe environment, the path will be related to url of document, from which js script called ) Answer posted by kim on Nov 24, 2008 06:28 So, now what i need todo inorder to work with out give absolute path ? Answer posted by Support on Nov 24, 2008 07:59 Layout doesn't differ absolute or relative paths - while path is correct - it will load the same as in case of separate window. |