You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "sun qiao yun (JIRA)" <ji...@apache.org> on 2012/05/09 04:05:51 UTC

[jira] [Updated] (SHINDIG-1763) Container lang and country setting don't take effect

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

sun qiao yun updated SHINDIG-1763:
----------------------------------

    Attachment: langCountry.patch
    
> Container lang and country setting don't take effect
> ----------------------------------------------------
>
>                 Key: SHINDIG-1763
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1763
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 2.5.0, 3.0.0
>            Reporter: sun qiao yun
>            Priority: Minor
>         Attachments: langCountry.patch, lang_country.patch
>
>
> If we don't set this property in shindig.properties: shindig.urlgen.use-templates-default=false, the lang and country info will not pass to the ifr url, so the lang and country are ignored.
> For example: the ifr is like :
> http://localhost:8080/shindig/gadgets/ifr?url=http%3A%2F%2Flocalhost%3A8080%2Fshindig%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&container=default&view=default&lang=%25lang%25&country=%25country%25&debug=1&nocache=1&sanitize=%25sanitize%25&v=0a811629d8d99f87d3544b65058211fe&st=john.doe%3Ajohn.doe%3Ahttp%253A%252F%252Flocalhost%253A8080%252Fshindig%252Fsamplecontainer%252Fexamples%252FSocialHelloWorld.xml%3Acont%3Ahttp%253A%252F%252Flocalhost%253A8080%252Fshindig%252Fsamplecontainer%252Fexamples%252FSocialHelloWorld.xml%3A0%3Adefault%3A1335423393&testmode=0&parent=http%3A%2F%2Flocalhost%3A8080&mid=0
> They should be substituted by the browser's setting in client side. 

--
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