Re: display artifact version in webpage

2011-12-15 Thread Sjoerd Schunselaar
Thank you Chantal, Thats a very easy solution. Didn't think about that. Kind regards, Sjoerd Schunselaar On Wed, Dec 14, 2011 at 1:02 PM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: Hi Sjoerd, my way of doing this is directly from pom to html using filtering. Add

Re: display artifact version in webpage

2011-12-15 Thread Per Newgro
But this causes a build / version control system issue. Guess you use version control like svn or cvs. Once you checked in the html markup and call a build the markup changed and you have to check in markup again. So that becomes a chicken - egg - problem. Just my 2$ Per Am 15.12.2011 09:27,

Re: display artifact version in webpage

2011-12-15 Thread Chantal Ackermann
You shouldn't be checking in any automatically generated files! What is checked in is the markup that contains the placeholder - and that doesn't change with new builds, of course. That's the point of it, isn't it? Chantal On Thu, 2011-12-15 at 09:46 +0100, Per Newgro wrote: But this causes a

Re: display artifact version in webpage

2011-12-15 Thread Per Newgro
Ahh, ok. You're right. You don't check in the generated version. Sure. Sorry. So no problem. Per Am 15.12.2011 10:26, schrieb Chantal Ackermann: You shouldn't be checking in any automatically generated files! What is checked in is the markup that contains the placeholder - and that doesn't

Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Richard W. Adams
Is there a way to make DropDownChoice offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find this issue covered in the material I've looked at. I'm looking for some technique I can apply

Re: Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Igor Vaynberg
setNullValid(true) -igor On Thu, Dec 15, 2011 at 7:42 AM, Richard W. Adams rwada...@up.com wrote: Is there a way to make DropDownChoice  offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find

Wicket 1.5 with Shiro for security ...

2011-12-15 Thread armandoxxx
Got a little question. I'm wrapping Apache Shiro as security framework for my application. And I use wicket-auth-roles for wrapping shiro login, logout, get roles and stuff methods. I've got a question for isSignedIn() method which is final. I can't override it to ask shiro if user is logged

Re: Wicket 1.5 with Shiro for security ...

2011-12-15 Thread Carl-Eric Menzel
There's a shiro integration project in wicketstuff-core. We use it and it works well. Carl-Eric www.wicketbuch.de On Thu, 15 Dec 2011 08:56:25 -0800 (PST) armandoxxx armando@dropchop.com wrote: Got a little question. I'm wrapping Apache Shiro as security framework for my application.

Wicket app on Tomcat over Apache - 404

2011-12-15 Thread meduolis
Hello, I tried to setup tomcat over apache2 following https://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html guidelines. But I cant get it working. When I enter any page I always see my wicket custom 404 error page. I am using mod_proxy and mod_proxy_http plugins for apache2. Wicket

Re: Spring + MongoDb

2011-12-15 Thread Bruno Borges
Just to let you all know that the Gamboa Project has moved to individual repositories under the organization Gamboa at http://github.com/gamboa There are Wicket+Scala archetypes for MongoDB, CouchDB and Java EE 6 (JPA). The Wicket DSL for Scala is now available too under the wicket-scala project

Re: Wicket 1.5 with Shiro for security ...

2011-12-15 Thread James Carman
Wicketopia has a shiro plugin too On Dec 15, 2011 11:57 AM, armandoxxx armando@dropchop.com wrote: Got a little question. I'm wrapping Apache Shiro as security framework for my application. And I use wicket-auth-roles for wrapping shiro login, logout, get roles and stuff methods. I've

Update FeedbackPanel from AbstractAjaxBehavior

2011-12-15 Thread Alec Swan
Hello, I have an AbstractAjaxBehavior which is invoked by clicking on a link. The behavior needs to write a message to FeedbackPanel upon completion. I wasn't able to access AjaxRequestTarget from AbstractAjaxBehavior so I switched to using AbstractDefaultAjaxBehavior. I implemented

Re: Update FeedbackPanel from AbstractAjaxBehavior

2011-12-15 Thread Dan Retzlaff
Is there a reason you're avoiding AjaxLink? Its onClick gives you the AjaxRequestTarget which you can use to render the feedback panel. On Thu, Dec 15, 2011 at 3:24 PM, Alec Swan alecs...@gmail.com wrote: Hello, I have an AbstractAjaxBehavior which is invoked by clicking on a link. The

Re: Update FeedbackPanel from AbstractAjaxBehavior

2011-12-15 Thread Alec Swan
The click on the link is intercepted and a prompt is shown using jQuery. The user fills in the prompt and clicks OK which redirects to the original link href. So, I need to have a stable URL that I can invoke from jQuery and have the behavior execute. Maybe it's possible to do this with AjaxLink,

Re: Update FeedbackPanel from AbstractAjaxBehavior

2011-12-15 Thread Dan Retzlaff
Gotcha. Sorry for not answering your actual question. :) The ExternalLink navigates the browser to the given URL which is why you're seeing the response. AJAX behaviors are designed to be invoked from JavaScript. For example, AjaxEventBehavior renders Javascript into onclick attributes or

Re: Update FeedbackPanel from AbstractAjaxBehavior

2011-12-15 Thread Alec Swan
I'll give it a try. Thanks! On Thu, Dec 15, 2011 at 5:06 PM, Dan Retzlaff dretzl...@gmail.com wrote: Gotcha. Sorry for not answering your actual question. :) The ExternalLink navigates the browser to the given URL which is why you're seeing the response. AJAX behaviors are designed to be

Tooltips on AjaxButton

2011-12-15 Thread codix
I have this code: class ExportToolbar extends AbstractToolbar { public ExportToolbar(final DataTable table, AjaxButton addbtn, AjaxButton delbtn, ExportPredefinedListButton

Re: Wicket 1.5 with Shiro for security ...

2011-12-15 Thread Martin Grigorov
https://github.com/55minutes/fiftyfive-wicket too On Thu, Dec 15, 2011 at 11:15 PM, James Carman ja...@carmanconsulting.com wrote: Wicketopia has a shiro plugin too On Dec 15, 2011 11:57 AM, armandoxxx armando@dropchop.com wrote: Got a little question. I'm wrapping Apache Shiro as

Re: Tooltips on AjaxButton

2011-12-15 Thread Martin Grigorov
Hi, The easiest way is to use AttributeAppender and add 'title' attribute to each of them. E.g. addbtn.add(new AttrributeAppender(title, Add)); If you need more fancy tooltips then you'll need to use some JavaScript library. Check in WicketStuff Git repo. There are few integrations. On Fri, Dec