Geertjan's Blog

  • May 21, 2011

Visual Wicket Parsing

Geertjan Wielenga
Product Manager

I re-enabled the Wicket annotations created by Petr Pisl (all the way back in 2006!) and enhanced by Tim Boudreau. Since I'm now on the product marketing side of things, with my marketing hat on I think the feature would be well positioned under the title "Visual Wicket Parsing". There's nothing you need to do to enable this feature, though you can customize its coloring in the Options window. Below you see its default colors, I decided to not choose red because that would indicate a compiler error, but something softer and also Wicketier, which is clearly orange:

And what does the Visual Wicket Parser do? Well, here's an example:

If you save the document, another parse is done, and the annotation will disappear, if the IDs now match. Other than the above, you will be informed on the other side, i.e., in the Java file as well. In other words, both sides of the Wicket component show the above annotation. And other parsing is done too, to check whether the ID has already been used at the same level, i.e., duplicate IDs, and whether an ID exists on one side but not on the other.

Currently this feature is in the repo on java.net, not yet in a released binary.

Join the discussion

Comments ( 1 )
  • guest Monday, May 23, 2011
    While you're at improving the parsing for Wicket, how about some improvements for Quercus/php source in Netbeans? eg: Quercus is a java implementation of php by the caucho folks (I'm not an employee or stock owner, just a happy user. url is: http://quercus.caucho.com/ by the way), but allows some interesting integration of pure java from php which is beyond normal php. unfortunately, this does get raised as a syntax error (correctly so), but it would be nice to be able to tell the php parser that it's ok to allow the Quercus extensions as legal syntax.
    the syntax that Quercus uses to allow direct calling of java objects is documented at http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp#WorkingwithJavaclassesinPHP
    how 'bout it?
    I think having Quercus support built in would be a huge boon, rather than having to use those other 3rd party stacks, this runs very nicely within glassfish.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.