Re: Display component feedback message once: safety net renders them always before

2011-01-04 Thread Joseph Pachod
Hi Pedro thanks a lot for your ongoing feedback ;) I hadn't dig too much into ComponentFeedbackPanel, but I've now done it. So, my current impressions: - extra markup required. A bit annoying, I don't need or want that. On top of that I would like some design which circles the faulty input,

Re: quick page model question

2011-01-04 Thread gnugrf
I set a breakpoint within the load() and when the page first gets constructed I am able to watch the code get executed. When I refresh, the listview on the page (which uses a different LDM) does get called again, however this LDM (the model for the page) does not. I think I probably copied most

Re: quick page model question

2011-01-04 Thread Jeremy Thomerson
On Tue, Jan 4, 2011 at 9:18 AM, gnugrf gnu...@sdf.lonestar.org wrote: I set a breakpoint within the load() and when the page first gets constructed I am able to watch the code get executed. When I refresh, the listview on the page (which uses a different LDM) does get called again, however

Re: Display component feedback message once: safety net renders them always before

2011-01-04 Thread Jeremy Thomerson
On Thu, Dec 2, 2010 at 5:52 AM, Joseph Pachod j...@thomas-daily.de wrote: Hi I'm trying to apply the behaviors presented by Alastair Maw in his presentation Wicket Forms with Flair (cf http://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q=)

Re: quick page model question

2011-01-04 Thread gnugrf
Jeremy thanks for your patience, I have a couple of questions about your replies. 1. If my constructors for the page are public ManageClientPage(long id){this(new ClientLDM(id));} public ManageClientPage(IModelClient client) { ///code here} and the page is being called using ...

Re: quick page model question

2011-01-04 Thread Jeremy Thomerson
On Tue, Jan 4, 2011 at 10:28 AM, gnugrf gnu...@sdf.lonestar.org wrote: Jeremy thanks for your patience, I have a couple of questions about your replies. 1. If my constructors for the page are public ManageClientPage(long id){this(new ClientLDM(id));} public

Get Request URL (prior to /?Wicket query)

2011-01-04 Thread eugenebalt
I need to get the main Request URL in Wicket, up to the /?Wicket... substring. (I tried RequestCycle.get().getRequest().getURL() - that returns the /?Wicket string that I don't want) Thanks -- View this message in context:

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Roman Ilin
Nobody uses such weird thing? On Tue, Jan 4, 2011 at 12:44 AM, Roman Ilin roman.i...@gmail.com wrote: Sorry, I haven't said that I get unserializable exceptions in Provider for my table - list. public class UserDataProvider extends                CustomerAwareSortableDataProviderUser {  

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Martin Sachs
hi, are u using Interface oder Class for UserDao i think using Interface could solve this problem. martin Am 04.01.2011 18:53, schrieb Roman Ilin: Nobody uses such weird thing? On Tue, Jan 4, 2011 at 12:44 AM, Roman Ilin roman.i...@gmail.com wrote: Sorry, I haven't said that I get

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Igor Vaynberg
try launching your app with: -Dsun.io.serialization.extendedDebugInfo=true to see exactly what object is not serializable -igor On Tue, Jan 4, 2011 at 9:53 AM, Roman Ilin roman.i...@gmail.com wrote: Nobody uses such weird thing? On Tue, Jan 4, 2011 at 12:44 AM, Roman Ilin

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Roman Ilin
@Martin: UserDao is an Interface. @Igor: thank you for good advice, I will use it ofter from now :) but I know that problem is the classes I mentioned erlier, because if I copy them into my project and add Serializable interface to them, exception desappears. But anyway here is error dump:

Re: Get Request URL (prior to /?Wicket query)

2011-01-04 Thread eugenebalt
Already found the answer... RequestUtils.toAbsolutePath(RequestCycle.get().getRequest().getURL()) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Get-Request-URL-prior-to-Wicket-query-tp3174002p3174137.html Sent from the Users forum mailing list archive at

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Igor Vaynberg
looks like spring aop is processing the proxy wicket generates? weird. -igor On Tue, Jan 4, 2011 at 10:20 AM, Roman Ilin roman.i...@gmail.com wrote: @Martin: UserDao is an Interface. @Igor: thank you for good advice, I will use it ofter from now :) but I know that problem is the classes I

Wicket web site down with a few hits

2011-01-04 Thread LucHub
Hi all, I recently created a wicket 1.4.12 web site and I deployed it on Apache Tomcat 7 on Ubuntu Server. What happen is that if I hit quickly 2 different links on the menu the web site sometime goes down. I cannot access the website also from other computers. Very basic configuration on the

Re: Unserializable exceptions on declaring springs org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor

2011-01-04 Thread Roman Ilin
Thank you Igor one more time. I found place where I load springs bean without @SpringBean. So exception gone away. No other web framework has such PREMIUM SUPPORT as wicket!!! On Tue, Jan 4, 2011 at 7:20 PM, Roman Ilin roman.i...@gmail.com wrote: @Martin: UserDao is an Interface. @Igor:

Re: Wicket web site down with a few hits

2011-01-04 Thread Martin Grigorov
Any indications what exactly is the problem ? Anything in the logs? Any jvm crashes? On Tue, Jan 4, 2011 at 7:38 PM, LucHub luca.abb...@luchub.com wrote: Hi all, I recently created a wicket 1.4.12 web site and I deployed it on Apache Tomcat 7 on Ubuntu Server. What happen is that if I hit

Re: quick page model question

2011-01-04 Thread gnugrf
Thanks a million man! I wasn't calling super(model) and after figuring out how to attach sources (which I hadn't known about), I was able to see that the page model was being detached and refreshed. The labels on the page aren't updating, but I'm assuming I need to provide each component with

Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Matt Schmidt
I am trying to rerender an entire page via ajax from an abstract page. I have the follow page hierarchy: abstract class AbstractPage extends WebPage * dropdown to change an existing session variable class MyPage1 extends AbstractPage * component that depends on the value of the session

Re: quick page model question

2011-01-04 Thread Jeremy Thomerson
On Tue, Jan 4, 2011 at 2:10 PM, gnugrf gnu...@sdf.lonestar.org wrote: Thanks a million man! I wasn't calling super(model) and after figuring out how to attach sources (which I hadn't known about), I was able to see that the page model was being detached and refreshed. Great! The labels

Re: Spring Security 3 and Wicket

2011-01-04 Thread Les Hazlewood
Hi Dmytro, My point is to use authentication and authorization provided by SS 3 and Wicket as a great component framework. P.S. I'm not going to use Apache Shiro, because it doesn't suite my needs. Why doesn't Apache Shiro suit your needs? AIUI, Shiro can do all that Spring Security can do,

Re: Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Jeremy Thomerson
On Tue, Jan 4, 2011 at 2:11 PM, Matt Schmidt mschmid...@gmail.com wrote: I am trying to rerender an entire page via ajax from an abstract page. I have the follow page hierarchy: abstract class AbstractPage extends WebPage * dropdown to change an existing session variable class MyPage1

Re: Wicket web site down with a few hits

2011-01-04 Thread LucHub
Hi, thank you for the fast reply, Nothing strange from tomcat logs, also the server is not out of CPU or memory. I still have to enable wicket logs and check with a non Hibernate app (i omitted I'm using Hibernate) I'll post. Thanks again -- View this message in context:

Re: Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Martin Grigorov
On Tue, Jan 4, 2011 at 9:13 PM, Jeremy Thomerson jer...@wickettraining.comwrote: On Tue, Jan 4, 2011 at 2:11 PM, Matt Schmidt mschmid...@gmail.com wrote: I am trying to rerender an entire page via ajax from an abstract page. I have the follow page hierarchy: abstract class

Re: Wicket web site down with a few hits

2011-01-04 Thread Martin Grigorov
dump the threads maybe there is a deadlock On Tue, Jan 4, 2011 at 9:25 PM, LucHub luca.abb...@luchub.com wrote: Hi, thank you for the fast reply, Nothing strange from tomcat logs, also the server is not out of CPU or memory. I still have to enable wicket logs and check with a non

Re: Wicket web site down with a few hits

2011-01-04 Thread MZemeck
Just a hunchtry WicketServlet instead of WicketFilter (in web.xml)... From: LucHub luca.abb...@luchub.com To: users@wicket.apache.org Date: 01/04/2011 03:26 PM Subject:Re: Wicket web site down with a few hits Hi, thank you for the fast reply, Nothing strange from tomcat

Re: Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Matt Schmidt
so after thinking about it a little, I don't think I need to do this with Ajax. I *think* this will work for everything I need: setResponsePage(target.getPage().getClass(), AbstractPage.this.getPageParameters()); setRedirect(true); On Tue, Jan 4, 2011 at 3:13 PM, Jeremy Thomerson

Feedback messages with parameter substitution

2011-01-04 Thread James
Dear friends, Please forgive me if this question is asked before and answered. I seriously searched for this in the mailing list and other areas and couldn't find any solution. I've seen great examples of using StringResourceModel for parameter substitution in components like Label. But what I

Re: Feedback messages with parameter substitution

2011-01-04 Thread James
Folks, I found the solution from the thread Using getString with parametershttp://apache-wicket.1842946.n4.nabble.com/Usage-of-getString-with-parameters-model-td1875254.html . And this is what I did in the properties file.. premessage.fileAlreadyUploaded=The file ${0} is already uploaded/pre

[Announce] Wicket Stuff Core 1.4.15 released

2011-01-04 Thread Michael O'Cleirigh
Hello, Following the release of wicket 1.4.15 I've cut a matching release for wicketstuff-core. This release was delayed due to the migration from sourceforge and subversion to github. The artifacts have been promoted and will be synced into the maven central repository within 1-2 hours.

Start.java in debug mode jetty hangs up

2011-01-04 Thread Altuğ Bilgin Altıntaş
Hi I try to start jetty via in debug mode Here is Start.java Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); . try { System.out.println(