Thanks for your reply.
I'm still struggling over this, allthough I'm not sure your techique
would be helpfull to me.
In order to do the equilivent, I'll probably have to be calling to
Facebooks API, which involves importing it on my php pages, or calling
a php on every single page just to test on the offchance the code is
in an iFrame.
I think I know enough to do this myself, but I'd rather avoid it as it
will slow the app down for people not using it in facebook
unnesscerly.

Thats why I hoped there was a way for GWT to just check, say, a style
from the parent page.
Or maybe even pick up a varible from it, as then the sever wouldnt be
involved at all.

Thanks for your suggestion though, I'll keep it in mind if nothing else.

Cheero,
Thomas


2008/10/15 Amit Dhingra <[EMAIL PROTECTED]>:
> hi darkflame,
> I recently used my GWT widget inside an iframe in an joomla article, which
> required me to access the current user information, for which I make a few
> calls to php files, which accessed the jfactory to get user information and
> the same was returned to the GWT widget. If you want more information on
> this, I can help you over it.
>
> Thanks & Regards,
> Amit
>
> On Wed, Oct 15, 2008 at 1:48 PM, darkflame <[EMAIL PROTECTED]> wrote:
>>
>> I'm looking for a way for my app to "know" when its in an iFrame,
>> specifically for adaption for use with Facebook.
>>
>> I can alter the host frame's page to contain what I like (php/html),
>> and would like to pass just one string varible to the gwt app in the
>> frame.
>> However, I cant use history-style links "?=" etc, because the app is
>> many pages, and it would only pass the variable on the first load, not
>> once the user starts clicking about within it. (Aside from that, I
>> make extensive use of History tokens anyway, so it would get messy).
>>
>> So I wondered if its possible for GWT to "look upward" and retrieve
>> some sort of flag from its parent?
>> Can I get the parent of Root? Or navigate the dom up the tree?
>>
>> I vaguely think it should be possible, but I'm not quite sure on the
>> specifics.
>>
>> Any help/pointers would be nice, chears :)
>>
>
>
>
> --
> Warm Regards,
> Amit Dhingra
>
> >
>



-- 
~~~~~~
Reviews of anything, by anyone;
www.rateoholic.co.uk
Please try out my new site and give feedback :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to