v*********n 发帖数: 3983 | 1 【 以下文字转载自 Java 讨论区 】
发信人: verizonchen (verizonchen), 信区: Java
标 题: 请教一个vignette vcm问题
发信站: BBS 未名空间站 (Mon Jan 17 22:27:58 2011, 美东)
Why web browser opened XML instead of relator content Functions
I have two content type definitions. One is called A and another is B. B is
relator relation of A. On the web page I first display content instance of
A, meanwhile my code calls linkbuilder.buildlink(request, vcmoid) to
generate the page URL for content of B. However when I click the URL link on
page A, it opens the XML of content instance of A in the web browser
instead of opening content instance of B. I checked request and vcmoid are
both correct.
Does anyone know why it opens XML file rather than displaying the web page
of B? Thanks a lot. |
|