-
18 Jul 2011 4:29 AM #1
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-mvcSencha/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
-
12 Oct 2011 1:19 AM #2
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.
-
16 Oct 2012 1:16 AM #3
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
-
12 Dec 2012 5:36 PM #4
.
.
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.
-
13 Dec 2012 1:47 AM #5
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.


Reply With Quote