Struts support for DWR Plugin

I've finally gotten around to adding struts support to the DWR plugin I'm working on. Here are some ways you can work with DWR and Struts in NetBeans
  1. Create a web application; add struts and DWR framework, or
  2. Open an existing Struts project and add DWR by right clicking on the project node, or
  3. Or just go to File -> New File -> Other and add a dwr.xml to your Struts project
Once you have added some formbean to struts-config.xml file, you can now expose these formbeans as DWR objects using one of the following ways
Right click on struts-config.xml  file and select the item shown
You can also right click on in the editor when you are editing struts-config.xml
Finally, if you prefer left click to right, then click on the button shown

A dialog box will popup where you can select which formbean to export and also to change the JavaScript name

The source are available for ajax.dev.java.net CVS repository. The prebuild NBM for this version is available here.

The next feature will probably be and editor to enter 'signature'.

Comments:

Post a Comment:
Comments are closed for this entry.
About

Random thought at random intervals

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today