Re: dialog

2010-08-18 Thread julien roche AKA indiana_jules
Hi, For wiQuery, you can find the sources on the following link: http://code.google.com/p/wiquery/source/browse/#svn/examples/wiquery-examples To see dialogs examples: http://code.google.com/p/wiquery/source/browse/#svn/examples/wiquery-examples/src/main/java/org/odlabs/wiquery/examples/dialog

Page expired with Panel Replacement without Cookie Support

2010-08-18 Thread bht
Hi, I switched off cookie suport in FireFox 3.6.3 to test whether an application still works via URL rewriting: In FireFox Tools|Option|Privacy|History|FireFox will:Use Custom Settings for History|Uncheck Accept Cookies from Sites Then with the most basic panel replacement (no AJAX), I always

Re: Page expired with Panel Replacement without Cookie Support

2010-08-18 Thread bht
Hi, I filed a testcase here: https://issues.apache.org/jira/browse/WICKET-3000 Bernard On Wed, 18 Aug 2010 20:47:22 +1200, you wrote: Hi, I switched off cookie suport in FireFox 3.6.3 to test whether an application still works via URL rewriting: In FireFox

Re: AjaxFormSubmitBehavior causes serialization issues inside onBeforeRender()

2010-08-18 Thread allgo
Thanks a lot Igor. That explains it all. I was able to fix it today by using visitChildren(ChildPanel.class, new IVisitorComponent()) instead of visitChildren( new IVisitorComponent()) I guess, else it tries to add teh behaviour to all objects up the hierarchy instead of restricting itself to

Re: Problem with page being redirected/loaded over and over again

2010-08-18 Thread Laurentiu Trica
Thanks, it seems I had an iframe which behaved badly after applying the locale URL coding strategy from the tutorial. Instead of iframe frameborder=0 scrolling=no id='moviiframe' src=, the output was iframe frameborder=0 scrolling=no id='moviiframe' src=../ which led to a call to localhost:8080/

1.5-M1 migration issue - IConverter / wicket-util missing?

2010-08-18 Thread Daniel Soneira
Hi fellow wicketeers, I've just downloaded the latest milestone release of wicket (1.5-M1) from http://www.apache.org/dyn/closer.cgi/wicket/1.5-M1. I'm using the following JARs: - wicket-1.5-M1.jar - wicket-extensions-1.5-M1.jar - wicket-ioc-1.5-M1.jar - wicket-spring-1.5-M1.jar I

Re: 1.5-M1 migration issue - IConverter / wicket-util missing?

2010-08-18 Thread Martin Grigorov
There is a ticket for that. It will be fixed for 1.5-M2. On Wed, Aug 18, 2010 at 2:43 PM, Daniel Soneira daniel.sone...@joyn-it.atwrote: Hey there, I kindly disagree. wicket-util-1.5-M1.jar (and wicket-request?) should be part of the zipped distribution (within the lib directory). I've

Re: Object AutoComplete -Clear Input

2010-08-18 Thread Pedro Santos
IModel#setObject On Wed, Aug 18, 2010 at 11:33 AM, Alis ajcalve...@yahoo.es wrote: Hello! I need help. How do i clear input the user in the autocomplete? With what method? Thank you! -- View this message in context:

1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Daniel Soneira
Why does AjaxRequestTarget.get() not behave like in 1.4.10? Code: -- ... new AjaxLinkVoid(link) { @Override public void onClick(AjaxRequestTarget target) { feedback(link clicked); } } public void feedback(String message) { info(message);

Re: CloseButtonCallback questions

2010-08-18 Thread James Carman
You can have a variable that contains an indication that something was done. In the CloseButtonCallback you clear that variable and in the WindowClosedCallback you check to see whether that variable reports that something was done. If it was, you report to the calling page. For me, the variable

Re: 1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Igor Vaynberg
sounds like a bug, open a jira ticket please. -igor On Wed, Aug 18, 2010 at 8:51 AM, Daniel Soneira daniel.sone...@joyn-it.at wrote:  Why does AjaxRequestTarget.get() not behave like in 1.4.10? Code: -- ... new AjaxLinkVoid(link) {   �...@override    public void

Re: 1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Daniel Soneira
There you go: https://issues.apache.org/jira/browse/WICKET-3001 Kind regards, Daniel On 18.08.2010 18:15, Igor Vaynberg wrote: sounds like a bug, open a jira ticket please. -igor On Wed, Aug 18, 2010 at 8:51 AM, Daniel Soneira daniel.sone...@joyn-it.at wrote: Why does

can I enable/disable submit button while customer working on form?

2010-08-18 Thread Chris Merrill
I tried overriding FormComponent.onValid() like this: TextFieldString name_field = new TextFieldString(name, _name) { @Override protected void onValid() { super.onValid(); _delete_button.setEnabled(true);

problem with dropdownchoice and setType(Integer.class)

2010-08-18 Thread Jarkko Rantamaki
Hello! I got confused on what is the intended behavior of the dropdownchoice with integers. I wanted to create a dropdownchoice, which would list a range of integers for user to select. It seems to me, that if I call the setType(Integer.class), then it changes the way it is processed when I

Problem AjaxFormChoiceComponentUpdatingBehavior IE7

2010-08-18 Thread Vladimir V. Bychkov
Hello. Sorry my bad english. Component RadioChoice with AjaxFormChoiceComponentUpdatingBehavior has different behavior in Firefox and IE7. Source: public class TestPage extends WebPage { private ListInteger values = Arrays.asList(-1,

Re: Custom AJAX component...

2010-08-18 Thread Erik Brakkee
Hi Ernesto, The approach you suggest does fit my needs, especially if I can send XML content from the browser to the server. I am exploring possibilities and one of those is using wicketAjaxPost(). The other one is the jqgrid approach which might be more flexible. I cannot quite understand how

Re: Custom AJAX component...

2010-08-18 Thread Erik Brakkee
I have been looking at the example from jqgrid and as far as I can understand the resource listener is used to stream back the XML content as CDATA from the server to the browser. However, I cannot see how it would be possible to stream back XML from the browser to the server. One way I can

Re: wicket-extensions alive?

2010-08-18 Thread Jeremy Thomerson
On Mon, Aug 16, 2010 at 2:46 PM, gnugrf gnu...@sdf.lonestar.org wrote: ok, I had read that in a post from several years ago, it just didnt make sense to me, because I thought alive and well would mean that is has some ability to work with a more current version of wicket. a bit misleading

dynamically adding validators to TextFields in a ListView

2010-08-18 Thread Warren Bell
I have a ListView that adds one TextField to each ListItem. These TextFields need to have different types of validators added to them depending on a condition. One TextField in the first ListItem may need an email validator while the TextField in the next ListItem may need a number range validator

Re: dynamically adding validators to TextFields in a ListView

2010-08-18 Thread Igor Vaynberg
whatever is creating the textfield should add the appropriate validator -igor On Wed, Aug 18, 2010 at 10:01 PM, Warren Bell warr...@clarksnutrition.com wrote: I have a ListView that adds one TextField to each ListItem. These TextFields need to have different types of validators added to them