Hi,
I have another concern regarding GWT.
*Questions:-*
*) Is it possible to use both GWT-UI Binder and normal HTML files. For Ex:
[So far we have been using GWT UI-Binder. Since we are facing some
difficulties. We have planned to use normal HTML files only for our
fore-coming features.].
*) Is it possible to Bundle Normal HTML files with the GWT UI-Binder class
files ?.
*) Dynamic Pages can be accessed, in case if we use normal HTML files
instead GWT UI-Binder?.
Awaiting for your valuable suggestions.*
Advance Thanks,*
On Sunday, September 30, 2012 1:48:48 PM UTC+5:30, Manuel Carrasco wrote:
>
>
>
> On Sun, Sep 30, 2012 at 9:45 AM, sampath88 <[email protected]<javascript:>
> > wrote:
>
>>
>> Hi,
>> We started using GWT from few months ago. We are about to use normal
>> HTML files, instead of using GWT-HTML. I have few concerns regarding this.
>>
>>
>> *My Questions:-*
>>
>> *If we use normal HTML instead of GWT HTML.*
>>
>> *) Is it possible to Compile both Class-files and HTML files using GWT?
>>
>
> You can host your script (gwt generated js) in any html file (static html,
> dynamic .jsp, etc) and you can interact with the elements of this html,
> wrapping html elements in widgets, accessing the elements with gwt DOM
> methods, or using css selectors with gwt-query:
> https://code.google.com/p/gwtquery/
>
> If you want html stuff inside gwt scripts, you have to use UIBinder:
> https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder
>
>
>>
>>
>> *) Is it possible to maintain session and cookie in GWT. For Ex[In Browse
>> without logging out our session. If we close the browser and if we re-open
>> it. Our session will opened because it will maintain session and cookies.
>> Similarly, Is it possible using normal HTML in GWT ]
>>
>
> Yes, cookies is something related with your html page location so gwt
> scripts in those html pages should maintain the cookies.
> A different thing is how to restore the gwt las status, I mean if in this
> page gwt has rendered some thing because of an iteration with user you
> have to know somewhere that status (cookies, localstorage, url hash, etc)
>
>
>>
>>
>> *) Is it possible to redirect from HTML to GWT and vice-verse?
>>
>
> No idea what you are asking, but basically a gwt app is a javascript
> inside an html, and redirections are perform through html, so when you
> change to other html, your app is unloaded from memory and you have to load
> it in the new html.
>
>
>>
>>
>>
>> Please provide your precious suggestion.
>>
>> Thanks,
>>
>> --
>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/XO6EFcqmFfgJ.
To post to this group, send email to [email protected].
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.