<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Alex,</div><div>Thanks very much for your reply!</div><div>I got it. It seems Opencms 10.5 has lots of improvements. </div><div>I want to play with 10.5 next time!</div><div><br></div><div>And I  solved my problem by the following steps (Opencms Version:10.01)</div><div>Work around steps:</div><div>1.create two detail pages in a same subsitemap, the path is like</div><div>     /page/d1/index.html</div><div>    /page/d2/index.html</div><div>2.in the fomater of the list , generate the link of detail page like this:</div><div>   <cms:link>${pageUri}${content.id}</cms:link></div><div>  the ${pageUri} will be "/page/d1/" or "/page/d2/" , I set the value by other logic before this line.</div><div>  (In my case , I judge the Category of the list items to set the ${detailPage})</div><div><br></div><div>Kind regards,</div><div>Hou.</div><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2016-12-19 19:12:11, "Alex Kandzior" <alex@opencms.org> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div class="">If you want to specify the detail page in the <link> tag, you must update to OpenCms 10.5.</div><div class=""><br class=""></div><div class="">The attribute „detailPage“ for the link tag is new in 10.5. It allows you to specify the detail page used manually for a link.</div><div class=""><br class=""></div><div class="">In OpenCms before 10.5 you can have only one detail page per (sub)sitemap for an element type.</div><div class=""><br class=""></div><div class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Kind regards,<br class="">Alex.<br class=""><br class="">-------------------<br class="">Alexander Kandzior<br class=""><br class="">Alkacon Software - The OpenCms Experts                                                    <br class=""><a href="http://www.alkacon.com" class="">http://www.alkacon.com</a> - <a href="http://www.opencms.org" class="">http://www.opencms.org</a>                                                          <br class=""><br class=""><br class=""></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Am 17.12.2016 um 09:09 schrieb houcaoyu <<a href="mailto:houcaoyu@163.com" class="">houcaoyu@163.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">Hello</div><div class="">First sorry for my bad English.I'm Chinese.</div><div class="">I'm using Opencms 10.01.</div><div class="">I have two list pages for a same resource type , every page display different category.</div><div class="">The list pages are also detail pages for the resource type.</div><div class="">What I want is when clicking on a list item ,and jumping to the detail page , </div><div class="">I want to specify which page to display the detail view.</div><div class="">The problem is now when I click on the list item ,it always jump to the default detail page.</div><div class=""><br class=""></div><div class="">I use this to generate the link of detail page.</div><div class=""><cms:link >${content.filename}</cms:link>"</div><div class="">And I also found that <cms:link> has a attribute named "detailPage" from the Tag Libray Reference.</div><div class="">"<span style="font-family: Simsun; font-size: inherit;" class="">Set this attribute to link to a specific detail page.</span>"</div><div class="">But  after I set the path of detail page(like "/page/d1/") to this attribute ,the list item can't be rendered.</div><div class="">I want to know what kind of value can pass to this attribute to specify a detail page.</div><div class=""><br class=""></div><div class="">And if you have other ways to solve my problem ,please share to me.</div><div class="">Thanks very much.</div><div class="">Hou.</div></div><br class=""><br class=""><span title="neteasefooter" class=""><div class=""> <br class="webkit-block-placeholder"></div></span>_______________________________________________<br class="">This mail is sent to you from the opencms-dev mailing list<br class="">To change your list options, or to unsubscribe from the list, please visit<br class=""><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" class="">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class=""><br class=""><br class=""><br class=""></div></blockquote></div><br class=""></blockquote></div>