Answers inline.. On Fri, Sep 3, 2010 at 7:27 AM, Kai Feng Zhang <[email protected]> wrote:
> Hi, > > I am new to Shindig code, Now I am wondering with what request, code will > go > into some method of GadgetsHandler.java? > > Should it be a rest reqeust? like as: > > http://localhost:8080/rest/gadgets/@metadata.supportedFields > > This works for me: {"entry":["UserPrefs","UserPrefs.Name","UserPrefs.DefaultValue","UserPrefs.DisplayName","UserPrefs.Required","UserPrefs.DataType","UserPrefs.EnumValues","UserPrefs.OrderedEnumValues","UserPrefs.OrderedEnumValues.Value","UserPrefs.OrderedEnumValues.DisplayValue","Views","Views.Name","Views.Type","Views.Content","Views.Attributes","Views.Href","Views.Quirks","Views.PreferredHeight","Views.PreferredWidth","ModulePrefs","ModulePrefs.Description","ModulePrefs.Links","ModulePrefs.Links.Href","ModulePrefs.Links.Rel","ModulePrefs.Height","ModulePrefs.Width","ModulePrefs.Features"," ModulePrefs.Features.Name ","ModulePrefs.Features.Required","ModulePrefs.Title","ModulePrefs.TitleUrl","ModulePrefs.Author","ModulePrefs.AuthorEmail","ModulePrefs.Screenshot","ModulePrefs.Thumbnail","ModulePrefs.DirectoryTitle","ModulePrefs.AuthorAffiliation","ModulePrefs.AuthorLocation","ModulePrefs.AuthorPhoto","ModulePrefs.AuthorAboutme","ModulePrefs.AuthorQuote","ModulePrefs.AuthorLink","ModulePrefs.Scaling","ModulePrefs.Scrolling","ModulePrefs.Categories","Checksum","IframeUrl","Url","Error"]}plin > or > > http://localhost:8080/social/rest/gadgets/@metadata.supportedFields > > But there is "no service definied for path > gadgets/@metadata.supportedFields". And page got 501 error. > > If I access directly: > http://localhost:8080/gadgets/@metadata.supportedFields, there will be 404 > error. > > I am confused, could you please help me out? > > > Thanks, > > Kevin Zhang (凯峰) > Gtalk: [email protected] > Blog: http://www.zhangkf.com > Twitter: http://twitter.com/zhangkf > -- Paul Lindner -- [email protected] -- linkedin.com/in/plindner
