RE: Cannot detect ModalWindow cancel - ModalX live demo

2012-02-02 Thread Chris Colman
You can see a live demo of ModalX here: http://demo.visualclassworks.com/modalx/ The section within the border demonstrates the use of ModalResult. Regards, Chris -Original Message- From: Jered Myers [mailto:jer...@maplewoodsoftware.com] Sent: Thursday, 2 February 2012 7:04 AM To:

Re: 1.5 Behaviors

2012-02-02 Thread Martin Grigorov
See org.apache.wicket.Component#canCallListenerInterface On Thu, Feb 2, 2012 at 12:25 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi What can cause a behavior not to be processed? I have a structure like this: Form --FieldSet ---inputs... I have an appender on the

Re: 1.5 Behaviors

2012-02-02 Thread nino martinez wael
it's never called on the behavior and neither are isEnabled... It must be something higher up the hierarchy that are stopping the behavior processing.. 2012/2/2 Martin Grigorov mgrigo...@apache.org See org.apache.wicket.Component#canCallListenerInterface On Thu, Feb 2, 2012 at 12:25 PM,

Re: Unnecessary 302 redirects in Wicket 1.5

2012-02-02 Thread TH Lim
Is it possible to set the redirect feature localized to a page instead of every page? There are 2 out 10 pages I don't want to redirect. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unnecessary-302-redirects-in-Wicket-1-5-tp3921623p4351160.html Sent from the

Re: Unnecessary 302 redirects in Wicket 1.5

2012-02-02 Thread Martin Grigorov
On Thu, Feb 2, 2012 at 1:27 PM, TH Lim ssh...@gmail.com wrote: Is it possible to set the redirect feature localized to a page instead of every page? There are 2 out 10 pages I don't want to redirect. Thanks Experiment with new RestartResponseException(new PageProvider(YourPage.class,

Re: 1.5 Behaviors

2012-02-02 Thread nino martinez wael
Any clue on what it could be? 2012/2/2 nino martinez wael nino.martinez.w...@gmail.com it's never called on the behavior and neither are isEnabled... It must be something higher up the hierarchy that are stopping the behavior processing.. 2012/2/2 Martin Grigorov mgrigo...@apache.org

RE: 1.5 Behaviors

2012-02-02 Thread Michal Wegrzyn
Are they any other behaviors attached? Best regards, Michal Wegrzyn -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: Thursday, February 02, 2012 14:00 To: users@wicket.apache.org Subject: Re: 1.5 Behaviors Any clue on what it could be?

Added FeedbackMessage.UNDEFINED to Session

2012-02-02 Thread Richard W. Adams
How can I add a feedback message of type UNDEFINED to the session. The session only provides methods for info, warning error. Even though the Javadocs for FeedbackMessages says WARNING: This class should typically NOT be used directly., I tried the following in a class extending Session.

Wicket Ajax direction and roadmap regarding push-like updates

2012-02-02 Thread pkc
Please correct me if i'm wrong but it looks like 1.5 and 1.6 wicket will continue to use behaviors to work with ajax events driven by user events or timers. In the real world a lot of my ajax needs occur when i need to push back page state changes and don't want to write 100 lines of code with

Re: 1.5 Behaviors

2012-02-02 Thread nino martinez wael
Nope.. It's just this one, although there might be in a child though.. 2012/2/2 Michal Wegrzyn michal.wegr...@onior.com Are they any other behaviors attached? Best regards, Michal Wegrzyn -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent:

AjaxRadio

2012-02-02 Thread revenant
Hello! Thank you for great work! Why wicket 1.5.4 does not include default AjaxRadio component? I was really frustrating when I did not find it. This guy saved me: http://reachmnadeem.wordpress.com/2011/08/15/wicket-ajax-radio/ Maybe this class (Ajax) should be included in default wicket's

Re: Wicket Ajax direction and roadmap regarding push-like updates

2012-02-02 Thread Martin Grigorov
Hi, Correct me if I'm wrong but not many of the browsers (IE, I look at you) support modern technologies like WebSocket. Correct me if I'm wrong but not many web servers support WebSocket too, only Jetty and Glassfish support it. So we cannot add support for some browsers and/or some server and

Re: AjaxRadio

2012-02-02 Thread Martin Grigorov
Hi, All you need to do is to add org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior to the RadioChoice. On Thu, Feb 2, 2012 at 3:46 PM, revenant alex...@yandex.ru wrote: Hello! Thank you for great work! Why wicket 1.5.4 does not include default AjaxRadio component? I was

Re: Wicket Ajax direction and roadmap regarding push-like updates

2012-02-02 Thread pkc
Thanks for the reply. The direction I'm wondering about is kind of like chained ajax requests and responses. At the API level you would update some controls in the onClick(), then tell wicket to return the updated ajax targets by calling some API method that would block until the web browser

Re: Stateless and Ajax

2012-02-02 Thread vineet semwal
i am just now trying to program the same thing,this kind of is very tough to implement if not impossible.. i am adding the following things in url 1)replaced component markupid 2)replaced with component class name so as to instantiate the component that replaced old one but its

Re: Veil behavior of wicketstuff-minis

2012-02-02 Thread matteus
Someone can help with the veil behavior, because until now I could not make it works. Thankss. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4352522.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Stateless and Ajax

2012-02-02 Thread Igor Vaynberg
no, you are thinking in the right direction. this is why wicket's stateful model is better then stateless frameworks for complex UIs -igor On Thu, Feb 2, 2012 at 11:24 AM, vineet semwal vineetsemwal1...@gmail.com wrote: i am just now trying to program the same thing,this kind of is very

Re: Stateless and Ajax

2012-02-02 Thread vineet semwal
ha yeah i just now realized its nearly impossible to do complex things in stateless frameworks. thanks :) On Fri, Feb 3, 2012 at 1:03 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, you are thinking in the right direction. this is why wicket's stateful model is better then stateless

Re: Stateless and Ajax

2012-02-02 Thread Igor Vaynberg
its possible, but certainly nowhere as easy as Wicket makes it. -igor On Thu, Feb 2, 2012 at 11:45 AM, vineet semwal vineetsemwal1...@gmail.com wrote:  ha yeah i just now realized its nearly impossible to do complex things in stateless frameworks. thanks :) On Fri, Feb 3, 2012 at 1:03 AM,

Re: Google bot see my site with errors!!

2012-02-02 Thread Paolo
Alle mercoledì 01 febbraio 2012, Martin Grigorov ha scritto: I guess lingue is null here, i.e. there is no Accept-Language header. NPEs are easy to debug ;-) Thank you very much, I solved it by putting a if (lingua==null) { lingua = 0; } before the line with NPE: if (lingua.indexOf(en-tt)-1)

Re: Unnecessary 302 redirects in Wicket 1.5

2012-02-02 Thread TH Lim
I have compilation error with this statement. Any help here would be great. And I suppose I put this line of code at the end of my web page constructor, right? Martin Grigorov-4 wrote On Thu, Feb 2, 2012 at 1:27 PM, TH Lim lt;sshark@gt; wrote: Is it possible to set the redirect feature

Re: Unnecessary 302 redirects in Wicket 1.5

2012-02-02 Thread TH Lim
The compilation error was my fault. I tried and it didn't work. Probably I missed something. What I did was throw the RestartResponseException at the end of the said page and StackOverflowException was thrown, quite obvious to me what has happened. With my limited knowledge of Wicket internal

Re: Unnecessary 302 redirects in Wicket 1.5

2012-02-02 Thread Martin Grigorov
Can you share your code so we can take a look and help you ? On Fri, Feb 3, 2012 at 9:04 AM, TH Lim ssh...@gmail.com wrote: The compilation error was my fault. I tried and it didn't work. Probably I missed something. What I did was throw the RestartResponseException at the end of the said page