I want to use the jsp wrapper for KendoUI with NetBeans.
In my controller I added the example code for ComboBox:
@RequestMapping(value = {"/", "/index"}, method = RequestMethod.GET)
public String index(Model model) {
model.addAttribute("fabrics", new DropDownListItem[] {
new DropDownListItem("Cotton", "1"),
new DropDownListItem("Polyester", "2"),
new DropDownListItem("Cotton/Polyester", "3"),
new DropDownListItem("Rib Knit", "4")
});
model.addAttribute("sizes", new String[] {
"X-Small",
"Small",
"Medium",
"Large",
"X-Large",
"2X-Large"
});
return "web/combobox/index";
}
I do an import:
import com.kendoui.spring.models.DropDownListItem;
But NetBeans says: package import com.kendoui.spring.models does not exist. I added the dependency for kendo-taglib-2013.1.319.jar to pom.xml by using the "Manually install artifact" feature of NetBeans. When using KendoUI on html side everything works fine.
The requirements found on http://docs.kendoui.com/getting-started/using-kendo-with/jsp/introduction say that "Eclipse Juno for Enterprise Developers (J2EE support)" is required.
Have you guys ever successfully used KendoUI with NetBeans? When yes, what are the steps to proceed?