facebook

custom tags

💡
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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #235843 Reply

    bhasinn
    Member

    I plan to move to eclipse platform.[ currently we are JBuilder shop]. We recently purchased some custom UI controls from common-controls.com. I want to use these controls with struts.
    On the jsp page , in design mode, tha pallete shows standard list of tags [ struts and jstl]. How can I add any other tags on this design pallete. The tld’s are copied in the WEB-INF and the jar file is WEB-INF\lib. This jar file is included in the project libraries too.

    Please help.

    #235893

    Riyad Kalla
    Member

    We don’t currently support custom taglibs in the palette but this is an enhancement we are evaluating for a future release.

    #236518

    bseufert
    Member

    BIG Vote for custom taglibs! Struts/JSF just don’t cut it!

    #236533

    Scott Anderson
    Participant

    The problem with rendering custom tags, is that they’re “custom” so it’s difficult to know what they look like when run. 🙂

    However, if you really want custom tag source to be easy to add, you can set commonly used pieces as custom entries in the Snippets view. Then when you want to add one, just drag it into the source pane of the editor. Any unrecognized tags will simply be outlined in the design view at the present time to show you they’re there.

    #236641

    mate
    Member

    So WYSIWYG for custom tags didn’t make it into the 4.0 final after allt? (See https://www.genuitec.com/forums/topic/wysiwyg-for-custom-tags/ )
    Too bad. I was hoping to check it out later today (and then convince my boss to switch to MyEclipse).

    About HOW to render custom tags, there need probably be some custom tag “renderer” class, that could produce HTML code for the preview (given the attributes).

    bhasinn, does JBuilder have support for this nowadays?

    #236704

    Scott Anderson
    Participant

    So WYSIWYG for custom tags didn’t make it into the 4.0 final after allt?

    I reread my response to the referenced post and realized I was answering the question of “when will the WYSIWYG JSP designer be available” not “when will custom tag support in the WYSIWYG JSP designer be available”. Sorry for the confusion. The goal for 4.0 was to deliver the designer with full support for HTML / Struts / JSF tags in the designer and look at custom tags in a subsequent release.

    #236784

    mate
    Member

    @support-scott wrote:

    The goal for 4.0 was to deliver the designer with full support for HTML / Struts / JSF tags in the designer and look at custom tags in a subsequent release.

    I had a look at MyEclipse 4 anyway, and the Struts/JSF support seems really nice. I’d love that for custom tags!

    Since MyEclipse use EclipseHTMLEditor for the Preview, it should be possible to implement your own ICustomTagConverterContributer and ICustomTagConverter that create the HTML, and register (the JAR and) them under the com.genuitec.eclipse.webdesigner.customTagConverter extension in plugin.xml. I was unable to get this to work. Seems that the FuzzyXMLParser is having trouble with our JSP pages. (Might dig into that more later).

    For the Design view, it seems to me you should be able to create .htc files corresponding to your tags, and simply place them in the right directory. Though I know too little about DHTML behaviours to get something going. Anybody else tried this???

    Anyway, I never found the time to investigate any other IDEs either, so MyEclipse still has a chance. Do you dare take a guess when WYSIWYG for custom tags will be (officially) supported?

    #236790

    mate
    Member

    @I wrote:

    Since MyEclipse use EclipseHTMLEditor for the Preview, it should be possible to implement your own ICustomTagConverterContributer and ICustomTagConverter that create the HTML, and register (the JAR and) them under the com.genuitec.eclipse.webdesigner.customTagConverter extension in plugin.xml. I was unable to get this to work. Seems that the FuzzyXMLParser is having trouble with our JSP pages. (Might dig into that more later).

    Aha. Neither Design nor Preview mode supports the include directive, i.e. <%@ include file=”file.jsp” %>

    That’s not good. We have very few pages without include directive…

    #236941

    Greg
    Member

    Supporting include files and custom tags are 2 features that are planned for future releases of the Visual Web Designer.

    #236952

    bseufert
    Member

    An example of neat way I’ve seen custom tags delt with is the open source SOFIA environment(http://sourceforge.net/projects/salmon/) uses a plugin to Dreamweaver. SOFIA integrates eclipse and dreamweaver such that once tomcat is started in eclipse, a refresh in the dreamweaver design view employs the plugin to get tomcat to render a default picture of the jsp.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: custom tags

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