That documentation is out of date; it is for Tapestry 3.0.  Tapestry
4.0 users the more verbose variant (where service and page are
seperate parameters) but will typically encode those as path
information inside a friendly URL.

On 10/12/05, Dan Adams <[EMAIL PROTECTED]> wrote:
> It seems like there is an error in the ExternalService docs. It says to
> use a url in the form:
>
> http://localhost/myapp?service=external&context=ViewCustomer&sp=5056
>
> but that throws an exception:
>
> Parameter name must not be null.
> at
> org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:239)
>   * 
> org.apache.tapestry.engine.ExternalService.service(ExternalService.java:139)
>   *
> so I changed it to the form:
>
> http://localhost/myapp?service=external&page=ViewCustomer&sp=5056
>
> and it worked(?!)
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to