Character ^ added to javascript blocks in Ajax response

2014-04-01 Thread Rakesh A
Hi, I am using Wicket v6.12.0, I observed that ^ character is getting added at places in javascript blocks in Ajax response. I observed that its for Ajax attributes with supports array like 'pre', 'bh', 'dep', etc. Example: pre:[function(attrs){return false;}]^ bh:[function(attrs){if

Re: Character ^ added to javascript blocks in Ajax response

2014-04-01 Thread Martin Grigorov
Hi, Yes. It is added by Wicket and is removed by Wicket before actual processing. This character is used as an escape character, so CDATA is not prematurely ended. Martin Grigorov Wicket Training and Consulting On Tue, Apr 1, 2014 at 8:43 AM, Rakesh A iamrakes...@rediffmail.com wrote: Hi, I

Re: Adding/Remiving Panels

2014-04-01 Thread Martin Grigorov
Hi, On Mon, Mar 31, 2014 at 1:53 PM, David Beer david.m.b...@gmail.com wrote: Hi All I am in the process of building a user account page, which will have a menu on the left, and the related content on the right. I would like the content on the right to be swapped depending on the

Re: Netbeans and Compile On Save

2014-04-01 Thread Martin Grigorov
Hi, Do you experience the same problem with 6.13 ? It may be some configuration issue with the way Netbeans deploys the app in your preferred web container (Glassfish ?!). But it is also possible that Wicket regressed somehow and keeps references to classes/class loaders and thus the

Re: Variables Assigned to ModalWindow are not the same as in the Callback

2014-04-01 Thread Martin Grigorov
Hi, Yes. I believe the problem comes because the entity is deserialized. The easier way to check is to remove java.io.Serializable from its interfaces. Wicket will tell you when it tries to serialize it with a detailed exception message. Martin Grigorov Wicket Training and Consulting On Thu,

Re: JBoss Forge Plugin

2014-04-01 Thread Martin Grigorov
Hi, Maybe I am not following the right forums but I think JBoss Forge didn't gain much attention. I think doing a Yeoman generator for the same tasks + providing setup (Grunt/Gulp/Brocolli) for generating JS (from CoffeeScript/Dart/TypeScript/...) and CSS (from LESS/SCSS/Stylus/...), minification

Re: EqualInputValidator for PasswortTextfield

2014-04-01 Thread Daniela L
Hi Alasdair, thanks a lot for your quick response. I changed the EqualInputValidator key to the same text as EqualPasswordInputValidator: EqualInputValidator =${label0} und ${label1} m\u00fcssen gleich sein. I propose to change the default text in the wicket Application_de.properties file in the

Re: JBoss Forge Plugin

2014-04-01 Thread Martin Grigorov
Forgot to give you a reference - https://www.npmjs.org/package/generator-scalatra Scalatra is also Servlet based framework like Wicket. It is written in Scala. Martin Grigorov Wicket Training and Consulting On Tue, Apr 1, 2014 at 9:34 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Maybe

Re: Netbeans and Compile On Save

2014-04-01 Thread David Beer
Hi All I did some further research on this and it very much depends on the container, and the way that NetBeans IDE interacts with it or deploys the resulting application. If you search for Compile On Save NetBeans IDE you will get various hits and results. Some saying it works great for tomcat

Re: JBoss Forge Plugin

2014-04-01 Thread David Beer
Hi Martin Thanks for this interesting. JBoss Forge is gaining quite some interest and rapid development. Especially Forge 2.x https://forge.jboss.org/ a new website is on the way and is being developed more info on github https://github.com/forge. The JBoss Forge project is a little bit like

Re: Adding/Remiving Panels

2014-04-01 Thread David Beer
Hi Martin Thanks for your information here. So if I had a page which extends from a base page and adds the header footer, then added the content which is basically two column, in order to use a menu on the left to change some of the content on the right I could use a combination of Ajax to swap

Re: JBoss Forge Plugin

2014-04-01 Thread Martin Grigorov
Hi David, I'll check JBoss Forge 2.x these days. Have fun and keep us posted with your progress ! :-) Martin Grigorov Wicket Training and Consulting On Tue, Apr 1, 2014 at 1:34 PM, David Beer david.m.b...@gmail.com wrote: Hi Martin Thanks for this interesting. JBoss Forge is gaining quite

DOM element not found issue - Ajax response

2014-04-01 Thread Rakesh A
Hi, I am using Wicket v6.12.0, I've couple of Ajax links, clicking on which will replace a panel [ajax enabled - markup id is generated], and this click also results a piece of javascript, which will use the markup id of the panel. In some cases I see the the javascript fails saying the DOM

Re: DOM element not found issue - Ajax response

2014-04-01 Thread Martin Grigorov
Hi, It sounds like the old HTML element (the one to be replaced) is not there or has a different markup id. Another possibility is that the old element is in different document, e.g. when ModalWindow with a Page is used the page's markup is put in an iframe and any JS contributed by

Why resource bundles and how to use them ?

2014-04-01 Thread armandoxxx
Hey guys .. The problem I'm having is how to use a bundle added to application bundles ... Me expectation was ... when in renderHead() method and call to response.render(MY BUNDLE) would do the magic and bundled references get rendered to page ... no luck .. so help appreciated ... cant find

Re: Does wicket have parameter-based security?

2014-04-01 Thread armandoxxx
hey we use Apache SHIRO project for all security on wicket applications ... apache shiro has targets (part of permission) to resolve this kind of issues. you can also write custom shiro filter to let wicket know if problems with authorization accured .. or let shiro handle it in his own way

Re: Why resource bundles and how to use them ?

2014-04-01 Thread Gabriel Landon
Is that what you are looking for : http://wicketinaction.com/2012/07/wicket-6-resource-management/ https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/WicketApplication.java Regards, Gabriel. -- View this message in context:

Re: Netbeans and Compile On Save

2014-04-01 Thread Brad Grier
I'm pretty sure I had the problem with 6.13. Unfortunately I've been working around it for so long that I can't really say when it started happening. It's possible I was using a different version of Netbeans or maybe it was when I ported from Wicket 1.4 to 6 (although I don't think so). I haven't

Exception thrown when refreshing the page.

2014-04-01 Thread chathuraka.waas
Hi, i have a form which as few text field elements. and when i submit the form it works fine. but after submit if i go and refresh the page it gives me an expception. my java and html code is below. TextFieldStringfirstName = new TextField(firstName, false, 50);