Why web browser opened XML instead of relator content Functions# XML - WWW明日之星
v*n
1 楼
I'm using vignette portal and vcm to build a website.
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.
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.