4 Replies Latest reply on Mar 17, 2009 12:52 AM by Christian Bauer

    Hiding cid's

    John Ament Master


      I'm curious, how does this site hide the cid's in the links?  On my live site, they're shown.  While not affecting anything, i think they look bad, especially with the url rewriting I have.


        • 1. Re: Hiding cid's
          marx3 Apprentice

          I would like to know too...

          • 2. Re: Hiding cid's
            Arbi Sookazian Master

            read section 9.3 in Yuan/Heute 2nd ed. Seam book on natural conversations.

            you can also download the source code for the book here: http://solutionsfit.com/seam

            the natural booking example is the one you're interested in...

            Explicit synthetic conversation IDs are now deprecated; use natural conversations instead.
            • 3. Re: Hiding cid's
              Arbi Sookazian Master

              well it gets a bit confusing.  I just checked the book and it states the following:

              Seam implements a very simple approach to configuring navigable URLs.  First, you need to add the following snippet to your components.xml file to enable URL rewriting:

              <web:rewrite-filter view-mapping="*.seam"/>

              But I don't see this in the booking example source code (there is no separate naturalbooking example in the download).

              I do see this:


              <?xml version="1.0" encoding="utf-8"?>
              <!DOCTYPE urlrewrite
                  PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN"
                        <to last="true">/confirm.seam?hotelId=$1</to>
                        <to last="true">/book.seam?hotelId=$1</to>
                        <to last="true">/hotel.seam?hotelId=$1</to>