facebook

New jspx document type in wizard

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

    erayl
    Member

    I know I can find the templates in: <MyEclipse>\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\Templates
    but how do I add a new JSPX template to this directory and have it show up my JSP file choices?

    Ed

    #220546 Reply

    Riyad Kalla
    Member

    Ed,
    Have a look at the templates.properties file in that same directory, the format is explained at the top of the file.

    #220548 Reply

    erayl
    Member

    If I add:

    jsp.template.6=Templates/JspX.jspx
    jsp.template.6.label=JSPX

    then it shows up as a choice as a JSP file, but the file generated by MyEclipse has a .jsp extension, not a .jspx extension. I get subsequent editor errors and of course it would not work in Tomcat either without manually changing the extension.

    If I do this:

    # JSPX Templates
    jspx.template.1=Templates/JspX.jspx
    jspx.template.1.label=JSPX

    it does not show up at all. Do you have any solutions for this?

    #220553 Reply

    Scott Anderson
    Participant

    This is really way outside what is supported in the product. However, if you’re intent on attempting this modification the documentation you need is in the docs subdirectory in the plugin you’re modifying.

    Please note that any modification will be overwritten when you install a new version of MyEclipse.

    #220554 Reply

    erayl
    Member

    Could you add an enhancement request for full support for JSPX, TAGX, EL function support. I would be happy to provide an example of each of these for testing purposes if you request.

    #220558 Reply

    erayl
    Member

    Never mind my last message, I just did this in the enhancments forum.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: New jspx document type in wizard

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