Hi Luciano, thanks for your reply. Hmmm, ok, since it is not possible to create a binding for a widget, I was thinking about a way to get all components and its implementations.
Let's suppose I have a SCA Composite with many Components into. 1) How can I get reference (by code or declarativelly) for all Components? 2) How can I get the location of widget implementation? I'll download code you've suggested and test it... Thank you, On Mon, Dec 13, 2010 at 9:46 PM, Luciano Resende <luckbr1...@gmail.com> wrote: > On Mon, Dec 13, 2010 at 12:23 PM, Emilio Numazaki > <mediasoni...@gmail.com> wrote: >> Hi all, >> >> I'd like to create a kind of workspace which is basically an >> aggregation of many HTML snippets in one dynamic page. >> >> Each snippet will be a reference of anĀ "implementation.widget." >> (http://tuscany.apache.org/sca-java-implementationwidget.html) >> >> My questions are: >> - Is there a way to use implementation.widget as a reference? >> - If last question is yes, then how can I "discovey" all the >> references that is part of my composite? >> >> For example, let's suppose I have a component with three references >> a.html, b.html and c.html. I'd like to create a dynamic AJAX page (as >> implementation.widget) that can get each piece of reference to compose >> a single dynamic page. >> >> Thanks in advance. >> > > Widget only support references to SCA server side services, and not to > other widgets/pages. But what you are describing is available in > couple places, and uses widget to certain extent. See [1] and [2] > > [1] > https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/tutorials/store/store-mashup/ > [2] > https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/modules/domain-manager/ > > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ >