WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-03 Thread Dirk Forchel
With the fixed bug of WICKET-5140 the public method Component#clearOriginalDestination() has been added which uses the private method RestartResponseAtInterceptPageException.clearOriginalDestination(). I have no glue how to use this public method as we use the AuthenticatedWebApplication from the

AttributeModifier with html in the attribute?

2013-06-03 Thread Simon B
Hello I want to add html content in an attribute of an html tag. This is for a bootstrap tooltip. What is the best way to do this? When I simply add html to the attribute modifier e.g. it gets converted into What I'd like is: What's the best way to achieve this? Simon -- View

Injecting proxy services in page.

2013-06-03 Thread Entropy
We are doing the annotation based approach described in this link (https://cwiki.apache.org/WICKET/spring.html). At least, we think we are. We get: [6/3/13 8:26:00:907 EDT] 0023 SystemOut O ERROR [WebContainer : 0] (RequestCycle.java:1521) - Could not deserialize object using

Re: Injecting proxy services in page.

2013-06-03 Thread Bertrand Guay-Paquet
Hi, I don't use Spring, so I can't help you specifically. However, there is a chapter about integration with Spring in the free wicket guide here: https://code.google.com/p/wicket-guide/ (chapter 17.2) On 03/06/2013 9:00 AM, Entropy wrote: We are doing the annotation based approach described

RE: Injecting proxy services in page.

2013-06-03 Thread Paul Bors
I find it easier to configure Spring via the XML rather than code. Hence I have my applicationContext.xml inside my war's WEB-INF/classes/ with all the bean definitions and then configure Wicket via the context specific configuration from inside my web.xml: !-- There are three means

RE: AttributeModifier with html in the attribute?

2013-06-03 Thread Paul Bors
AttributeModifier? You might be interested in taking a quick look at (Section 4.2 Modifying Tag Attributes): http://wicket.apache.org/learn/books/freeguide.html ~ Thank you, Paul Bors -Original Message- From: Simon B [mailto:simon.bott...@gmail.com] Sent: Monday, June 03, 2013 6:28

Re: AttributeModifier with html in the attribute?

2013-06-03 Thread Bertrand Guay-Paquet
I believe AttributeModifier is the appropriate class to use to modify tag attributes. Moreover, it is described in the section you refer to. For reference, ComponentTag#writeOutput() is the method which calls Strings.escapeMarkup(value); and escapes your tag value. This is called by

Important: My previous mail is spam don't open it

2013-06-03 Thread ayman elwany
Dear all , if you recieved any mail from today , dont open it , and if you did change your passoword please ,my account got hacked and something sends emails in my behalf and i dont know what as it doesnt appear in my sent box . I did changed my account password , and this will Stop sending mails

Important: My previuos mail is spam don't open it

2013-06-03 Thread ayman elwany
Dear all , If you recieved any mail from me today , don't open it and if you did, change your passoword please , my account got hacked and something sends emails in my behalf and i dont know what as it doesnt appear in my sent box . I did change my account password , and this will Stop sending

RadioChoice AjaxFormChoiceComponentUpdatingBehavior and validation

2013-06-03 Thread divad91
Hi, Im not sure if my problem is related to wicket or jQuery but since I upgraded from wicket 6.6.0 to 6.8.0, my required validation on RadioChoice is not working anymore. The problems occurs on every RadioChoice with an AjaxFormChoiceComponentUpdatingBehavior behavior. If I removed the

Re: Browser Back Button Question

2013-06-03 Thread dhongyt
I think maybe it is because I have objects in my session service that connect to the hiberlayer, to be more specific my Product API is a class that talks with the hiberlayer. 1. Does that mean that I want to make my Product APIobject transient? 2. If an object implements serializable is that bad?

Re: How I get the internal html content of a dynamically updated div tag using Apache Wicket

2013-06-03 Thread Andun Sameera
Hi All, I have tried further with AjaxEditableLabel in following way to get the cotent of div tag. String value=Type.; AjaxEditableLabel ajaxEditableLabel=new AjaxEditableLabel(editorArea,new Model(value)){ @Override public void

wicket-guice HttpServletRequest

2013-06-03 Thread Watrous, Daniel
I'm having some trouble getting my unittests to work when I use Guice to get an instance of the HttpServletRequest object. The page works fine when running in jetty, but in the unittests I get these errors. org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor

Re: RadioChoice AjaxFormChoiceComponentUpdatingBehavior and validation

2013-06-03 Thread Igor Vaynberg
you might have to override updateAttributes on the behavior and say attributes.allowdefault(true) -igor On Mon, Jun 3, 2013 at 11:28 AM, divad91 diva...@hotmail.com wrote: Hi, Im not sure if my problem is related to wicket or jQuery but since I upgraded from wicket 6.6.0 to 6.8.0, my

Re: Injecting proxy services in page.

2013-06-03 Thread Edvard Fonsell
Hi, I'm not sure if this is the issue here but I've seen similar problems when I used AnnotationConfigApplicationContext as a Spring context, but got it working by using AnnotationConfig*Web*ApplicationContext. br, Edvard On 03.06.2013 17:19, Paul Bors wrote: I find it easier to configure

ResourceReference serving video files

2013-06-03 Thread Maxim Solodovnik
Hello All, I have weird problem: 1) wicket 6.8.0 2) resources are mounted in Application [1] using mountResource 3) video files are viewable in IE, Chrome, FF, Safari (iMac) 4) I got huge stack trace while accessing the files using iPad (Safari, latest iOS) [3] The code of resource references