facebook

XDoclet + Struts 1.3 problem

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #268254 Reply

    takaman
    Member

    Hello,

    I’m having a problem to generate the struts-config.xml using the myeclipse-xdoclet tool.
    My action classes have a “cancellable=true” attribute but the xdoclet just ignores it generating all action mappings without this attribute.

    Anybody know how to fixe it?

    Thanks

    #268312 Reply

    Riyad Kalla
    Member

    I don’t see a cancellable property to the @action tag here:
    http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html#@struts_action__0____

    What are you referring to?

    #275086 Reply

    erjablow
    Member

    In the struts-config.xml file, needs to insert this line into the action-mapping declaration:

    
        <set-property property="cancellable" value="true"/>
    

    This would translate to the XDoclet declaration

    
        @action-set-property property= "cancellable" value="true"
    

    Would it be possible to add a ‘cancellable’ checkbox to the Action Mapping wizard?

    #275087 Reply

    erjablow
    Member

    I meant

    
    @struts.action-set-property property= "cancellable" value="true"
    

    of course.

    #275095 Reply

    Riyad Kalla
    Member

    Eric,
    I can file it and see if management will look into it, but given the defunct state of XDoclet for 3 or so years now I don’t know that they will want to invest anymore money into development for it.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: XDoclet + Struts 1.3 problem

You must be logged in to post in the forum log in