This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194002 - Wicket support
Summary: Wicket support
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 06:52 UTC by pekarna
Modified: 2014-10-06 13:25 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2011-01-04 06:52:15 UTC
Wicket is a great web framework.

There are some unofficial efforts, like http://blogs.sun.com/geertjan/entry/wicket_support_in_netbeans_ide , but, citing, "...it didn't work with 6.9.1.".

Is there a chance to have official Wicket support in NetBeans?

Since wicket is heavily Java-code-oriented, only few features are really needed:

http://ondra.zizka.cz/stranky/programovani/java/web/wicket/netbeans-wicket-support-wishlist.texy

    * One-step creation of html + java files
    * Validation in HTML files aware of wicket: namespace
    * Check consistency of HTML vs. Java files
    * Check consistency of property strings – e.g. new PropertyModel<String>(this, "path")

Thanks for considering.
Comment 1 Vince Kraemer 2011-01-04 14:48:41 UTC
and rfe should be filed as an enhancement... not a defect.
Comment 2 pekarna 2011-01-05 01:50:58 UTC
Found Geertjan's plugin:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp;jsessionid=3c9bc76c4868f042b056450faf8e?pluginid=3586

Now just to make it supported to keep it working with releases :)
Comment 3 Marek Fukala 2011-01-05 10:14:55 UTC
Geertjan, any plans with the wicket plugin?
Comment 4 Geertjan Wielenga 2011-01-05 10:16:14 UTC
Sure, you can get the latest branch from the repo and check it into contrib. I think pjiricka was working on this a while ago.
Comment 5 Marek Fukala 2011-01-05 10:30:49 UTC
I ment whether you have some plan with the plugin yourself. The page claims it is aimed for 6.9.1 but I reckon this is wrong, isn't it?
Comment 6 Geertjan Wielenga 2011-01-05 10:33:41 UTC
No, it's not wrong. Have a look at the comments, and read the texts, you'll see its for 6.9.1., it even has Maven support.
Comment 7 Marek Fukala 2011-01-05 12:35:45 UTC
I see. I misunderstood the pekarna's citation in the very first comment. 

Lets keep the RFE as P2, we'll see what can be done in 7.0.next. 

I do not see any *wicket* module in contrib. pjiricka, is there any result of the work Geertjan mentioned?
Comment 8 pekarna 2011-01-05 18:22:41 UTC
Confirming it works well with 6.9.1; I cited an old comment. Sorry for confusion.
Comment 9 pekarna 2011-05-08 01:06:27 UTC
Adding to the wishlist:

 * Component ID's completion - would list IDs from .html in .java and  vice versa.
 * Navigation between ID's - Ctrl+click on ID in .html would navigate to that ID in .java and  vice versa. Assuming unique IDs per component (or taking the first one) is OK (to prevent complex implementation of this functionality).
 * Locating component ID - search component IDs for a given pattern.

Component IDs in .java can be distinguished as String constants used as first attribute to a constructor of any instanceof org.apache.wicket.Component.