Re: delete messages

2012-12-21 Thread Martin Grigorov
Hi, The feedback messages are rendered in FeedbackPanel. Once rendered they are removed at the server side. So the next render of the FeedbackPanel will remove them from the UI too. Example: 1) the user enters invalid password - an error feedback message is shown 2) the user opens the Modal to

Re: Wicket create image from file system outside web application directory

2012-12-21 Thread Martin Grigorov
Why do you use ExternalLink link = new ExternalLink(link, urlForWordAsImage.toString()); ? You need to show an image. I guess if you click on this link it will hit the resource reference. On Thu, Dec 20, 2012 at 1:24 PM, Arun Chauhan arundraj...@gmail.com wrote: hi, I tried to debug the

Re: Wicket 6.4.0 Session/URL bug?

2012-12-21 Thread Martijn Dashorst
On Fri, Dec 21, 2012 at 1:41 AM, Chris Colman chr...@stepaheadsoftware.com wrote: Oh, I didn't realize there was a separate ASF based repository. That is the canonical one. The github ones were just mirrors. If it ain't at Apache it isn't Apache™ It there a manual (human) based process for

Re: Autocomplete for mentions how to use Twitter

2012-12-21 Thread Raul
Hello, I have the same problem as Alpiske, does anyone have any idea how to do this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Autocomplete-for-mentions-how-to-use-Twitter-tp4654876p4654999.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Autocomplete for mentions how to use Twitter

2012-12-21 Thread Martin Grigorov
http://jakiestfu.github.com/Mention.js/ On Fri, Dec 21, 2012 at 1:56 PM, Raul ralva...@netwie.com wrote: Hello, I have the same problem as Alpiske, does anyone have any idea how to do this? -- View this message in context:

JPA annotations

2012-12-21 Thread Lucio Crusca
Hello *, I've started this short thread on the tomEE users ml: http://markmail.org/message/3asqvvptnkieknq5 The final answer sounds to me like if you want to use resources injection through JPA annotations in a wicket application, your best bet is Java-EE- Inject

Re: JPA annotations

2012-12-21 Thread Martin Grigorov
Hi, The page cannot be a bean, so it cannot be @Stateless. Better create a stateless EJB which has a reference to @PersistenceUnit: class MyPage extends WebPage { @EJB private MyBean ejb; ejb.store(entity) } interface MyBean { void store(Entity entity) } @Stateless class

Re: JPA annotations

2012-12-21 Thread Lucio Crusca
In data venerdì 21 dicembre 2012 13:41:36, Martin Grigorov ha scritto: Hi, The page cannot be a bean, so it cannot be @Stateless. Better create a stateless EJB which has a reference to @PersistenceUnit: Thanks for pointing that out. class MyPage extends WebPage { @EJB private

Re: JPA annotations

2012-12-21 Thread Martin Grigorov
On Fri, Dec 21, 2012 at 4:07 PM, Lucio Crusca lu...@sulweb.org wrote: In data venerdì 21 dicembre 2012 13:41:36, Martin Grigorov ha scritto: Hi, The page cannot be a bean, so it cannot be @Stateless. Better create a stateless EJB which has a reference to @PersistenceUnit: Thanks for

Re: JPA annotations

2012-12-21 Thread Lucio Crusca
In data venerdì 21 dicembre 2012 15:10:11, Martin Grigorov ha scritto: I think Spring is still dominant in this area. Hmm, I've had a look, too much xml for my taste... what about Guice? Can it be used as alternative to Spring to have JPA annotations working with Wicket?

Re: JPA annotations

2012-12-21 Thread Martin Grigorov
Spring Java Config, @Configuration, @Bean On Fri, Dec 21, 2012 at 5:58 PM, Lucio Crusca lu...@sulweb.org wrote: In data venerdì 21 dicembre 2012 15:10:11, Martin Grigorov ha scritto: I think Spring is still dominant in this area. Hmm, I've had a look, too much xml for my taste... what

Re: JPA annotations

2012-12-21 Thread Lucio Crusca
In data venerdì 21 dicembre 2012 17:01:59, Martin Grigorov ha scritto: Spring Java Config, @Configuration, @Bean Ok thanks, but there are other things that make me prefer Guice over Spring, if possible. Is it possible? Can Guice be used to make JPA annotations work in wicket apps?

Re: JPA annotations

2012-12-21 Thread Martin Grigorov
http://jweekend.co.uk/dev/LegUp You may need to upgrade dependencies' versions. On Fri, Dec 21, 2012 at 6:13 PM, Lucio Crusca lu...@sulweb.org wrote: In data venerdì 21 dicembre 2012 17:01:59, Martin Grigorov ha scritto: Spring Java Config, @Configuration, @Bean Ok thanks, but there are

Re: delete messages

2012-12-21 Thread Dirk Wichmann
Hi Martin, thanks for your reply, but that is not my problem, Example: 1) the user entered invalid password - error feedback message is shown 2) the user opens the modal and in the modal the error messages from the login page will be displayed. thats the call of the modal:

Re: Wicket 6 API docs incomplete

2012-12-21 Thread Ian Marshall
That's good to hear, Martin. All seems to be fine now. Ian Martin Grigorov-4 wrote Hi, Thanks! This is known. It is because the last Javadoc build failed due to No space left on device: http://ci.apache.org/builders/wicket-master/builds/950/steps/MasterShellCommand/logs/stdio On

Re: delete messages

2012-12-21 Thread Sven Meier
Hi Dirk, that doesn't look correct. Once rendered the messages should be cleared. Please create a quickstart. Sven On 12/21/2012 06:44 PM, Dirk Wichmann wrote: Hi Martin, thanks for your reply, but that is not my problem, Example: 1) the user entered invalid password - error feedback message

RE: [Announce] wicket-dashboard

2012-12-21 Thread Paul Bors
Hey Decebal, Thanks for your effort in creating the wicket-dashboard! That's how I got started with HighCharts and your dashboard :) I already created a wicket-dashboard-highcharts project using your trunk version of the wicket-dashboard project which I should either forward to you or perhaps

RE: JPA annotations

2012-12-21 Thread Chris Colman
I thought anything EJB was taken off the menu years ago to stop people getting very sick - Doctor's orders ;) -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, 21 December 2012 11:42 PM To: users@wicket.apache.org Subject: Re: JPA annotations Hi, The