[ 
https://issues.apache.org/jira/browse/SHINDIG-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lindner closed SHINDIG-1484.
---------------------------------


part of 2.5.0-beta1 release.

                
> Its not easy to set the severBase_ variable when extending 
> shindig.BaseIfrGadget
> --------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1484
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1484
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>            Reporter: Ryan Baxter
>            Priority: Minor
>             Fix For: 2.5.0-beta1
>
>         Attachments: fix-1484-bug.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Current code:
> shindig.BaseIfrGadget = function(opt_params) {
>   shindig.Gadget.call(this, opt_params);
>   this.serverBase_ = '/gadgets/'; // default gadget server
>   this.queryIfrGadgetType_();
> };
> When you extend shindig.BaseIfrGadget in your own container the above code 
> makes it difficult to override serverBase_.  You cannot set it in the 
> constructor of the extended class because queryIfrGadgetType_ uses 
> serverBase_.  You can't set it in the opt_params because it will bet set 
> immediately after calling shindig.Gadget.call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to