In some cases it is useful to include a link to a generated tab from a 
manual page, in releases previous to r2.50 it was done adding manually a 
link to the desired tab, but from r2.50 tabs in modules have different 
mapping than core ones. To facilitate this generation a new method 
(getTabURL) has been added to org.openbravo.erpCommon.utility.Utility class.

This static method receives the following parameters:
*HttpSecureAppServlet servlet: which is the current servlet, it is used 
to obtain the base direction as well as a database connection
*String tabId: ID for the tab to generate the link for
*String type: determines the view type for the tab, it can be:
   *R: Releation
   *E: Edition
   *X: Excel

It returns a String with the link.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to