Re: anchor tag for a dynamic text

2015-04-07 Thread avchavan
i did something like this: Message in the properties file -- 123= Here's the link!! //get message from properties file String someTextMessage = getMessage(123); Lable message = new Lable(messageLable, someTextMessage); message.setEscapeModelStrings(true); Link printLink = new Link(printLink) {

Re: Integration with JAAS

2015-04-07 Thread Martin Grigorov
Hi, This is the integration: https://github.com/wicketstuff/core/tree/master/jdk-1.7-parent/wicket-security-parent I am not sure whether there is documentation. I thought there is but I cannot find it now. There are examples though. Martin Grigorov Freelancer, available for hire! Wicket Training

Re: Handle form with multiple dynamic lines of the same input

2015-04-07 Thread Martin Grigorov
Hi, Take a look at these two articles: - http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ - http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ This is if you want to use Wicket's Form component. If you are OK to process the submit

Re: create link to pdf created on the fly

2015-04-07 Thread Martin Grigorov
Hi, Check ResourceLink component. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Apr 7, 2015 at 2:10 AM, Chris chris...@gmx.at wrote: Hi all, I would like to create a download link to a PDF which is generated on the

Re: anchor tag for a dynamic text

2015-04-07 Thread Martin Grigorov
Hi, You need a Link component that is a parent of a Label component. The Label should use a IModelString that produces dynamic String for each render of the Label. Show us some code so we can tell you what is wrong in your version. Martin Grigorov Freelancer, available for hire! Wicket Training

Integration with JAAS

2015-04-07 Thread rodrigo.uchoa
Hi everyone! I´ve been searching for a clue on how to integrate a wicket web app with JAAS login modules registered in JBoss Wildfly. It seems that there used to be a wicket-security lib for this purpose but I can't find documentation anywhere, and the little that I found seemed to be terribly

Re: anchor tag for a dynamic text

2015-04-07 Thread avchavan
Actual text message is something like this: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/anchor-tag-for-a-dynamic-text-tp4670190p4670199.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Mounting a parameter on the root url crashes resource location wicket

2015-04-07 Thread wiseguy2
I have that in the actual code. I have two pages mounted. 1. Home page at / pointing to Index.class 2. Person profile page /${username} Each time wicket tries to load a resource e.g ./wicket/resources/package/jquery.css it calls the person profile page. -- View this message in context:

Re: Mounting a parameter on the root url crashes resource location wicket

2015-04-07 Thread Martin Grigorov
Well, Wicket matches the request at /wicket. resources/package/jquery.css are then treated as path parameters: parameters.get(0) == resources parameters.get(1) == package parameters.get(2) == jquery.css As I suggested at StackOverflow: use Index.java as a dispatcher. If there is parameters.get(0)

Re: Mounting a parameter on the root url crashes resource location wicket

2015-04-07 Thread Christoph Läubrich
Why not simply use /profile/${username} or something like /user-${username}? Am 07.04.2015 12:43, schrieb wiseguy2: I have that in the actual code. I have two pages mounted. 1. Home page at / pointing to Index.class 2. Person profile page /${username} Each time wicket tries to load a