For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 6 voices, and was last updated 20 years, 11 months ago by
bseufert.
-
AuthorPosts
-
bhasinnMemberI 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.
August 29, 2005 at 9:44 am #235893
Riyad KallaMemberWe don’t currently support custom taglibs in the palette but this is an enhancement we are evaluating for a future release.
September 2, 2005 at 12:43 pm #236518
bseufertMemberBIG Vote for custom taglibs! Struts/JSF just don’t cut it!
September 2, 2005 at 6:42 pm #236533
Scott AndersonParticipantThe 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.
September 6, 2005 at 5:02 am #236641
mateMemberSo 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?
September 6, 2005 at 10:23 am #236704
Scott AndersonParticipantSo 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.
September 7, 2005 at 9:00 am #236784
mateMember@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?
September 7, 2005 at 9:40 am #236790
mateMember@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…
September 8, 2005 at 12:54 pm #236941
GregMemberSupporting include files and custom tags are 2 features that are planned for future releases of the Visual Web Designer.
September 8, 2005 at 4:39 pm #236952
bseufertMemberAn 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.
-
AuthorPosts
