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
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
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.
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
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}
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;
}