facebook

Eclipse/XDoclet/Struts code completion question

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    I plan on generating struts configuration files through the use
    of XDoclet. I have the generation part working correctly.
    What I am missing is the ability to <ctr>space my way through
    the tag definitions. Currently, I only see

    @struts.dynaform-field
    @struts.dynaform

    as options. I would really like to have the full set including

    @struts.form
    @struts.validator
    @struts.validator-args

    I tried downloading xdoclet-pugins-1.0.3.tar.gz from sourceforge but am
    having no luck installing those plugins. Copying the jars to the
    eclipse\plugins directory has no effect. Even running eclipse -clean
    does not make any difference.

    I am using Struts 1.2.7, Eclipse 3.1.0, MyEclipse 4.1.1 on Windows XP.
    Any clues/hints would be appreciated.

    #254103

    Riyad Kalla
    Member

    The code completion for XDoclet tags is context-sensative, are you using the @struts.form tags on valid items as described in the tag description?
    http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html#@struts_form__0____

    #254136

    Riyad Kalla
    Member

    enolan,
    I just got back a reply from our developer that works on the XDoclet support and it looks like the autocomplete support for the XDoclet tags you are referring to are being incorrectly filtered out of valid use case scenarios (which is why you aren’t seeing them). The workaround for the time being is to go ahead and manually type in the XDoclet tags, when you run the XDoclet generation step, it will correctly generate the struts-config file properly, it’s just the autocomplete that isn’t showing the correct values for now.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Eclipse/XDoclet/Struts code completion question

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