on 09-03-2009 9:59 AM
Hi
我想通过dashboard URL button 链接到一个CR, 用了openDocument 功能, link 如下:
http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?sWindow=New&iDocID=6053&isApplication=true&token=entSession
显示为500 error, 问题出在参数 token=entSession , 不加的话可以正常打开,但是要输入用户名。 entSession 是我从openDoucment.jsp 文件中找到的变量,但是应该不能这样用,
环境:
BOE XI3.1, CR 和 Dashboard 都是上传到BOE上通过InfoView 打开的, 现在的问题是登录BOE后, dashboard 可以正常打开,但是当通过dashboard中的link 打开CR 的时候要求输入用户名密码。
已经看过 但是情况好像不同, 没办法把 URL 写死z在openDocument.jsp 中。
希望大虾们帮忙,有什么解决方法呢? 谢谢先~
>
> Hi
> 我想通过dashboard URL button 链接到一个CR, 用了openDocument 功能, link 如下:
> http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?sWindow=New&iDocID=6053&isApplication=true&token=entSession
>
> 显示为500 error, 问题出在参数 token=entSession , 不加的话可以正常打开,但是要输入用户名。 entSession 是我从openDoucment.jsp 文件中找到的变量,但是应该不能这样用,
>
> 环境:
> BOE XI3.1, CR 和 Dashboard 都是上传到BOE上通过InfoView 打开的, 现在的问题是登录BOE后, dashboard 可以正常打开,但是当通过dashboard中的link 打开CR 的时候要求输入用户名密码。
>
> 已经看过 但是情况好像不同, 没办法把 URL 写死z在openDocument.jsp 中。
>
> 希望大虾们帮忙,有什么解决方法呢? 谢谢先~
结合你之前提出的新窗口打开的问题,以及这个登录问题,如下:
1. 在Xcelsius中给URL Button设置u201C本窗口打开u201D
2. 在opendoc url中去掉isApplication=true,保留sWindow=true
3. 将swf导出至BOE,并保证opendoc的url中的机器名和BOE的机器名相同
4. 用opendoc或者infoview打开这个swf, 则可实现单个新窗口打开opendoc并且不需要另外登录
该方法存在的限制:点击URL Button后,swf会重新load
-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
谢谢~
问题解决了,是link 不对。
1. 去掉了token参数
2. 把opendocument的server名称和打开BOE的link的server名称一致,要么都用IP,要么都用主机名
isApplication=true, 是在openDocument.jsp文件中找到一段代码,试了下发现可以用这个方法暂时解决openDocument refresh原窗口或者打开两个窗口的问题。 但是不知道会不会引起其它问题... ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
在openDocument链接中去掉&token=entSession,再试试看?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.