Posts Tagged ‘Spring MVC’

Page 1 of 212

Tutorial: Linked/Cascading ExtJS Combo Boxes using Spring MVC 3 and Hibernate 3.5

Tutorial: Linked/Cascading ExtJS Combo Boxes using Spring MVC 3 and Hibernate 3.5

This post will walk you through how to implement ExtJS linked/cascading/nested combo boxes using Spring MVC 3 and Hibernate 3.5

I am going to use the classic linked combo boxes: state and cities. In this example, I am going to use States and Cities from Brazil!

What is our main goal? When…

AKPC_IDS += "367,";

How to Serialize Java.util.Date with Jackson JSON Processor / Spring 3.0

How to Serialize Java.util.Date with Jackson JSON Processor / Spring 3.0

Quick tip: how to serialize a java.util.Date object with Jackson JSON Processor – Sprinv MVC 3.

Scenario:

I have the following Java Bean:

package com.loiane.model;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonAutoDetect;

@JsonAutoDetect @Entity public class Company {

private int id; private double price; private String company; private Date date; private String size; private byte visible; }

And I have the following method in my controller:

public…

AKPC_IDS += "505,";
Tagged with:           

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

This tutorial will walk through how to implement a CRUD (Create, Read, Update, Delete) DataGrid using ExtJS, Spring MVC 3 and Hibernate 3.5.

What do we usually want to do with data?

Create (Insert) Read / Retrieve (Select) Update (Update) Delete… AKPC_IDS += "494,";

How to Populate Ext JS ComboBox using Spring Controller

How to Populate Ext JS ComboBox using Spring Controller

This tutorial will walk through how to populate an ExtJS ComboBox using a Spring Controller.

To populate ExtJS ComboBox using Spring Controller, you need create an Ajax request using Ext.data.HttpProxy and as response you can return JSON Objects (or an XML – in this example, I will use JSON). And using a JsonReader, you can read values and popolate ComboBox. It is the same logic used to populate an ExtJS…

AKPC_IDS += "393,";

Populating an ExtJS DataGrid + RowExpander using Spring MVC 3

Populating an ExtJS DataGrid + RowExpander using Spring MVC 3

This tutorial will walk through how to implement an ExtJS DataGrid with RowExpander plugin using Spring MVC Framework version 3 in the server side.

Sometimes you need to show more information than fits within the grid, as an expansion of the record/row. ExtJS DataGrid component provides a plugin called RowExpander, which does exactly what its name…

AKPC_IDS += "375,";
Page 1 of 212