跳至主要内容

博文

目前显示的是 八月, 2009的博文

NetBeans Struts2 plugin updates

NetBeans Struts 2 plugin updates

NetBeans Struts 2 plugin (http://nbstruts2support.dev.java.net)is not updated for a long time. I checkout the source code and made some modification to the latest NetBeans IDE 6.7.
1.Update Struts library to the latest stable version 2.1.6
2.Update to the latest web framework API。
3.Redesigned configuration panel and provide more flexible configuration options
4.Other modification to Struts 2.1.

Download here :https://dl.getdropbox.com/u/201666/nbstruts2.tar.bz2

Struts 2.1 provides next generation Filter to process request , and also provides a new optional Servlet .


If you like choose Struts Servlet to process request , you can check "Servlet"  radio box in the "Reuqest processed by" section in the "Main" tab.

This will generate some code like the following.



   <servlet>
        <servlet-name>struts2servlet</servlet-name>
        <servlet-class>org.apache.struts2.dispatcher.ng.servlet.StrutsServlet</ser…

Another NetBeans plugin updated - RichFaces

This a small personal update for  RichFaces plugin for NetBeans (http://nbrichfacessupport.dev.java.net) .
Modification includes:
1. Update richfaces to 3.3.1.GA.
2. Add skin selector to the configuration panel.


Then it will generate the following code in web.xml .




    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.SKIN</param-name>
        <param-value>japanCherry</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.CONTROL_SKINNING</param-name>
        <param-value>enable</param-value>
    </context-param>



download here :RichFaces

I updated two NetBeans plugins

The first one is the Wicket 1.4 support for NetBeans (http://nbwicketsupport.dev.java.net).
I checked out nbwicketsupport (http://nbwicketsupport.dev.java.net) of
branch nb_67.

And made a slight modification on it for the Wicket 1.4 release version.

1. update wicket libaray to 1.4 release .

2. make wicket framework detect works.

3. update example (Login, Pizaa) application (Using filter instead of
servlet, remove jasypt lib dependency )




Some problem I encountered.

1. In a maven web project , add Wicket support causes NetBeans dead.
Kill and restart NetBeans, I found it configured correctly.

2. I tried to add some code to disable Wicket configuration and display
the configured information on the Framework panel ( in the Project
properties) after adding it to the Web project( Struts support use this
style). But I do not how to get the "HomePage" from project ( code about
it is commented).


The second is the Stripes plugin (http://code.google.com/p/stripes4netbeans/). Small modification includ…