Re: Possible bug with AjaxLazyLoadPanel

2013-05-16 Thread Michael Zhavzharov
Hm, I just tried to do what you are talking about and it works for me. I have an ALLP: add(new AjaxLazyLoadPanel(lazy) { @Override public Component getLazyLoadComponent(*String id*) { return new ContentPanel(*id*); } }); and AjaxLink:

Re: Wicketstuff release cycle

2013-05-16 Thread Martin Grigorov
Hi Maxim, On Thu, May 16, 2013 at 7:26 AM, Maxim Solodovnik solomax...@gmail.comwrote: Thanks for the quick reply :) According to the maven no all components are released is there any whitelist or something to determine which components should be release and which are not? The whitelist

Re: Wicketstuff release cycle

2013-05-16 Thread Maxim Solodovnik
Hello Martin, Thanks! :) On Thu, May 16, 2013 at 1:45 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Maxim, On Thu, May 16, 2013 at 7:26 AM, Maxim Solodovnik solomax...@gmail.com wrote: Thanks for the quick reply :) According to the maven no all components are released is

Re: Session creates multiple times

2013-05-16 Thread Martin Grigorov
Hi, If Session.get() is called then a new Wicket Session is created. Unless Session#bind() is called this session is temporary, i.e. it will be discarded at the end of the request cycle. If #bind() is called then a Http Session is created too and the Wicket Session is stored in it as an

Re: Wicketstuff release cycle

2013-05-16 Thread Martin Grigorov
Wicket 6.8.0 will be cut tomorrow. If everything is OK during the vote it will be released next Tuesday/Wednesday. WicketStuff will be released soon after Wicket. We will be grateful if you (Wicket users) test your apps with 6.8.0-SNAPSHOT or with the Maven staged repository once it is ready. The

Empty Form Validation

2013-05-16 Thread Christoph.Manig
Hello, I have a form which I want to validate. If this form is empty there should be shown a message in the feedbackpanel. How can I do this? Is there a way to validate an empty form with its compoundpropertymodel? Thank you for your help. Mit freundlichen Grüßen Christoph Manig Systems

Re: Empty Form Validation

2013-05-16 Thread Martin Grigorov
Hi, See IFormValidator On Thu, May 16, 2013 at 11:51 AM, christoph.ma...@t-systems.com wrote: Hello, I have a form which I want to validate. If this form is empty there should be shown a message in the feedbackpanel. How can I do this? Is there a way to validate an empty form with its

AW: Empty Form Validation

2013-05-16 Thread Christoph.Manig
My form looks like this: FormFilterCreatorFault faultSearchForm = new FormFilterCreatorFault(faultSucheForm, new CompoundPropertyModelFilterCreatorFault(new FilterCreatorFault())); I implement this Validator: public class EmptyFormValidator implements IFormValidator{ private FormComponent

Re: Possible bug with AjaxLazyLoadPanel

2013-05-16 Thread Raul
Michael Zhavzharov the way you've indicated, it works correctly. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793p4658846.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Session creates multiple times

2013-05-16 Thread Michael Zhavzharov
Thank you, Martin! I have such stackTrace for all of the newSession() calls: 1)com.alee.urait.web.Urait.newSession(Urait.java:89) 2)org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1557) 3)org.apache.wicket.Session.get(Session.java:168)

Re: Session creates multiple times

2013-05-16 Thread Sven Meier
com.alee.urait.web.Urait.newSession(Urait.java:89) org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1557) org.apache.wicket.Session.get(Session.java:168) org.apache.wicket.request.handler.render.PageRenderer.*getSessionId*(PageRenderer.java:101)

Re: Session creates multiple times

2013-05-16 Thread Michael Zhavzharov
Thank you, Sven! I have created an issue, but I don't know it it right in it's description. https://issues.apache.org/jira/browse/WICKET-5191 But can I do any hack now to get rid of this problem? -- View this message in context:

Re: Session creates multiple times

2013-05-16 Thread Sven Meier
A quickstart would help to identify the issue. Sven On 05/16/2013 01:59 PM, Michael Zhavzharov wrote: Thank you, Sven! I have created an issue, but I don't know it it right in it's description. https://issues.apache.org/jira/browse/WICKET-5191 But can I do any hack now to get rid of this

Re: Session creates multiple times

2013-05-16 Thread Martin Grigorov
It is attached to the ticket now. On Thu, May 16, 2013 at 3:54 PM, Sven Meier s...@meiers.net wrote: A quickstart would help to identify the issue. Sven On 05/16/2013 01:59 PM, Michael Zhavzharov wrote: Thank you, Sven! I have created an issue, but I don't know it it right in it's

IE7 Submit button stops working

2013-05-16 Thread Entropy
Okay, I've got a riddle wrapped in an enigma wrapped in bacon for you. My page works perfectly in IE8. When I use the developer tools to go to IE7 compatability for testing, the submit button on my page stops working (I'll describe exact symptoms below). It works in IE8. Works in Firefox.

Re: IE7 Submit button stops working

2013-05-16 Thread Ernesto Reinaldo Barreiro
Does it hit the public void onError() { } ? and thanks for the bacon;-) On Thu, May 16, 2013 at 5:21 PM, Entropy blmulholl...@gmail.com wrote: Okay, I've got a riddle wrapped in an enigma wrapped in bacon for you. My page works perfectly in IE8. When I use the developer tools to go to

Wicket in other application

2013-05-16 Thread Alis
Hello! Currently, I have two applications: one wicket and one in struts jsp. Both need to interact. I keep the same HttpServletRequest and HttpSession in both apliacaiones. The solution I thought is to unify the wicket application in another application. How do I? -- View this message in

Re: Wicket in other application

2013-05-16 Thread Richard W. Adams
What do you mean by unify? Do you want to merge them into a single application with only one code base? Or do you mean something else? If you intend to keep them as two separate applications, there are number of techniques for inter-process communication. From: Alis ajcalve...@yahoo.es

Re: Browser Back Button Question

2013-05-16 Thread dhongyt
After two or three back button on the browser an error message displays session closed. The error returned is a bit confusing: I'm wondering if its because of hibernate? Its trying to get the query of the page to display but the query has been closed? It also talks about errors with wicket to so

Re: Wicket in other application

2013-05-16 Thread Jan Riehn
Hello Alis, the Wicket programming model is based on the typical web application request scenario - one thread typically processes one HTTP request using the org.apache.wicket.protocol.http.WicketFilter. This filter sets the application context using a thread-local, many wicket internals and

Re: IE7 Submit button stops working

2013-05-16 Thread Entropy
Presuming you meant on the form, no it does not. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IE7-Submit-button-stops-working-tp4658857p4658866.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket in other application

2013-05-16 Thread Alis
Yes, i want to merge them into a single application with only one code base. I'm bringing in other wicket application. I began by: web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//ENquot;

Re: IE7 Submit button stops working

2013-05-16 Thread Entropy
New info: It works in IE8 from my localhost (using IBM RAD) but does NOT work in IE8 from a standalone server (WebSphere). However, it DOES still work in Firefox on the standalone server. -- View this message in context:

Re: Call me page wicket from iframe in page.jsp

2013-05-16 Thread Alis
Thank you! How do I keep the same session even if aplicaiones different? To be placed in each web.xml, help me -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Call-me-page-wicket-from-iframe-in-page-jsp-tp4658716p4658869.html Sent from the Users forum mailing list

Re: IE7 Submit button stops working

2013-05-16 Thread Entropy
More Info: So I was able, through experimentation and heavy commenting in/out to narrow it down. It's an ajax behavior earlier in the page that is causing the button to misbehave. UserMultiSelect recipients = (UserMultiSelect) form.get(recipients_section);

Example for advanced grid for wicket with timer/date picker controls

2013-05-16 Thread Bruno Moura
Someone could give an example of code of an app built with an advanced grid with date picker component in it cells? Thanks Bera

Re: Retrieve a value of textField and set the property of the Model

2013-05-16 Thread Bruno Moura
Thanks Martin again I coded as you told me but unfortunately the code doesn't work because the description property of the model/object descriptionModel didn't receive the value inserted in the text field. after inspected the descriptionModel in debug time I saw that description hasn't any value

Re: Ill really apreciate the help to get the selected item of a DropDownChoice using Scala

2013-05-16 Thread Bruno Moura
Hi Martin But the DDC doesn't have a constructor with PropertyModel[String](this, custName) only a property model with the Object/Pojo as I was using. Sorry, I'm new in the world of wicket and scala, and is difficult to find good examples around so I'm using this list a lot because I'm getting

Re: Ill really apreciate the help to get the selected item of a DropDownChoice using Scala

2013-05-16 Thread Maxim Solodovnik
You should have objects of same type in DropDownChoice, PropertyModel, List and ChoiceRenderer On Fri, May 17, 2013 at 10:12 AM, Bruno Moura brunormo...@gmail.com wrote: Hi Martin But the DDC doesn't have a constructor with PropertyModel[String](this, custName) only a property model with