First of all thanks for the hint.

We are doing this "component thing" in order to re-use pages across many webapps.
Can we put pages in a library package??

Thanks.




On 11/02/2010 04:36 PM, Thiago H. de Paula Figueiredo wrote:
On Tue, 02 Nov 2010 17:26:10 -0200, Kado <juan.a...@condortech.com.ar> wrote:

Thanks for the links, but this is not solving my problem.
An example of what I am needing will be:
"http://www.mysite.com/component"; and this load the component in the browser.

Ooops, I forgot to complete the long answer. :)

Components are not meant to render a complete response, pages and events (through returning a StreamResponse, JSONObject or JSONArray in their handler methods) are. Of course, you can have trigger and handle events in pages, componentes and also in mixins. Pages and events have URLs, components don't. I'm not counting request filters and dispatchers here because they decide which URLs they handle.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to