Re: Wicket 1.4.8
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 days later, he simply missed adding 1.4.8 as a fix version. So, it didn't appear in the JIRA search, and therefore was missed when the changelog was created. I have updated the issue so that it now appears in the JIRA search. I'm not going to change the release notes on the SVN tag since that should just be a static tag of what was actually released at 1.4.8, and shouldn't be modified post-release. -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 2, 2010 at 12:57 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Hmm... so is the list not entirely correct? I don't see any mention of the recently discussed InjectorHolder. https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.8/CHANGELOG-1.4 On May 2, 2010, at 12:30 AM, Jeremy Thomerson wrote: They were referenced in Igor's first vote email. Here's his link to the issue list: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310561fixfor=12314811 Changelog is always in SVN root. He had the link to the branch in the email. Here's the link directly to the changelog file. https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.8/CHANGELOG-1.4 -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 2, 2010 at 12:20 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Where can I find the official release notes for Wicket 1.4.8? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
The better way tp add component directly
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 it, I am adding the specific (inner) panel in the onBeforeRender method: @Override protected void onBeforeRender() { Component component = myFactory.createSpecificCompnent(myComp, enumValue); add(component); } Is this the best and correct way doing that? Thanks, Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary
Re: The better way tp add component directly
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 unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: The better way tp add component directly
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 Save a tree. Please don't print this e-mail unless it's really necessary 2010/5/2 Uwe Schäfer u...@thomas-daily.de 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 unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: The better way tp add component directly
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 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 Save a tree. Please don't print this e-mail unless it's really necessary 2010/5/2 Uwe Schäferu...@thomas-daily.de 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 -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
SV: Error out in middle of page without filling in remaining components
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 wrong, or is there a way to do this in wicket? 1) Ideally, a constructor does NOTHING other than - validate arguments, and throw necessary exception if they are wrong - set properties (no side-effects) that will be used by other business methods later In Wicket, Swing etc., the latter also covers setting up component hierarchies. So actual errors should only appear later, e.g. as a consequence of a LDM failing to connect to a database at render time. 2) If that is not an option, the way to interrupt a constructor is the same way as for any other method, throw and exception. For instance a WicketRuntimeException. - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GAE serialization issues
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 wrote: I can only say that I've been using Wicket on GAE for awhile and it seems to work pretty well, with some extra effort. For now, I'm just using HttpSessionStore. I asked in the GAE forums about the performance there and they said session storage made heavy use of the MemCache to keep performance strong. It is possible that Wicket can store very LARGE objects in the SessionStore, but that may be an indication of poor page detaching. After making that improvement, my session data rarely exceeds 100K. I may try out a pure MemCache version based on the link you provided, see if I can get it lower and less dependent on the session. The only other serialization issues I've noticed deal with changing model objects across requests - I instead am forced to replace components on occasion, instead of replacing model objects. That's a hack right now and I'll look into it later. Don't know anything about JBoss. Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/GAE-serialization-issues-tp2068427p2075571.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
posting form outside wicket
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
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 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: posting form outside wicket
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 igor.vaynb...@gmail.comwrote: 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 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: posting form outside wicket
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 http://www.wickettraining.com On Sun, May 2, 2010 at 5:19 PM, Joe Fawzy joewic...@gmail.com wrote: 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 igor.vaynb...@gmail.com wrote: 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 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: posting form outside wicket
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 different application. Wicket's not built for that part. HttpClient is. -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 2, 2010 at 5:19 PM, Joe Fawzy joewic...@gmail.com wrote: 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 igor.vaynb...@gmail.com wrote: 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 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to do an AjaxLink shiftOnclick behaviour?
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 shift-clicking seems like a good way to do it whether it's a link or a checkbox. From what I can tell Wicket CheckBoxes do not have explicit support for shift clicking any more than Links do. On 2010-05-02, at 4:29 PM, users-digest-h...@wicket.apache.org wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Date: May 1, 2010 2:25:25 PM MDT To: users@wicket.apache.org Subject: Re: How to do an AjaxLink shiftOnclick behaviour? thats what checkboxes are for -igor On Sat, May 1, 2010 at 8:23 AM, Martin Zardecki mpza...@truecool.com wrote: Hi List, I have an AjaxLink where I use onClick and everything works well but I'd like to add a separate behaviour when the user shift-clicks the link. The idea is to achieve something similar to when using a Explorer in Windows or in any file picker where a single click selects one item whereas shift-clicking selects multiple items. I can probably achieve this using brute force where I add some JS to my link then use wicketAjaxGet to callback to an AbstractDefaultAjaxBehavior but I was wondering if there was a way to do this nicely and cleanly. I had a quick look at InputBehavior from Wicket contrib but it doesn't look like that will do the trick. Any advice or tips appreciated. Thanks list. Martin
Re: How to do an AjaxLink shiftOnclick behaviour?
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 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 shift-clicking seems like a good way to do it whether it's a link or a checkbox. From what I can tell Wicket CheckBoxes do not have explicit support for shift clicking any more than Links do. On 2010-05-02, at 4:29 PM, users-digest-h...@wicket.apache.org wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Date: May 1, 2010 2:25:25 PM MDT To: users@wicket.apache.org Subject: Re: How to do an AjaxLink shiftOnclick behaviour? thats what checkboxes are for -igor On Sat, May 1, 2010 at 8:23 AM, Martin Zardecki mpza...@truecool.com wrote: Hi List, I have an AjaxLink where I use onClick and everything works well but I'd like to add a separate behaviour when the user shift-clicks the link. The idea is to achieve something similar to when using a Explorer in Windows or in any file picker where a single click selects one item whereas shift-clicking selects multiple items. I can probably achieve this using brute force where I add some JS to my link then use wicketAjaxGet to callback to an AbstractDefaultAjaxBehavior but I was wondering if there was a way to do this nicely and cleanly. I had a quick look at InputBehavior from Wicket contrib but it doesn't look like that will do the trick. Any advice or tips appreciated. Thanks list. Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org