Re: AbortException

2010-02-07 Thread Martin Grigorov
throw new RestartResponseException(LinkPartners.class) On Sat, 2010-02-06 at 23:53 -0800, Douglas Ferguson wrote: I may be using this wrong, but my understanding was that if I wanted to redirect a user and hault execution of the current page I could do the following:

Re: [announce] better look modern css for wicket examples contest

2010-02-07 Thread nino martinez wael
Great. We need more people though to make it a real contest! :) And more focus on looks. 2010/2/6 Andrew Lombardi and...@mysticcoders.com I agree. I had a few moments tonight and put this together. It includes the standard wicket label message showing that Wicket is parsing properly. It

nested onclicks

2010-02-07 Thread Douglas Ferguson
I have a div that has an onclick and inside that div I have a link. If the link is clicked on there should be a different behavior than clicking on the div. I found this: http://markmail.org/message/2ps3auq3326zq3nq But it didn't work.. add(new AjaxLinkVoid(subLink){ private static final

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-07 Thread Alex Objelean
I've noticed that WICKET-2491 is marked as resolved. But I checked against latest version from branch-1.4.x and it doesn't seem to be fixed. Is the tested version wrong? Or should the issue be reopened? Alex Objelean Alexandru Objelean wrote: The wicket-1.4.6 release contains a fix for

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-07 Thread vineet semwal
afaik,it's working correctly after the fix(2717),atleast i can't reproduce the problem . On Sun, Feb 7, 2010 at 8:16 PM, Alex Objelean alex_objel...@yahoo.comwrote: I've noticed that WICKET-2717 is marked as resolved. But I checked against latest version from branch-1.4.x and it doesn't seem

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-07 Thread Alex Objelean
Have you tried to use latest version from branch-1.4.x? vineet semwal wrote: afaik,it's working correctly after the fix(2717),atleast i can't reproduce the problem . On Sun, Feb 7, 2010 at 8:16 PM, Alex Objelean alex_objel...@yahoo.comwrote: I've noticed that WICKET-2717 is marked

Re: [announce] better look modern css for wicket examples contest

2010-02-07 Thread Andrew Lombardi
This isn't a modification for all the wicket examples, this is just for the maven archetype, the examples are a much larger undertaking. Focus here was to make it simple, and provide some references that people could find useful. There's no reason to extrapolate out and design a crazy

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-07 Thread vineet semwal
yes i am using 1.4.x,do you still see the broken link in the quickstart i have posted? the link will be broken in the quickstart if you click on the button in 1.4.6 but after the fix in 1.4.x it's working correctly. On Sun, Feb 7, 2010 at 9:25 PM, Alex Objelean alex_objel...@yahoo.comwrote:

Re: [announce] better look modern css for wicket examples contest

2010-02-07 Thread Riyad Kalla
or a ton of apps that look a lot alike :) On Sun, Feb 7, 2010 at 9:20 AM, Andrew Lombardi and...@mysticcoders.com wrote: This isn't a modification for all the wicket examples, this is just for the maven archetype, the examples are a much larger undertaking. Focus here was to make it simple,

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-07 Thread Alex Objelean
Hmm... I didn't try your quickstart, I thought it was exactly the same as mine. It is very probable that there is another use-case which is broken.. I'll investigate it eventually post another quickstart. Alex Objelean vineet semwal wrote: yes i am using 1.4.x,do you still see the broken

Re: Wicket best practice

2010-02-07 Thread Scott Swank
If you just want to navigate from PageA to PageB then a wicket:link is fine, though I rarely use them. If you want to have more involved processing then a Link object is preferable: thePage.add(new Link(someId) { public void onClick() { doThis(); validateThat(); // either

best practice for a simple menu

2010-02-07 Thread Andreas Lüdtke
I'm relatively new to wicket and I want to build a menu in my webapp that looks similar to the menu of xing (start search messages...). My existing webapp has an abstract base page with a header panel and a footer panel. Inbetween is the body for the real pages. This works so far, but I have

Re: AbortException

2010-02-07 Thread Douglas Ferguson
I tried that and it doesn't redirect, it throws the error back up and renders our error page org.apache.wicket.RestartResponseException:null On Feb 7, 2010, at 2:20 AM, Martin Grigorov wrote: throw new RestartResponseException(LinkPartners.class) On Sat, 2010-02-06 at 23:53 -0800,

Re: AbortException

2010-02-07 Thread Douglas Ferguson
This was some really silly stuff in our code.. https://buzzstream2.fogbugz.com/default.asp?5102#31036 On Feb 7, 2010, at 2:20 AM, Martin Grigorov wrote: throw new RestartResponseException(LinkPartners.class) On Sat, 2010-02-06 at 23:53 -0800, Douglas Ferguson wrote: I may be using this

setResponsePage in AjaxButton after uploading a File

2010-02-07 Thread Doug Leeper
I have a simple form that has a file selection component and a submit button. I would like to submit via Ajax and then call setResponsePage if successful. The file is submitted/received fine but the setResponsePage does nothing. The Wicket Debug window indicates that there was an error

Re: How to change content in ModalWindow

2010-02-07 Thread Fernando Wermus
Chris, I have the same problem when switching content into a modal window. It appears a modal window blank content too. Do you have solved it? thanks in advance. On Mon, Jan 25, 2010 at 3:03 PM, Chris Colman chr...@stepaheadsoftware.comwrote: My use case might explain the situation

Re: How to change content in ModalWindow

2010-02-07 Thread Fernando Wermus
In my case, I do activate the modalWindow doing, modalWindow.show but It seems to have the same problem. On Sun, Feb 7, 2010 at 11:22 PM, Fernando Wermus fernando.wer...@gmail.comwrote: Chris, I have the same problem when switching content into a modal window. It appears a modal window

Re: Wicket best practice

2010-02-07 Thread Jeremy Thomerson
Look at jWeekend's LegUp as an example of a working app: http://www.jweekend.com/dev/LegUp However, with no offense intended, here's my $0.02 Creating a Wicket app for people from a spec file is a great idea. But doing it without understanding how Wicket works is a bad idea. You'll likely

Loading properties file while using Spring @L

2010-02-07 Thread Alec Swan
I use Wicket, Spring and wicket-spring extensions. Spring configuration loads properties from config/env.properties file using PropertyPlaceholderConfigurer. I would like to add more properties to this file and read them from my Wicket application class. I tried to inject a Spring Resource using

Re: Wicket best practice

2010-02-07 Thread Steve Swinsburg
Another example of an app builder is the Sakai App Builder, which is an Eclipse plugin for quickly creating an example tool/app integrated into the Sakai Framework. http://confluence.sakaiproject.org/display/BOOT/Sakai+App+Builder It allows you to select from a number of view technologies

Re: Wicket best practice

2010-02-07 Thread Vineet Manohar
Hi Jeremy, Thanks for the link, I'll look into it. I agree with you completely that the best practices of Wicket should be baked into the code generator. My goal is to create a free open source framework which lets users generate Wicket apps. I am trying to create an initial code generator for

RE: How to change content in ModalWindow

2010-02-07 Thread Chris Colman
No I couldn't manage to get it working so I tried a completely different approach. I ended up putting both the 'log in' and the 'create account' panels in the same modal window using a TabbedPanel... at least it works that way ;) Chris Chris, I have the same problem when switching content

modal window and changing content

2010-02-07 Thread Fernando Wermus
Hi all, I have a problem using one modal window with several links which change the modal window content. Despite I do change window modal content panel for another panel before showing it, the modal window shows blank. I was trying to reproduce this behavior in a quick start without luck. I

Wicket Layout

2010-02-07 Thread Josh Kamau
Hi guys; I think wicket is the best java web framework out there. However , i really would like be to able to create a layout like this : http://demos.dojotoolkit.org/demos/mail/ Does the current dojo integration support this. Is it possible to create such a layout with vanilla wicket?

Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
it's definitely an involved layout ... but nothing here looks out of the question. tabbedpanel's for Inbox | Contacts the tree from wicket-extensions for the folder viewer the datatable from wicket-extensions for the lsit of messages there are modal windows, all available so yes, wicket should

Re: Wicket Layout

2010-02-07 Thread Josh Kamau
Andrew ; How about the splitPanel ? and the accordion? On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi and...@mysticcoders.comwrote: it's definitely an involved layout ... but nothing here looks out of the question. tabbedpanel's for Inbox | Contacts the tree from wicket-extensions for

Re: Wicket best practice

2010-02-07 Thread Jeremy Thomerson
Wicket in Action is the best. Make sure that you really grasp the power behind models (the IModel interface implementations) and especially detachable models (i.e. LoadableDetachableModel). Don't just shove big collections of domain objects into the page or repeating views just because you can.

Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
not sure about accordion or split panel, you can definitely split panels in various ways but to make them resizable would be more of a challenge. might look at some of the integrations with jquery or yui. I believe both of those frameworks have something similar, and I'd guess the respective

Example for Combobox wanted

2010-02-07 Thread Peter Diefenthaeler
Hi, I'm looking for an example of a ComboBox which is a combination of a textfield and DropDownChoice. It should be possible to type in a new value and submit it, or to select from the values in the DropDownChoice and submit it. The AJAX autocomplete example seems to be good, but you have to type

Re: Loading properties file while using Spring @L

2010-02-07 Thread Igor Vaynberg
map the properties to a bean and inject that -igor On Sunday, February 7, 2010, Alec Swan alecs...@gmail.com wrote: I use Wicket, Spring and wicket-spring extensions. Spring configuration loads properties from config/env.properties file using PropertyPlaceholderConfigurer. I would like to add

Re: [announce] better look modern css for wicket examples contest

2010-02-07 Thread nino martinez wael
Yeah I know. But some would probably use it as a starting point in design as well. 2010/2/7 Andrew Lombardi and...@mysticcoders.com This isn't a modification for all the wicket examples, this is just for the maven archetype, the examples are a much larger undertaking. Focus here was to make

Re: [announce] better look modern css for wicket examples contest

2010-02-07 Thread Andrew Lombardi
Design as in programming? or design as in graphical? I think the intent I gathered from mbrictson was to put a semi-nicer look on a plain page, and provide useful links for new folks. Things like the examples which should be perused a lot while first learning Wicket. It's a quickstart, it