Hi Nuwan, You should be looking at #2. The examples in #1 are based on the old container code, not the common container.
As you pointed out, the common container example is lacking some functionality, e.g., preference support, but this does not mean that the common container precludes that functionality. It simply means that the example container does not implement that functionality. I believe there are ongoing efforts to add functionality to this example container and some other individuals on this list may have more details. I hope that helps. -Stanton From: Nuwan Bandara <[email protected]> To: [email protected], Cc: Stanton Sievers/Westford/IBM@Lotus Date: 04/19/2011 04:12 Subject: Re: Difference between shindig.container and osapi.container Sent by: [email protected] Hi Stanton, Another quick question, When I go through the samples, I see two different methods of gadget rendering. 1. in samplecontainer/ 2. in samplecontainer/examples/commoncontainer The way the gadgets are drawn in the page is significantly different in two implementations. #1 is using shindig.container feature while #2 is using container feature. What is the best way to go forward, and by looking at things I assume the mechanisms in samplecontainer will be deprecated in future. but common container lack some functionalities like displaying user preferences etc. If I am to build a portal based on shindig what mechanisms you suggest that I should use ? Regards, /Nuwan On Thu, Apr 7, 2011 at 5:06 PM, Nuwan Bandara <[email protected]> wrote: > Thanks Stanton. I will read the reviews, and drop a mail if any questions. > > Regards, > /Nuwan > > > On Thu, Apr 7, 2011 at 4:57 PM, Stanton Sievers <[email protected]>wrote: > >> Hi Nuwan, >> >> The Common Container was recently changed to use the "osapi" namespace >> instead of the "shindig" namespace. This was done as part of an effort >> moving forward to generalize the container in order to enable some Common >> Container Service APIs as part of OS 2.0. If you're interested in the >> specific changes, you can take a look: >> http://codereview.appspot.com/4329042/ >> >> I believe all of the resources in the wiki article to which you linked are >> still valid as long as you change the namespace. If you do find any >> functionality that is not working as expected, please feel free to raise >> the issue on this mailing list. >> >> Best regards, >> -Stanton >> >> >> >> From: Nuwan Bandara <[email protected]> >> To: [email protected], >> Date: 04/07/2011 04:31 >> Subject: Difference between shindig.container and osapi.container >> Sent by: [email protected] >> >> >> >> Hi Guys, >> >> I am trying to build a gadget container following [1] guide, according to >> that it uses the shindig-container api but in the latest trunk its >> osapi.container api used. What is the difference between these two ? Is >> the >> [1] guide out dated ? any other reference for the new container API ? >> >> [1] https://cwiki.apache.org/confluence/display/SHINDIG/Common+Container >> >> -- >> Thanks & Regards, >> Nuwan >> >> >> >> > > > -- > Thanks & Regards, > > Nuwan Bandara > - www.nuwanbando.com - Stranger Than Fiction > > [ http://www.linkedin.com/in/nuwanbandara ] > [ http://www.twitter.com/nuwanbando ] > [ https://github.com/nuwanbando] > > -- Thanks & Regards, Nuwan Bandara - www.nuwanbando.com - Stranger Than Fiction [ http://www.linkedin.com/in/nuwanbandara ] [ http://www.twitter.com/nuwanbando ] [ https://github.com/nuwanbando]
