天天看点

解决新开窗口问题

  &g_contenturl = GenerateComponentPortalURL(%Portal, %Node, @("MenuName." | &menuname), "GBL", @("Component." | &itemname), @("Page." | &pagename), "U");       Local string &l_SiteName, &l_SiteName_tmp;    &l_SiteName = %Request.GetParameter("PSHome");    &l_SiteName_tmp = &l_SiteName;    &MyArray = Split(&l_SiteName, "_");    &l_SiteName = &MyArray [1];       &g_contenturl = Substitute(&g_contenturl, &l_SiteName_tmp, &l_SiteName | "_newwin");       &g_contenturl = &g_contenturl | "&GBL_CMBC_ONL_SETID=" | &GBL_CMBC_ONL_SETID | "&GBL_CMBC_ONL_SCHEME_ID=" | &GBL_CMBC_ONL_SCHEME_ID | "&GBL_CMBC_ONL_STEP_ID=" | &GBL_CMBC_ONL_STEP_ID;    ViewContentURL(EncodeURL(&g_contenturl));