Cory Watson <jheephat <at> gmail.com> writes:

> > Yes. The URL may look like
> > http://localhost/foo/app?service=chart&page=Bar
> 
> Interesting.  I feel we are getting closer!
> 
> How does the 'service=chart' parameter change the behavior of the Bar  
> page?  Does it inject the service or something?

service=chart is telling Tapestry to call the chart service
(not the page service). page=Bar is telling the chart
service that the Bar page is a component that implements
IChartProvider.

> Again, I apologize for being dense ;)  You mentioned a service  
> encoder in the earlier message.  I'm apparently missing something  
> here...

No. A service encoder is needed only if we need friendly URL
such as:

  http://localhost/foo/chart/Bar

--
Author of e-book for learning Tapestry (www.agileskills2.org/EWDT)


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

Reply via email to