1. #1
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    183
    Vote Rating
    52
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      1  

    Default Ext JS 4 CRUD MVC + Spring MVC 3 + Hibernate 3.5 (Java) example

    Ext JS 4 CRUD MVC + Spring MVC 3 + Hibernate 3.5 (Java) example


    Hi,

    I presented a demo about Ext JS 4 and Java at BrazilJS, a Brazilian Javascript Conference (the biggest JS conference in the world, so far! )

    Following is the source code I did a demo at the conference:

    https://github.com/loiane/ext4-crud-mvc
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    Fuco is on a distinguished road

      0  

    Question Multi row update

    Multi row update


    Hi,

    May I ask your favor?

    I had download your demo code and it's so great and helpful, but when i try to do multi-row update (using Ext.grid.plugin.CellEditing) but not working. Any Idea ?

    --------------------------
    org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of br.com.braziljs.loiane.model.Contact out of START_ARRAY token
    at [Source: org.apache.catalina.connector.CoyoteInputStream@9ef54; line: 1, column: 2]
    org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:159)
    org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:131)
    org.codehaus.jackson.map.deser.BeanDeserializer.deserializeUsingCreator(BeanDeserializer.java:397)
    org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:296)
    org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:116)
    org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:202)
    .......

    Thanks a lot.

    Fuco.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    rahulsonawane is on a distinguished road

      0  

    Default Problem with demo application

    Problem with demo application


    I had download your demo code and try to run but it not working.

    org.springframework.web.servlet.DispatcherServlet noHandlerFound
    WARNING: No mapping found for HTTP request with URI [/ext4-crud-mvc/contact/view.action] in DispatcherServlet with name 'ext4-crud-mvc'


    Thanks
    Rahul

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Warsaw, Poland
    Posts
    38
    Vote Rating
    1
    sasklacz is on a distinguished road

      0  

    Default .

    .


    Any ideas how to return json with data where the fields are not lowercase ? Right now I'm getting my all my model properties written with lowercase which is a no go for me :/

    Sample :

    Code:
    {"data":[{"name":"Tom","id":8},{"name":"Mike","id":9},{"name":"Jerry","id":10},{"name":"Larry","id":11},{"name":"Tina","id":12},{"name":"Tony","id":15}],"success":true}
    Using ExtGantt / ExtScheduler from Bryntum ? I can help you integrate and implement it.

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Location
    Warsaw, Poland
    Posts
    38
    Vote Rating
    1
    sasklacz is on a distinguished road

      0  

    Default found it

    found it


    In your java model you need to add another import :

    import org.codehaus.jackson.annotate.JsonProperty;

    and modify the getters :

    Code:
        @JsonProperty(value="Name")
        public String getName() {
            return name;
        }
    Using ExtGantt / ExtScheduler from Bryntum ? I can help you integrate and implement it.

  6. #6
    Sencha User
    Join Date
    Jun 2014
    Posts
    1
    Vote Rating
    0
    adarsh0d is on a distinguished road

      0  

    Default remote Exception

    remote Exception


    I downloaded and tried this example, but got remote exception popup.
    I also debug my java code and records are fetching, don't know what's happening please help

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi