OS Templates doesn´t support conditional requests yet.

On 16 jun, 16:35, Bruno Souza <241...@gmail.com> wrote:
> A quick question about OS templates.
>
> I need to make a request (os:httpRequest) if some expected data has
> not been returned by another request (os:httpRequest or
> os:PersonAppDataRequest).
>
> I can do that with OS templates?
>
> I´d tried the code below but don´t worked.
>
> <script type="text/os-data" ... >
>          <os:HttpRequest key="dadosTime" href="full_url_to.json" />
> </script>
> <script if="${osx:parseJson(dadosTime)['status'] != 200}" type="text/
> os-data" ... >
>          <os:HttpRequest key="letras" href="http://letras.mus.br/"; />
> </script>
>
> Tks =)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to