Ext4j/Touch4j already has the ability to extends/wrap existing existing Ext
JS /Sencha Touch apps with ease.


"My company owns a product that is written with GWT and wants to integrate
in
it another external app which is written with ExtJs4.2.1 and we need a
wrapper in order to be able to extend or change the behavior of external app
based on our needs."

On 17 March 2016 at 16:17, Thomas Broyer <[email protected]> wrote:

> Because Brandon works for Sencha? :-P
>
>
> On Thursday, March 17, 2016 at 3:10:34 PM UTC+1, Alain wrote:
>>
>> Which brings me back to the question of why not help improving ext4j
>> instead of having tons of micro solutions ?
>> On 17 Mar 2016 14:50, "Brandon Donnelson" <[email protected]>
>> wrote:
>>
>>> ateletin, I've been working using jsinterop with extjs 6+, if you have
>>> some questions ping me and I can help with that. There are two ways to
>>> configure it, first is using ext.define. The other is using the ext class
>>> and instantiate it with a config object. Ext.define is far more documented
>>> than instantiating the classes, so it's easier. I've got a generator for
>>> generating all the class types, but it's not finished yet.
>>>
>>> Thanks,
>>> Brandon
>>>
>>> On Thursday, March 17, 2016 at 1:44:47 AM UTC-7, ateletin wrote:
>>>>
>>>> Maybe I wasn't clear enough. What I want to do is to wrap the following
>>>> javascript into a java object like.
>>>>
>>>> Ext.define('com.acme.client.Person', {
>>>>          firstName : 'Kimi',
>>>>          lastName : 'Raikkonen',
>>>>
>>>>         fullName : function() {
>>>>                 return firstName + " " + lastName;
>>>>         }
>>>> });
>>>>
>>>> into
>>>>
>>>> package com.acme.client;
>>>> @JsType(isNative = true)
>>>> public class Person {
>>>>         public String firstName;
>>>>         public String lastName;
>>>>
>>>>         public native String fullName();
>>>> }
>>>>
>>>> So by calling java fullName() to return the result of javascript
>>>> fullName(),
>>>> or when I call java firstName to return "Kimi".
>>>> Can ExtJs Wrapper API help me with this? If so, can you give me a
>>>> direction?
>>>> And yes, we don't plan to wrap the ExtJs library.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://google-web-toolkit.2317884.n4.nabble.com/JsInterop-and-Sencha-Ext-js-framework-tp15385p15403.html
>>>> Sent from the Google Web Toolkit mailing list archive at Nabble.com.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "GWT Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected]
>>> .
>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/ <http://ahome-it.com/>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to