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





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 )

So, now what i need todo inorder to work with out give absolute path ?

Layout doesn’t differ absolute or relative paths - while path is correct - it will load the same as in case of separate window.