Re: what is a stable java-php combination

2010-07-07 Thread Pieter Maes -- Maescool
Hi can anyone help me with this? or do i need to wait for the next release? thanks! Pieter Maes Op 25/06/10 12:49, Pieter Maes -- Maescool schreef: > Hi, > > In a previous mail I was recommended to run the gadget in java and the > social in php > now i'm wonder which version(s) i should use th

Re: what is a stable java-php combination

2010-07-07 Thread Evgeny Bogdanov
If you use trunk php version and java-shindig 1.1-BETA5 and follow instructions about mod proxy it should work If you want to use java-shindig 2.0, I don't know since didn't do it yet :) there were some changes in request naming that break the setup of mod proxy: you either have to modify mod p

Java shindig: add database

2010-07-07 Thread Evgeny Bogdanov
Hello, Plan to connect my database to java shindig (did it for php shindig based on Partuza example, works well) What is a best practice do do it for java? Is there a config file where all database settings are saved? Could somebody give your implementation to start from? Thanks Evgeny

Re: Sample Container Javascript Errors

2010-07-07 Thread John Hjelmstad
Hi Randy: What's the top-level page, and how is each gadget initialized to gadgets.rpc? I'm unaware of any updates to the underlying lib that generates these errors so I suspect something may have changed in sample container's gadget init sequence. For each gadget, you need to do: gadgets.rpc.set

Re: Sample Container Javascript Errors

2010-07-07 Thread Kam Kasravi
Actually just setting the iframe's parent to point to the container will allow the 2 calls below to work. That is the iframe's src should contain a parent parameter that is the same as the parent. kam On Jul 7, 2010, at 8:31 AM, John Hjelmstad wrote: > Hi Randy: > > What's the top-level page,

Re: Java shindig: add database

2010-07-07 Thread Henry Saputra
Hi Evgeny, Maybe you can start take a look at the trunk/java/samples project that uses hibernate and jpa. - Henry On Wed, Jul 7, 2010 at 7:52 AM, Evgeny Bogdanov wrote: > Hello, > > Plan to connect my database to java shindig (did it for php shindig based > on Partuza example, works well) > Wha

Re: Java shindig: add database

2010-07-07 Thread Michael Young
I found this particularly helpful when we did it for Liferay: https://cwiki.apache.org/confluence/display/SHINDIG/Providing+your+own+data+service+implementation - Mike -- Liferay West Coast Symposium September 8-9, 2010 Anaheim, CA www.liferay.com/wcs -- Follow us on Twitter: liferay On Jul 7,

Re: Adding ResponseRewriterRegistry for accel (issue1680049)

2010-07-07 Thread johnfargo
Looks pretty reasonable to me. Can you change the base URL to include java/gadgets/src so the codereview tool can download the raw files for diffing? http://codereview.appspot.com/1680049/show

Re: Adding ResponseRewriterRegistry for accel (issue1680049)

2010-07-07 Thread johnfargo
final comment. http://codereview.appspot.com/1680049/diff/3001/4004 File test/java/org/apache/shindig/gadgets/servlet/HtmlAccelServletTest.java (right): http://codereview.appspot.com/1680049/diff/3001/4004#newcode1 test/java/org/apache/shindig/gadgets/servlet/HtmlAccelServletTest.java:1: /* the

Re: Sample Container Javascript Errors

2010-07-07 Thread Randy Watler
Kam/John, I did a little more digging and determined the following: 1. It appears that the first error is occurring while the container is being loaded, so at that point gadgets are not initializing. As I mentioned before, the error seems to be the result of an unexpected configuration since

hosting containers separate from shindig?

2010-07-07 Thread Gregg Horan
I'm trying to setup a separate shindig server to support multiple other apps/containers/embedded gadgets on different servers. I can get this to work with apache mod_rewrite in front of my primary apps; rewriting /social/* and /gadgets/* to my shindig server. This works OK, but is a bit cum

Re: Sample Container Javascript Errors

2010-07-07 Thread John Hjelmstad
I'd look more deeply at #1 -- the container will likely have a goodly amount of trouble if it's trying to send a call to itself, since there's no initialization for a self-call :) Figure out why that's occurring and I'd imagine we can get rid of the problem. Sounds like it's not container <-> gadge

Re: Uploading and storing files data

2010-07-07 Thread Gabriel Guardincerri
Hi John, I'm going to start adding this feature to shindig, I will be working with the Java version. Any start points/advices about this? Thanks Gabriel On Thu, Jul 1, 2010 at 10:56 AM, Gabriel Guardincerri wrote: > Hi John, > > I'm interested in having that feature, so I could probably contri

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread John Hjelmstad
Hey Chuck: This is great documentation, thanks for writing it up! I'd love to see this in the Wiki or the Shindig docs page itself. A quick place to put it would be in the FAQs section: https://cwiki.apache.org/confluence/display/SHINDIG/Index;jsessionid=30570F2F77512F0AA53B6CDCCD7694E8 --John

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread csev
John - Thanks. Would you prefer I write up a few pages in the wiki and point to them in the FAQ - or should I just point to my blog posts. I would think it more valuable to redo the text in the wiki so others can improve it. It will take a bit of rewrite - but I am happy to do that. /Chuck O

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread ๏̯͡๏ Jasvir Nagra
Hi Chuck, I like this write up. A suggestion for the section on taming.js - this file whitelists your library calls so that cajoled programs can call them. ___.grantRead grants access to read the value (but not call it). In your example, you are creating functions, the correct way to expose the

Re: Uploading and storing files data

2010-07-07 Thread John Hjelmstad
Hi Gabriel: Great to hear! As luck would have it, Charles Severance recently wrote up some documentation on how to add a new API to the social-api server here: http://www.dr-chuck.com/csev-blog/2010/07/playing-with-shindigopensocial-adding-a-new-feature-and-a-service/ I suspect this will provide

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread John Hjelmstad
@Chuck, I agree that slightly cleaning it up for Wiki consumption and enhancement would be of benefit. Most important though is just to get the content up! @Jasvir, perhaps Chuck's documentation could serve as a larger bootstrap of documentation on exposing tamed services :) --j 2010/7/7 ๏̯͡๏ Ja

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread ๏̯͡๏ Jasvir Nagra
On Wed, Jul 7, 2010 at 4:15 PM, John Hjelmstad wrote: > @Chuck, I agree that slightly cleaning it up for Wiki consumption and > enhancement would be of benefit. Most important though is just to get the > content up! > > @Jasvir, perhaps Chuck's documentation could serve as a larger bootstrap of >

Re: Adding ResponseRewriterRegistry for accel (issue1680049)

2010-07-07 Thread johnfargo
Committed, thx! On 2010/07/07 18:54:34, gagan.goku wrote: fixing bad things http://codereview.appspot.com/1680049/show

Re: Enabling AbsolutePathReferenceRewriter for accel (issue1708052)

2010-07-07 Thread johnfargo
quick update needed now that previous CL has been submitted. On 2010/07/07 21:09:04, gagan.goku wrote: http://codereview.appspot.com/1708052/show

Re: Adding a Feature to SHindig - Blog Post

2010-07-07 Thread csev
Thanks. @John - I will reformat and edit a few Wiki pages and then link them in. @Jasvir - I will adjust my taming discussion as you describe and then you can look at the pages on the wiki after I am don and make future adjustments. /Chuck On Jul 7, 2010, at 7:08 PM, ๏̯͡๏ Jasvir Nagra wrote: