Hi Salvador,

Remember to always include your environment settings. What Openbravo
version are you using? There was an issue logged and fixed [1], perhaps
is related to your problem.

[1] https://issues.openbravo.com/view.php?id=12383

Best Regards,

Iván


On Mon, 05 Apr 2010 16:24:10 +0200
Salvador Zapata <[email protected]> wrote:

> Dear All,
> 
> I'm developing a new module based on Invoice Tax Report. First of all
> I copied and rename all files to my module folder, it compiles and
> seems that all is ok, but when I to package the module an error
> occurs validating the module, the mapping has to be inside the module
> package.
> 
> At the begining my class mapping in AD was: MyReportTaxInvoice.html
> .. and openServletNewWindow worked fine.
> 
> After the error validating module, I changed the mapping with 
> /org.openbravo.myModule.ad_reports/MyReportTaxInvoice.html
> 
> The initial window with filters worked fine, but when I execute:
> 
> openServletNewWindow('PRINT_HTML', true, 'MyReportTaxInvoice.html',
> 'MyReportTaxInvoice', null, false, '700', '1000', true);return false;
> 
> or
> 
> openServletNewWindow('PRINT_HTML', true,
> '/org.openbravo.myModule.ad_reports/MyReportTaxInvoice.html',
> 'MyReportTaxInvoice', null, false, '700', '1000', true);return false;
> 
> 
> An error occurs: It is not possible to tomcat find 
> org.openbravo.myModule.ad_reports/PopupLoading.html....I change the
> last parameter of the openServletNewWindow (...., false) to false
> instead of true..but it didn't work neither.
> 
> So, How can I execute openServletNewWindow in my modules?
> 
> My solution was to use submitCommandForm instead of 
> openServletNewWindow, and it works,  but I'm still thinking how to
> use openServletNewWindow.
> 
> Anybody knows??
> 
> Thank you!!
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Openbravo-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openbravo-development


-- 
Iván Perdomo

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to