hi kent,

ugly urls look like:
http://localhost:8888/wiki/app?page=WikiPageRead&service=external&sp=Sfoo

friendly urls like:
http://localhost:8888/wiki/page/Sfoo

the attached service encoder is *identical* to the vlib ViewPageEncoder...

hivemodule code:
 <encoder
  id="viewpage"
  before="external"

object="instance:wiki.services.ViewPageEncoder,pageName=WikiPageRead,url=/page"/>
 <page-service-encoder
  id="external"
  extension="external"
  service="external"/>

Kent Tong wrote:
Jeff Emminger <mailing-lists <at> jeffemminger.com> writes:


i'm trying to achieve urls like
/app/page/pageFoo
/app/page/pageBar

what i've achieved so far is
/app/page/SpageFoo
/app/page/SpageBar

how do i get the friendly urls to render without the data squeezer S?


What's the ugly url to call your external page is like? What's the
source code to your ServiceEncoder?

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: ViewPageEncoder.java
Description: java/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to