Re: Wicket 1.4.8

2010-05-02 Thread Jeremy Thomerson
I just looked back at the history of that issue (WICKET-2761). It seems that Juergen applied the patch to the 1.4.x branch (which would eventually be released as 1.4.8) on March 13th, but did not close the ticket because it wasn't fixed in trunk. When Igor fixed it in trunk and closed it a few

The better way tp add component directly

2010-05-02 Thread Eyal Golan
Hello, I have a situation that I am adding to Panel a Component. This component can actually be of several other panels (there's a factory that returns the correct Panel according to an enum). The Main (parent) panel can be changed via ajax. The ajax might change the enum type. In order to solve

Re: The better way tp add component directly

2010-05-02 Thread Uwe Schäfer
Am 02.05.2010 15:44, schrieb Eyal Golan: The Main (parent) panel can be changed via ajax. The ajax might change the enum type. if you change it at runtime, would you not want to replace, instead of add? cu uwe - To

Re: The better way tp add component directly

2010-05-02 Thread Eyal Golan
actually we do call the addOrReplace method (I copied it incorrectly). However, the question remains, is there a different way of doing it other than in the onBeforeRender ? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P

Re: The better way tp add component directly

2010-05-02 Thread Erik van Oosten
Hi Eyal, I think that the best time to execute this code is inside the Ajax callback method. Perhaps you'll need to set up some kind of notification (event) mechanism. Regards, Erik. Op 02-05-10 16:25, Eyal Golan schreef: actually we do call the addOrReplace method (I copied it

SV: Error out in middle of page without filling in remaining components

2010-05-02 Thread Wilhelmsen Tor Iver
Let's say you encounter an error halfway through the constructor of a page, and you want to display error(error message) and then return without processing rest of components? It doesn't seem like this is possible in wicket because it makes you fill in all components or else it barfs. Am I

Re: GAE serialization issues

2010-05-02 Thread Joe Fawzy
Hi dear thanks for the reply i 'm in the first steps of application deployment on appengine with no problems so far with my manual testing and with jmeter if u have any tips or hints , that will be greatly appreciated Thanks Joe On Thu, Apr 29, 2010 at 5:30 PM, jbrookover jbrooko...@cast.org

posting form outside wicket

2010-05-02 Thread Joe Fawzy
Hi i have a form that i want to post its data to a page outside wicket , actually on other server ,done in ruby i wanna make use of wicket form handling,model binding and validation... etc. and when i click submit , the data sent to the other page using a post thanks in advance Joe

Re: posting form outside wicket

2010-05-02 Thread Igor Vaynberg
use commons http client to issue an http post to the external server -igor On Sun, May 2, 2010 at 3:10 PM, Joe Fawzy joewic...@gmail.com wrote: Hi i have a form that i want to post its data to a page outside wicket , actually on other server ,done in ruby i wanna make use of wicket form

Re: posting form outside wicket

2010-05-02 Thread Joe Fawzy
Hi dear thanks for the prompt reply aren't there any wicket method to do that? then i have to cycle through all my form fields and get their params name and values ,build a string ,make the request OR there is a shortcut thanks Joe On Mon, May 3, 2010 at 1:14 AM, Igor Vaynberg

Re: posting form outside wicket

2010-05-02 Thread Jeremy Thomerson
Wicket is for creating web applications - not consuming them. So, you handle all of the form processing, validation, etc, all through Wicket. Then in your onSubmit, you need to consume a different application. Wicket's not built for that part. HttpClient is. -- Jeremy Thomerson

Re: posting form outside wicket

2010-05-02 Thread Joe Fawzy
OK, got it thanks Joe On Mon, May 3, 2010 at 1:22 AM, Jeremy Thomerson jer...@wickettraining.comwrote: Wicket is for creating web applications - not consuming them. So, you handle all of the form processing, validation, etc, all through Wicket. Then in your onSubmit, you need to consume a

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-02 Thread Martin Zardecki
The point isn't whether it's done in a link or a checkbox, the point is more about making it easier to select a number of objects. If the user is presented with a large number of objects and we want to make it easier to select or pick a number of them without having to click each one then

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-02 Thread Igor Vaynberg
no, but there is a lot of well known js snippets that enable shift clicking on checkboxes. -igor On Sun, May 2, 2010 at 3:52 PM, Martin Zardecki mpza...@truecool.com wrote: The point isn't whether it's done in a link or a checkbox, the point is more about making it easier to select a number