Wicket Tag Navigator

The Wicket suite for NetBeans IDE 6.0, discussed yesterday, contains (the start of) a Wicket tag navigator, as shown below:

Right now, nothing happens when you click a tag in the navigator. However, ultimately, the related HTML document will open and the cursor will land on the selected Wicket tag. From there, you can hold down the Ctrl key, move the mouse over the tag in the editor, and then the tag becomes a hyperlink, which you can click to open the corresponding Java document.

Comments:

Does this work correctly when two tags have the same name, but are nested?

For example:

<a href="#" wicket:id="foo"><span wicket:id="foo"></span></a>

add(new Link("foo"){public void onClick() {}}.add(new Label("foo", "Foo"));

Posted by Martijn Dashorst on August 16, 2007 at 07:50 PM PDT #

Click here for the answer, Martijn: http://blogs.sun.com/geertjan/resource/nested-tags.png

Posted by Geertjan on August 16, 2007 at 08:35 PM PDT #

Nice... keep up the good work!

Posted by Martijn Dashorst on August 28, 2007 at 08:29 AM PDT #

Please Geertjan where can I download this module or a demo to test with my NB6

Posted by dabar on September 05, 2007 at 11:31 PM PDT #

http://nbwicketsupport.dev.java.net

Posted by Geertjan on September 05, 2007 at 11:54 PM PDT #

Plugin WicketSupport cannot match its dependencies:
module javax.jmi.reflect/1 > 1.7.1 module org.netbeans.api.mdr/1 > 1.4.1 module org.netbeans.jmi.javamodel/2 > 1.21.1 module org.netbeans.modules.editor.hints/1 = 1 module org.netbeans.modules.java/1 > 1.25.1.2.2.2 module org.netbeans.modules.javacore/1 > 1.18.1.2.2 module org.netbeans.modules.jmiutils/1 = 2 module org.netbeans.modules.refactoring/1 = 3

my current NB6 build is NetBeans IDE Dev (Build 200709070000)

Posted by dabar on September 07, 2007 at 06:12 PM PDT #

For 6.0, I think you need to check out a branch, not the trunk.

Posted by Geertjan on September 07, 2007 at 06:19 PM PDT #

Dabar, read here for details: http://blogs.sun.com/geertjan/entry/when_boudreau_met_wicket

Posted by Geertjan on September 07, 2007 at 07:13 PM PDT #

After i build the wicketsupport in the NetBeans 6.0 beta 2, i got the org-netbeans-modules-web-wicket.nbm file. so i want to install this moudle on my platform occured the following error:
Missing required modules for Plugin WicketSupport:
module org.netbeans.jmi.javamodel/2 > 1.21.1
can you give me solution? thanks lot.

Posted by tyrone on October 31, 2007 at 07:57 PM PDT #

Get it here and you'll have no problems:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3586

Posted by Geertjan on October 31, 2007 at 08:20 PM PDT #

thanks Geertjan, i got it.

Posted by tyrone on November 04, 2007 at 10:30 AM PST #

Gud Eve sir, how r u?

I have a wicket 1.3.3 support nbm file and i try to add in netbeans 6.1 but i get some error msgs which i pasted below. plz guide me sir. I have gone thru ur blog but i got only wicket 1.4 support nbms. but i am developing application using wicket 1.3.3. U said in ur blog that netbeans 6.7 only supports the wicket 1.4 nbm. help me sir.thank u.
------------------------
Plugin WicketSupport cannot match its dependencies:
module javax.jmi.reflect/1 > 1.7.1 module org.netbeans.api.mdr/1 > 1.4.1 module org.netbeans.jmi.javamodel/2 > 1.21.1 module org.netbeans.modules.editor.hints/1 = 1 module org.netbeans.modules.java/1 > 1.25.1.2.2.2 module org.netbeans.modules.javacore/1 > 1.18.1.2.2 module org.netbeans.modules.jmiutils/1 = 2 module org.netbeans.modules.refactoring/1 = 3
--------------------------

Posted by selvarani on October 14, 2009 at 07:19 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today