Re: How to set title of an iframe generated by GWT

2013-05-30 Thread David
Maybe he is not aware, that the IFrame he mentioned does not display any
GUI, it just contains the javascript sources. The UI is not rendered in
that IFrame but in the main window instead.

David

On Thu, May 30, 2013 at 1:37 PM, Thomas Broyer  wrote:

>
>
> On Thursday, May 30, 2013 1:08:09 PM UTC+2, Arindam Das wrote:
>>
>> Hi GWT compiles and put things inside an iframe. But if I want to set
>> title of that iframe how to do that?
>> The reason behind this is accessibility standard **which demands a
>> meaning title of an iframe.
>>
>
> I must say I don't understand why you need it ("accessibility standard
> which demands a meaning title of an iframe" == bullshit), but if you really
> need it, and assuming you mean a  element in the doc loaded in the
> iframe, you can either:
>
>- use the XSLinker () which installs the code
>in the main window rather than an iframe.
>- make your own linker copying the IframeLinker and replacing the
>"module prefix" with one including a 
>- make your own linker extending CrossSiteIframeLinker and replacing
>the "install location" script with a copy of
>com/google/gwt/core/ext/linker/impl/installLocationIframe.js that includes
>a , or use
>com/google/gwt/core/Ext/linker/impl/installLocationMainWindow.js which
>doesn't use an iframe.
>
> If you were rather talking about a title="" attribute on the iframes, then
> it's almost the same, except you'll have to change the IframeTemplate.js
> file in the case of the IframeLinker.
>
> I didn't personally tested any of the above though.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to set title of an iframe generated by GWT

2013-05-30 Thread Thomas Broyer


On Thursday, May 30, 2013 1:08:09 PM UTC+2, Arindam Das wrote:
>
> Hi GWT compiles and put things inside an iframe. But if I want to set 
> title of that iframe how to do that?
> The reason behind this is accessibility standard which demands a meaning 
> title of an iframe.
>

I must say I don't understand why you need it ("accessibility standard 
which demands a meaning title of an iframe" == bullshit), but if you really 
need it, and assuming you mean a  element in the doc loaded in the 
iframe, you can either:

   - use the XSLinker () which installs the code in 
   the main window rather than an iframe.
   - make your own linker copying the IframeLinker and replacing the 
   "module prefix" with one including a 
   - make your own linker extending CrossSiteIframeLinker and replacing the 
   "install location" script with a copy of 
   com/google/gwt/core/ext/linker/impl/installLocationIframe.js that includes 
   a , or use 
   com/google/gwt/core/Ext/linker/impl/installLocationMainWindow.js which 
   doesn't use an iframe.

If you were rather talking about a title="" attribute on the iframes, then 
it's almost the same, except you'll have to change the IframeTemplate.js 
file in the case of the IframeLinker.

I didn't personally tested any of the above though.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.