Re: Access to a component through an URL

2010-11-02 Thread ael
You cloud also combine LINK & IF :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-to-a-component-through-an-URL-tp3247169p3248003.html Sent from the Tapestry - User mailing list archive at Nabble

Re: Access to a component through an URL

2010-11-02 Thread Christian Riedel
sure! read this page: http://tapestry.apache.org/tapestry5.1/cookbook/lib.html Am 02.11.2010 um 20:59 schrieb Kado: > 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.

Re: Access to a component through an URL

2010-11-02 Thread Kado
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 wrote: Thanks for t

Re: Access to a component through an URL

2010-11-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Nov 2010 17:26:10 -0200, Kado 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

Re: Access to a component through an URL

2010-11-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Nov 2010 17:26:10 -0200, Kado wrote: Thanks for the links, but this is not solving my problem. It does solve, but you need to adapt your solution to the tool you're using. :) An example of what I am needing will be: "http://www.mysite.com/component"; and this load the compon

Re: Access to a component through an URL

2010-11-02 Thread Kado
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. On 11/02/2010 03:53 PM, Muhammad Mohsen wrote: I don't think I can help you much, I haven't tackled such functio

Re: Access to a component through an URL

2010-11-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Nov 2010 16:13:46 -0200, Kado wrote: Hi, Olá, hermano! :) I am using some components for showing info in my webApp. Right now I am trying to access to some of these components by a direct URL (so I can access to this components from other webs, other processes and so on) a

Re: Access to a component through an URL

2010-11-02 Thread Muhammad Mohsen
I don't think I can help you much, I haven't tackled such functionality yet. But check this page (I think this will solve it, but sadly there is no example on the page, may be you can google or search Google code for the annotation and see how it's utilized): http://tapestryjava.blogspot.com/2010/

Re: Access to a component through an URL

2010-11-02 Thread Kado
Thanks for the quick answer, Is a matter of how-to. What we are really needing is an URL to access to a component. In this case the component is a page in the package components. Is this possible? Thanks! On 11/02/2010 03:18 PM, Muhammad Mohsen wrote: If you need to access ComponentA from

Re: Access to a component through an URL

2010-11-02 Thread Muhammad Mohsen
If you need to access ComponentA from ComponenB. And PageA contains ComponentB. Then add ComponentA to ComponentB (@InjectComponent). And pass a parameter to your page to invoke ComponentB in a way that would render ComponentA. Did I answer your question ? Is it a matter of organization or "how-t

Access to a component through an URL

2010-11-02 Thread Kado
Hi, I am using some components for showing info in my webApp. Right now I am trying to access to some of these components by a direct URL (so I can access to this components from other webs, other processes and so on) and I don't know how to do this. As we try to re-use as much as we can in